-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🗣️ feat: Azure OpenAI speech #2985
base: main
Are you sure you want to change the base?
Conversation
slated for v0.7.4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, can you raise updated docs for librechat.ai with this change?
@@ -228,6 +282,9 @@ async function ttsRequest(provider, ttsSchema, { input, voice, stream = true } = | |||
case 'openai': | |||
[url, data, headers] = openAIProvider(ttsSchema, input, voice); | |||
break; | |||
case 'azureOpenAI': |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you use enums for this?
@@ -28,6 +28,9 @@ async function getVoices(req, res) { | |||
case 'openai': | |||
voices = ttsSchema.openai?.voices; | |||
break; | |||
case 'azureOpenAI': |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
enums
Summary
fixed Azure OpenAI STT and added Azure OpenAI TTS
Change Type
Checklist