bugfix for azure chatgpt adapting

This commit is contained in:
yubai
2023-04-09 15:36:03 +08:00
parent bf4ae9a051
commit 89e8f385b4
4 changed files with 9 additions and 6 deletions

View File

@@ -16,6 +16,7 @@ available_setting = {
# chatgpt模型 当use_azure_chatgpt为true时其名称为Azure上model deployment名称
"model": "gpt-3.5-turbo",
"use_azure_chatgpt": False, # 是否使用azure的chatgpt
"azure_deployment_id": "", #azure 模型部署名称
# Bot触发配置
"single_chat_prefix": ["bot", "@bot"], # 私聊时文本需要包含该前缀才能触发机器人回复