自然进化

1、优化qa代码。
This commit is contained in:
guo zebin
2025-09-13 19:54:06 +08:00
parent 4e0507df78
commit 4d7102c8cf
13 changed files with 31101 additions and 87 deletions

49
cache_data/config.json Normal file
View File

@@ -0,0 +1,49 @@
{
"attribute": {
"additional": "发呆",
"age": "成年",
"birth": "Github",
"constellation": "水瓶座",
"contact": "qq467665317",
"gender": "女",
"goal": "工作协助",
"hobby": "发呆",
"job": "助理",
"name": "菲菲",
"position": "陪伴",
"voice": "zhixiaomei",
"zodiac": "蛇"
},
"interact": {
"QnA": "qa.csv",
"maxInteractTime": 15,
"perception": {
"chat": 10,
"follow": 10,
"gift": 10,
"indifferent": 10,
"join": 10
},
"playSound": false,
"visualization": false
},
"items": [],
"memory": {
"isolate_by_user": true
},
"source": {
"automatic_player_status": false,
"automatic_player_url": "http://127.0.0.1:6000",
"liveRoom": {
"enabled": true,
"url": ""
},
"record": {
"device": "",
"enabled": false
},
"wake_word": "你好",
"wake_word_enabled": false,
"wake_word_type": "front"
}
}

28
cache_data/system.conf Normal file
View File

@@ -0,0 +1,28 @@
[key]
ali_nls_app_key = rEs56rswzWQqXy14
ali_nls_key_id = LTAI5tDMHwP86DC3Ma2cWiFK
ali_nls_key_secret = V3r0NBYJQThIKDzhlx35xImC7BAc2v
ali_tss_app_key = rEs56rswzWQqXy14
ali_tss_key_id = LTAI5tDMHwP86DC3Ma2cWiFK
ali_tss_key_secret = V3r0NBYJQThIKDzhlx35xImC7BAc2v
asr_mode = ali
baidu_emotion_api_key =
baidu_emotion_app_id =
baidu_emotion_secret_key =
fay_url = http://127.0.0.1:5000
gpt_api_key = sk-izmvqrzyhjghzyghiofqfpusxprmfljntxzggkcovtneqpas
gpt_base_url = https://api.siliconflow.cn/v1
gpt_model_engine = moonshotai/Kimi-K2-Instruct-0905
local_asr_ip = 127.0.0.1
local_asr_port = 10197
ltp_mode = baidu
ms_tts_key =
ms_tts_region =
proxy_config =
start_mode = web
tts_module = ali
volcano_tts_access_token =
volcano_tts_appid =
volcano_tts_cluster =
volcano_tts_voice_type =