[Q&A] Azure OpenAI 暂不支持 TTS & STT 相关模型 #483
-
💻 系统环境 | Operating SystemMacos 🌐 浏览器 | BrowserChrome 🐛 问题描述 | Bug Description开发模式下,
复现方法参考:https://jam.dev/c/b844c92f-11a7-452a-b9c5-234be4cece2a 🚦 期望结果 | Expected Behavior语音朗读可用 📷 复现步骤 | Recurrence Steps
参考:https://jam.dev/c/b844c92f-11a7-452a-b9c5-234be4cece2a 📝 补充信息 | Additional Information打印看了服务端的日志看了一下,访问的url是http://localhost:3010/api/openai/tts,但在tts没有route.ts |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 4 replies
-
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
Beta Was this translation helpful? Give feedback.
-
这是 openai route 的位置 https://github.com/lobehub/lobe-chat/tree/main/src%2Fapp%2Fapi%2Fopenai%2Ftts |
Beta Was this translation helpful? Give feedback.
-
可在里面 log 你的入参和相关返回以获得更准确的错误定位 |
Beta Was this translation helpful? Give feedback.
-
感谢快速回复,我看错代码了。 应该是我使用的是azure的原因,没有部署语音的模型。 |
Beta Was this translation helpful? Give feedback.
-
在azure上没找到对应openai tts的模型,先更换为openai的key了,更换之后可以使用。 |
Beta Was this translation helpful? Give feedback.
感谢快速回复,我看错代码了。 应该是我使用的是azure的原因,没有部署语音的模型。