77 Star 755 Fork 308

xszyou / fay

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
system.conf 2.05 KB
一键复制 编辑 原始数据 按行查看 历史
[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=
#情绪分析选择(baidu(服务秘钥为空时,默认不使用情绪分析),cemotion二选一(建议第一次运行cemotion时,先运行/test/test_cemotion.py去下载所需文件))
ltp_mode = baidu
#百度 情绪分析 服务秘钥 https://cloud.baidu.com/
baidu_emotion_app_id=
baidu_emotion_api_key=
baidu_emotion_secret_key=
#NLP多选一:lingju、gpt、rasa、VisualGLM、rwkv、xingchen、langchain 、ollama_api
chat_module= gpt
#灵聚 服务密钥(NLP多选1) https://open.lingju.ai
lingju_api_key=
lingju_api_authcode=
#gpt 服务密钥(NLP多选1) https://openai.com/
gpt_api_key=
#gpt base url 如:https://api.openai.com/v1、https://rwkv.ai-creator.net/chntuned/v1、https://api.fastgpt.in/api/v1
gpt_base_url=https://rwkv.ai-creator.net/chntuned/v1
#gpt model engine 如:gpt-3.5-turbo
gpt_model_engine=gpt-3.5-turbo
#是否开启gpt(fastgpt)代理访问,比如本地有加速器,则为0
is_proxy=0
#gpt(fastgpt)代理(可为空,填写例子:127.0.0.1:7890)
proxy_config=127.0.0.1:7890
#通义星尘 服务密钥(NLP多选1) https://xingchen.aliyun.com/
xingchen_api_key=
xingchen_characterid=
#ollama服务 (NLP多选1)
#ollama_ip 可以填写 127.0.0.1 或者 localhost
ollama_ip = localhost
#ollama_model 可以填写 qwen:latest , llama2:latest , yi:lastest , pi:latest , gemma:latest
ollama_model = gemma:latest
#ngrok内网穿透id,远程设备可以通过互联网连接Fay(非必须)http://ngrok.cc
ngrok_cc_id=
Python
1
https://gitee.com/xszyou/fay.git
git@gitee.com:xszyou/fay.git
xszyou
fay
fay
master

搜索帮助