音频模型调整
This commit is contained in:
@@ -124,6 +124,8 @@ spring:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -101,6 +101,8 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -300,6 +300,8 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user