feat: support TTS & STT (#443)

*  feat(tts): Add tts and stt basic features

*  feat(tts): Handle error

* 💄 style(tts): Add alert to error handler

* 🐛 fix(tts): Error display

* ♻️ refactor: refactor the openai initial code to the createBizOpenAI

* ♻️ refactor(tts): Refactor header config

*  feat: Add TTS voice preview

* 🐛 fix(tts): Fix header

* 🐛 fix: Fix api

---------

Co-authored-by: Arvin Xu <arvinx@foxmail.com>
This commit is contained in:
CanisMinor
2023-11-19 21:43:58 +08:00
committed by GitHub
parent 26ef087fb3
commit 4fa2ef410f
87 changed files with 1936 additions and 229 deletions
+1 -1
View File
@@ -8,5 +8,5 @@ module.exports = defineConfig({
output: 'locales',
outputLocales: ['zh_TW', 'en_US', 'ru_RU', 'ja_JP', 'ko_KR'],
temperature: 0,
modelName: 'gpt-3.5-turbo',
modelName: 'gpt-3.5-turbo-1106',
});