Widen citizen Final window to 5 and document monitor flow in Chinese.

Improve cut-segment recall and clarify AsrEventMonitorService behavior for local maintainers.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Xin Wang
2026-07-15 21:55:52 +08:00
parent af85f1c4b1
commit 311bef5270
6 changed files with 31 additions and 11 deletions

View File

@@ -44,7 +44,7 @@
- 只处理 Final不处理 Partial
- 只匹配市民侧文本
- AC 自动机关键词匹配
- 最近条市民 ASR Final 拼接
- 最近条市民 ASR Final 拼接
- 同一通话、同一事件只提醒一次
- 规则通过页面编辑
- 规则保存到数据库
@@ -512,7 +512,7 @@ E M S → ems
## 11. 最近 Final 上下文
匹配文本使用最近条市民 ASR Final。
匹配文本使用最近条市民 ASR Final。
目的:降低 ASR 切段造成的漏判。
@@ -837,7 +837,7 @@ public CloseCallResponse close(String callId) {
```yaml
monitor:
recent-final-window-size: 2
recent-final-window-size: 5
max-processed-seqs: 500
session-ttl: PT2H
session-cleanup-interval: PT10M
@@ -1317,7 +1317,7 @@ server:
port: 8080
monitor:
recent-final-window-size: 2
recent-final-window-size: 5
max-processed-seqs: 500
session-ttl: PT2H
session-cleanup-interval: PT10M
@@ -1453,7 +1453,7 @@ POST /api/v1/asr-events
callId + seq 幂等
最近条市民 Final 拼接
最近条市民 Final 拼接
文本标准化