mirror of
https://github.com/xszyou/Fay.git
synced 2026-03-12 17:51:28 +08:00
自然进化
- 重构会话管理逻辑支持以下链路基于llm输出、mcp执行、qa问答对匹配时,文字或音频输出的单向或双向打断: - 1、flask_server.api_send()(gui窗口文字发送) <--> flask_server.api_send_v1_chat_completions()(fay对外的openai兼容接口) - 2、flask_server.api_send(gui窗口文字发送) <-- flask_server.transparent_pass(消息透传接口) - 3、flask_server.api_send(gui窗口文字发送) <-- flask_server.to_stop_talking(打断接口) - 4、flask_server.api_send(gui窗口文字发送) <--> 远程音频 - 5、flask_server.api_send(gui窗口文字发送) <-- 唤醒(普通唤醒、前置词唤醒) - 6、flask_server.api_send(gui窗口文字发送) <-->日程执行 - 7、flask_server.api_send_v1_chat_completions(fay对外的openai兼容接口) <--> flask_server.transparent_pass(消息透传接口) - 8、flask_server.api_send_v1_chat_completions(fay对外的openai兼容接口) <-- flask_server.to_stop_talking(打断接口) - 9、flask_server.api_send_v1_chat_completions(fay对外的openai兼容接口) <--> 远程音频 - 10、flask_server.api_send_v1_chat_completions(fay对外的openai兼容接口) <-- 唤醒(普通唤醒、前置词唤醒) - 11、flask_server.api_send_v1_chat_completions(fay对外的openai兼容接口) <-->日程执行 - 12、flask_server.transparent_pass(消息透传接口) <-- flask_server.to_stop_talking(打断接口) - 13、flask_server.transparent_pass(消息透传接口) <--> 远程音频 - 14、flask_server.transparent_pass(消息透传接口) <-- 唤醒(普通唤醒、前置词唤醒) - 15、flask_server.transparent_pass(消息透传接口) <-->日程执行 - 16、远程音频 <-- 唤醒(普通唤醒、前置词唤醒) - 17、远程音频 <-->日程执行
This commit is contained in:
@@ -1,49 +0,0 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -1,28 +0,0 @@
|
||||
[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 =
|
||||
|
||||
Reference in New Issue
Block a user