Add voice activity detection and interruption handling configurations to FastGPT and XFYun JSON files. Enhance interruption short replies with additional phrases for improved user interaction.

This commit is contained in:
Xin Wang
2026-05-26 15:45:25 +08:00
parent 7ab10eba32
commit c4a53b5205
2 changed files with 35 additions and 1 deletions

View File

@@ -12,6 +12,38 @@
"session": {
"inactivity_timeout_sec": 60
},
"turn": {
"vad": {
"confidence": 0.7,
"start_secs": 0.35,
"stop_secs": 0.2,
"min_volume": 0.65
},
"interruption_min_chars": 3,
"interruption_use_interim": true,
"interruption_short_replies": [
"是",
"是的",
"对",
"对的",
"嗯",
"好",
"好的",
"行",
"可以",
"没问题",
"不是",
"不",
"不行",
"不用",
"不要",
"没有",
"否",
"你好",
"在吗"
],
"user_speech_timeout_sec": 0.2
},
"agent": {
"system_prompt": "FastGPT app owns the system prompt when send_system_prompt is false.",
"greeting": "您好,这里是无锡交警,我将为您远程处理交通事故。请将人员撤离至路侧安全区域,开启危险报警双闪灯、放置三角警告牌、做好安全防护,谨防二次事故伤害。若您已经准备好了,请点击继续办理,如需人工服务,请说转人工。",

View File

@@ -38,7 +38,9 @@
"不用",
"不要",
"没有",
"否"
"否",
"你好",
"在吗"
],
"user_speech_timeout_sec": 0.2
},