olivebot/system.conf
2024-02-21 15:44:42 +08:00

50 lines
1.6 KiB
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.

[key]
#funasr / ali
ASR_mode = ali
#ASR二选一需要运行fay/test/funasr服务集成达摩院asr项目、感谢中科大脑算法工程师张聪聪提供集成代码
local_asr_ip=127.0.0.1
local_asr_port=10197
# ASR二选一第1次运行建议用这个免费3个月 阿里云 实时语音识别 服务密钥必须https://ai.aliyun.com/nls/trans
ali_nls_key_id=
ali_nls_key_secret=
ali_nls_app_key=
# 微软 文字转语音 服务密钥非必须使用可产生不同情绪的音频https://azure.microsoft.com/zh-cn/services/cognitive-services/text-to-speech/
ms_tts_key=
ms_tts_region=
#情绪分析选择(xf,cemotion二选一建议第一次运行cemotion时先运行/test/test_cemotion.py去下载所需文件)
ltp_mode = xf
# 讯飞 情绪分析 服务密钥 https://www.xfyun.cn/service/emotion-analysis/
xf_ltp_app_id=
xf_ltp_api_key=
#NLP多选一:lingju、yuan、gpt、rasa、chatglm2、VisualGLM、rwkv_api、rwkv、fastgpt
chat_module=rwkv_api
#灵聚 服务密钥(NLP多选1) https://open.lingju.ai
lingju_api_key=
lingju_api_authcode=
#浪.潮源大模型 服务密钥(NLP多选1) https://air.inspur.com/
yuan_1_0_account=
yuan_1_0_phone=
#gpt 服务密钥(NLP多选1) https://openai.com/
chatgpt_api_key=
#fastgpt 服务密钥(NLP多选1) https://fastgpt.run/
fast_gpt_key=
#是否开启gpt(fastgpt)代理访问比如本地有加速器则为0
is_proxy=1
#gpt(fastgpt)代理(可为空填写例子127.0.0.1:7890)
proxy_config=127.0.0.1:7890
#ngrok内网穿透id远程设备可以通过互联网连接Fay非必须http://ngrok.cc
ngrok_cc_id=