2022-06-20 11:05:10 +08:00
|
|
|
|
|
|
|
|
|
[key]
|
2023-05-17 18:38:47 +08:00
|
|
|
|
#funasr / ali
|
|
|
|
|
ASR_mode = ali
|
|
|
|
|
#ASR二选一(需要运行fay/test/funasr服务)集成达摩院asr项目、感谢中科大脑算法工程师张聪聪提供集成代码
|
2023-06-21 17:54:26 +08:00
|
|
|
|
local_asr_ip=192.168.1.13
|
2023-05-17 18:38:47 +08:00
|
|
|
|
local_asr_port=10197
|
|
|
|
|
|
|
|
|
|
# ASR二选一(第1次运行建议用这个,免费3个月), 阿里云 实时语音识别 服务密钥(必须)https://ai.aliyun.com/nls/trans
|
2022-06-20 11:05:10 +08:00
|
|
|
|
ali_nls_key_id=
|
|
|
|
|
ali_nls_key_secret=
|
|
|
|
|
ali_nls_app_key=
|
|
|
|
|
|
2023-05-17 18:38:47 +08:00
|
|
|
|
|
2023-04-13 09:44:36 +08:00
|
|
|
|
# 微软 文字转语音 服务密钥(非必须,使用可产生不同情绪的音频)https://azure.microsoft.com/zh-cn/services/cognitive-services/text-to-speech/
|
2022-06-20 11:05:10 +08:00
|
|
|
|
ms_tts_key=
|
2022-10-17 11:32:51 +08:00
|
|
|
|
ms_tts_region=
|
2022-06-20 11:05:10 +08:00
|
|
|
|
|
2023-04-13 09:44:36 +08:00
|
|
|
|
# 讯飞 情绪分析 服务密钥 https://www.xfyun.cn/service/emotion-analysis/
|
2023-05-27 17:03:43 +08:00
|
|
|
|
xf_ltp_app_id=
|
|
|
|
|
xf_ltp_api_key=
|
2023-02-10 19:50:47 +08:00
|
|
|
|
|
2023-08-24 10:02:24 +08:00
|
|
|
|
#NLP多选一:lingju、yuan、gpt、chatgpt、rasa、chatglm2、VisualGLM、rwkv_api、rwkv
|
|
|
|
|
chat_module=rwkv_api
|
2023-02-10 19:50:47 +08:00
|
|
|
|
|
2023-07-05 22:21:20 +08:00
|
|
|
|
#灵聚 服务密钥(NLP多选1) https://open.lingju.ai
|
|
|
|
|
lingju_api_key=
|
|
|
|
|
lingju_api_authcode=
|
2022-06-20 11:05:10 +08:00
|
|
|
|
|
2023-07-05 22:21:20 +08:00
|
|
|
|
#浪.潮源大模型 服务密钥(NLP多选1) https://air.inspur.com/
|
2023-05-17 18:38:47 +08:00
|
|
|
|
yuan_1_0_account=
|
2023-02-10 19:50:47 +08:00
|
|
|
|
yuan_1_0_phone=
|
|
|
|
|
|
2023-07-05 22:21:20 +08:00
|
|
|
|
#gpt 服务密钥(NLP多选1) https://openai.com/
|
2023-02-10 19:50:47 +08:00
|
|
|
|
chatgpt_api_key=
|
2023-01-31 12:40:36 +08:00
|
|
|
|
|
2023-07-05 22:21:20 +08:00
|
|
|
|
#ChatGPT对接(NLP多选1)(非必须,https://chat.openai.com登录后访问https://chat.openai.com/api/auth/session获取)
|
2023-05-19 18:12:02 +08:00
|
|
|
|
gpt_access_token=
|
2023-06-21 17:54:26 +08:00
|
|
|
|
gpt_conversation_id=
|
2023-07-28 18:22:44 +08:00
|
|
|
|
|
|
|
|
|
#gpt代理(可为空,填写例子:http://127.0.0.1:7890)
|
2023-07-05 22:21:20 +08:00
|
|
|
|
proxy_config=http://127.0.0.1:7890
|
|
|
|
|
|
|
|
|
|
#ngrok内网穿透id,远程设备可以通过互联网连接Fay(非必须)http://ngrok.cc
|
|
|
|
|
ngrok_cc_id=
|
2023-06-28 19:44:34 +08:00
|
|
|
|
|