Update TTS configuration and idle prompt settings in fastgpt.state.xfyun.json and fastgpt.xfyun.supertts.json
This commit is contained in:
@@ -43,9 +43,9 @@
|
|||||||
"在吗"
|
"在吗"
|
||||||
],
|
],
|
||||||
"user_speech_timeout_sec": 0.8,
|
"user_speech_timeout_sec": 0.8,
|
||||||
"idle_prompt_timeout_sec": 8.0,
|
"idle_prompt_timeout_sec": 3.0,
|
||||||
"idle_prompt_max_count": 3,
|
"idle_prompt_max_count": 3,
|
||||||
"idle_prompt_text": "我先停在这里。你可以继续说你的想法,或者让我根据刚才的内容帮你整理下一步。"
|
"idle_prompt_text": "你好,请问还在吗?"
|
||||||
},
|
},
|
||||||
"agent": {
|
"agent": {
|
||||||
"system_prompt": "FastGPT app owns the system prompt when send_system_prompt is false.",
|
"system_prompt": "FastGPT app owns the system prompt when send_system_prompt is false.",
|
||||||
@@ -85,18 +85,20 @@
|
|||||||
"send_system_prompt": false
|
"send_system_prompt": false
|
||||||
},
|
},
|
||||||
"tts": {
|
"tts": {
|
||||||
"provider": "xfyun",
|
"provider": "xfyun_super",
|
||||||
"app_id": "416ce125",
|
"app_id": "416ce125",
|
||||||
"api_key": "c65342fe603126c3610031d8429bb36d",
|
"api_key": "c65342fe603126c3610031d8429bb36d",
|
||||||
"api_secret": "MzkyYmI5OWEyODQzN2FiN2VhN2UzYzU4",
|
"api_secret": "MzkyYmI5OWEyODQzN2FiN2VhN2UzYzU4",
|
||||||
"base_url": "wss://tts-api.xfyun.cn/v2/tts",
|
"base_url": "wss://cbm01.cn-huabei-1.xf-yun.com/v1/private/mcd9m97e6",
|
||||||
"voice": "x4_xiaoyan",
|
"voice": "x5_lingxiaoxuan_flow",
|
||||||
"aue": "raw",
|
"aue": "raw",
|
||||||
"tte": "UTF8",
|
|
||||||
"speed": 50,
|
"speed": 50,
|
||||||
"volume": 50,
|
"volume": 50,
|
||||||
"pitch": 50,
|
"pitch": 50,
|
||||||
"source_sample_rate_hz": 16000
|
"oral_level": "mid",
|
||||||
|
"source_sample_rate_hz": 24000,
|
||||||
|
"text_aggregation_mode": "token",
|
||||||
|
"timeout_sec": 30.0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -42,12 +42,21 @@
|
|||||||
"你好",
|
"你好",
|
||||||
"在吗"
|
"在吗"
|
||||||
],
|
],
|
||||||
"user_speech_timeout_sec": 0.2
|
"user_speech_timeout_sec": 0.2,
|
||||||
|
"idle_prompt_timeout_sec": 3.0,
|
||||||
|
"idle_prompt_max_count": 3,
|
||||||
|
"idle_prompt_text": "你好,请问还在吗?"
|
||||||
},
|
},
|
||||||
"agent": {
|
"agent": {
|
||||||
"system_prompt": "FastGPT app owns the system prompt when send_system_prompt is false.",
|
"system_prompt": "FastGPT app owns the system prompt when send_system_prompt is false.",
|
||||||
"greeting": "您好,这里是无锡交警,我将为您远程处理交通事故。请将人员撤离至路侧安全区域,开启危险报警双闪灯、放置三角警告牌、做好安全防护,谨防二次事故伤害。若您已经准备好了,请点击继续办理,如需人工服务,请说转人工。",
|
"greeting": "您好,这里是无锡交警,我将为您远程处理交通事故。请将人员撤离至路侧安全区域,开启危险报警双闪灯、放置三角警告牌、做好安全防护,谨防二次事故伤害。若您已经准备好了,请点击继续办理,如需人工服务,请说转人工。",
|
||||||
"greeting_mode": "fixed"
|
"greeting_mode": "fixed",
|
||||||
|
"response_state": {
|
||||||
|
"enabled": false,
|
||||||
|
"tag": "state",
|
||||||
|
"event_type": "response.state",
|
||||||
|
"max_prefix_chars": 256
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"services": {
|
"services": {
|
||||||
"stt": {
|
"stt": {
|
||||||
|
|||||||
Reference in New Issue
Block a user