Feat/chat support voice input (#532)

This commit is contained in:
zxhlyh
2023-07-07 17:50:42 +08:00
committed by GitHub
parent feebb5dd1f
commit a03a92e9db
70 changed files with 1420 additions and 26 deletions

View File

@@ -46,6 +46,11 @@ const translation = {
generateNumTip: 'Number of each generated times',
tip: 'Using this feature will incur additional tokens overhead',
},
speechToText: {
title: 'Speech to Text',
description: 'Once enabled, you can use voice input.',
resDes: 'Voice input is enabled',
},
dataSet: {
title: 'Context',
noData: 'You can import datasets as context',

View File

@@ -46,6 +46,11 @@ const translation = {
generateNumTip: '每次生成数',
tip: '使用此功能将会额外消耗 tokens',
},
speechToText: {
title: '语音转文字',
description: '启用后,您可以使用语音输入。',
resDes: '语音输入已启用',
},
dataSet: {
title: '上下文',
noData: '您可以导入数据集作为上下文',

View File

@@ -225,6 +225,11 @@ const translation = {
viewDoc: 'View documentation',
relatedApp: 'linked apps',
},
voiceInput: {
speaking: 'Speak now...',
converting: 'Converting to text...',
notAllow: 'microphone not authorized',
},
}
export default translation

View File

@@ -226,6 +226,11 @@ const translation = {
viewDoc: '查看文档',
relatedApp: '个关联应用',
},
voiceInput: {
speaking: '现在讲...',
converting: '正在转换为文本...',
notAllow: '麦克风未授权',
},
}
export default translation