音频模型调整

This commit is contained in:
spllzh
2025-10-21 09:23:23 +08:00
parent a029d57e7d
commit 9aba49a817
25 changed files with 254 additions and 4 deletions

View File

@@ -124,6 +124,8 @@ spring:

View File

@@ -125,6 +125,27 @@ aliyun:
# 是否启用阿里云服务
enabled: true
# ASR语音识别配置
asr:
# 是否启用ASR服务
enabled: true
# 默认ASR模型
default-model: paraformer-v2
# 请求超时时间(毫秒)
timeout: 60000
# 是否启用标点符号
enable-punctuation: true
# 是否启用数字转换
enable-number-conversion: true
# 是否启用说话人分离
enable-speaker-diarization: false
# 默认说话人数量
default-speaker-count: 1
# 默认音频格式
default-format: wav
# 默认采样率
default-sample-rate: 16000
springdoc:
swagger-ui:

View File

@@ -300,6 +300,8 @@