new_wukong/config/dashscope.yml
2024-07-10 20:45:16 +08:00

22 lines
650 B
YAML

# dashscope.yml
root_path: ../src/offical
paraformer:
path: dashscope/paraformer
class_name: ASRParaformer
api_key: ${DASH_SCOPE_API_KEY} # must be set when using this api
model_name: paraformer-v1 # you can change it
tongyiqianwen:
path: requests/tongyiqianwen
class_name: ChatAiTongYiQianWen
api_key: ${DASH_SCOPE_API_KEY} # must be set when using this api
model_name: qwen2-1.5b-instruct # you can change it
is_stream: true
sambert:
path: dashscope/sambert
class_name: TTSSambert
api_key: ${DASH_SCOPE_API_KEY} # must be set when using this api
model_name: sambert-zhichu-v1 # you can change it