From f954da60b4d5ee03dcd50e9107bc26b06c95f662 Mon Sep 17 00:00:00 2001 From: Xin Wang Date: Thu, 28 May 2026 13:57:33 +0800 Subject: [PATCH] Update voice activity detection parameters and add response state configuration in FastGPT XFYun JSON files for enhanced interaction management. --- config/fastgpt.xfyun.dfn.json | 14 ++++++++++---- config/fastgpt.xfyun.json | 6 +++--- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/config/fastgpt.xfyun.dfn.json b/config/fastgpt.xfyun.dfn.json index 8692399..0cc63b5 100644 --- a/config/fastgpt.xfyun.dfn.json +++ b/config/fastgpt.xfyun.dfn.json @@ -24,10 +24,10 @@ }, "turn": { "vad": { - "confidence": 0.7, - "start_secs": 0.25, + "confidence": 0.85, + "start_secs": 0.5, "stop_secs": 0.2, - "min_volume": 0.7 + "min_volume": 0.95 }, "interruption_min_chars": 3, "interruption_use_interim": true, @@ -57,7 +57,13 @@ "agent": { "system_prompt": "FastGPT app owns the system prompt when send_system_prompt is false.", "greeting": "您好,这里是无锡交警,我将为您远程处理交通事故。请将人员撤离至路侧安全区域,开启危险报警双闪灯、放置三角警告牌、做好安全防护,谨防二次事故伤害。若您已经准备好了,请点击继续办理,如需人工服务,请说转人工。", - "greeting_mode": "fixed" + "greeting_mode": "fixed", + "response_state": { + "enabled": false, + "tag": "state", + "event_type": "response.state", + "max_prefix_chars": 256 + } }, "services": { "stt": { diff --git a/config/fastgpt.xfyun.json b/config/fastgpt.xfyun.json index 1201045..d23727d 100644 --- a/config/fastgpt.xfyun.json +++ b/config/fastgpt.xfyun.json @@ -14,10 +14,10 @@ }, "turn": { "vad": { - "confidence": 0.7, - "start_secs": 0.35, + "confidence": 0.85, + "start_secs": 0.5, "stop_secs": 0.2, - "min_volume": 0.65 + "min_volume": 0.95 }, "interruption_min_chars": 3, "interruption_use_interim": true,