tts models support (#2033)

Co-authored-by: luowei <glpat-EjySCyNjWiLqAED-YmwM>
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Yeuoly <45712896+Yeuoly@users.noreply.github.com>
This commit is contained in:
Charlie.Wei 2024-01-24 01:05:37 +08:00 • committed by GitHub
commit 6355e61eb8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
86 changed files with 1645 additions and 133 deletions

View file

@ -6,6 +6,9 @@ const translation = {
ok: 'In Service',
copy: 'Copy',
copied: 'Copied',
play: 'Play',
pause: 'Pause',
playing: 'Playing',
merMaind: {
rerender: 'Redo Rerender',
},

View file

@ -5,10 +5,13 @@ const translation = {
disabled: '已停用',
ok: '运行中',
copy: '复制',
copied: '已复制',
play: '播放',
pause: '暂停',
playing: '播放中',
merMaind: {
rerender: '重新渲染',
},
copied: '已复制',
never: '从未',
apiKeyModal: {
apiSecretKey: 'API 密钥',

View file

@ -71,6 +71,11 @@ const translation = {
description: 'Once enabled, you can use voice input.',
resDes: 'Voice input is enabled',
},
textToSpeech: {
title: 'Text to Speech',
description: 'Once enabled, text can be converted to speech.',
resDes: 'Text to Audio is enabled',
},
citation: {
title: 'Citations and Attributions',
description: 'Once enabled, show source document and attributed section of the generated content.',

View file

@ -71,6 +71,11 @@ const translation = {
description: '启用后,您可以使用语音输入。',
resDes: '语音输入已启用',
},
textToSpeech: {
title: '文字转语音',
description: '启用后,文本可以转换成语音。',
resDes: '文本转音频已启用',
},
citation: {
title: '引用和归属',
description: '启用后,显示源文档和生成内容的归属部分。',

View file

@ -248,6 +248,10 @@ const translation = {
key: 'Speech-to-Text Model',
tip: 'Set the default model for speech-to-text input in conversation.',
},
ttsModel: {
key: 'Speech-to-Text Model',
tip: 'Set the default model for speech-to-text input in conversation.',
},
rerankModel: {
key: 'Rerank Model',
tip: 'Rerank model will reorder the candidate document list based on the semantic match with user query, improving the results of semantic ranking',

View file

@ -248,6 +248,10 @@ const translation = {
key: '语音转文本模型',
tip: '设置对话中语音转文字输入的默认使用模型。',
},
ttsModel: {
key: '文本转语音模型',
tip: '设置对话中文字转语音输出的默认使用模型。',
},
rerankModel: {
key: 'Rerank 模型',
tip: '重排序模型将根据候选文档列表与用户问题语义匹配度进行重新排序,从而改进语义排序的结果',