update: 声纹识别添加相似度阈值检查机制

This commit is contained in:
3030332422
2025-09-07 15:30:04 +08:00
parent d04ec9d510
commit 25d9e6c8cf
2 changed files with 11 additions and 4 deletions
+3
View File
@@ -148,6 +148,9 @@ voiceprint:
- "test1,张三,张三是一个程序员"
- "test2,李四,李四是一个产品经理"
- "test3,王五,王五是一个设计师"
# 声纹识别相似度阈值,范围0.0-1.0,默认0.4
# 数值越高越严格,减少误识别但可能增加拒识率
similarity_threshold: 0.4
# #####################################################################################
# ################################以下是角色模型配置######################################