olivebot/system.conf
xszyou 77b2c0a479 2023.02.10
1、加入了NLP三选一:xfaiui、yuan、chatgpt;
2、修复由pyaudio bug导致的录音错误;
3、修改远程音频输入输出设备同时只允许连1个;
2023-02-10 19:50:47 +08:00

35 lines
688 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[system]
# ChromeDriver 路径(必须)
chrome_driver=./bin/chromedriver.exe
[key]
# 阿里云 实时语音识别 服务密钥(必须)
ali_nls_key_id=
ali_nls_key_secret=
ali_nls_app_key=
# 微软 文字转语音 服务密钥(必须)
ms_tts_key=
ms_tts_region=
# 讯飞 情绪分析 服务密钥
xf_ltp_app_id=
xf_ltp_api_key=
#NLP三选一:xfaiui、yuan、chatgpt
chat_module=xfaiui
# 讯飞 自然语言处理 服务密钥(NLP3选1)
xf_aiui_app_id=
xf_aiui_api_key=
#yuan_1_0 对话机器人 服务密钥(NLP3选1)
yuan_1_0_account=
yuan_1_0_phone=
#chatgpt 对话机器人 服务密钥(NLP3选1)
chatgpt_api_key=
#ngrok.cc 内网穿透id非必须
ngrok_cc_id=