|
17 | 17 | "open_ai_api_base": "https://api.openai.com/v1", |
18 | 18 | "proxy": "", # openai使用的代理 |
19 | 19 | # chatgpt模型, 当use_azure_chatgpt为true时,其名称为Azure上model deployment名称 |
20 | | - "model": "gpt-3.5-turbo", # 支持ChatGPT、Claude、Gemini、文心一言、通义千问、Kimi、讯飞星火、智谱、LinkAI等模型,模型具体名称详见common/const.py文件列出的模型 |
| 20 | + "model": "gpt-3.5-turbo", # 可选择: gpt-4o, gpt-4-turbo, claude-3-sonnet, wenxin, moonshot, qwen-turbo, xunfei, glm-4, minimax, gemini等模型,全部可选模型详见common/const.py文件 |
21 | 21 | "bot_type": "", # 可选配置,使用兼容openai格式的三方服务时候,需填"chatGPT"。bot具体名称详见common/const.py文件列出的bot_type,如不填根据model名称判断, |
22 | 22 | "use_azure_chatgpt": False, # 是否使用azure的chatgpt |
23 | 23 | "azure_deployment_id": "", # azure 模型部署名称 |
|
96 | 96 | "voice_reply_voice": False, # 是否使用语音回复语音,需要设置对应语音合成引擎的api key |
97 | 97 | "always_reply_voice": False, # 是否一直使用语音回复 |
98 | 98 | "voice_to_text": "openai", # 语音识别引擎,支持openai,baidu,google,azure |
99 | | - "text_to_voice": "openai", # 语音合成引擎,支持openai,baidu,google,pytts(offline),azure,elevenlabs,edge(online) |
| 99 | + "text_to_voice": "openai", # 语音合成引擎,支持openai,baidu,google,pytts(offline),ali,azure,elevenlabs,edge(online) |
100 | 100 | "text_to_voice_model": "tts-1", |
101 | 101 | "tts_voice_id": "alloy", |
102 | 102 | # baidu 语音api配置, 使用百度语音识别和语音合成时需要 |
|
0 commit comments