Closed grankko closed 2 months ago
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @jpalvarezl @ralph-msft @trrwilson.
That's correct, I'm having the same issue as well.
Seems that the AudioClient
is not appending the Azure
endpoint correctly, defaulting to the OpenAI V1 endpoint approach.
Adding more context:
Those overrides when using against the latest OpenAI beta.10
aren't overriding, as the methods in .10
were renamed from GenerateSpeechFromText
to GenerateSpeech
.
Library name and version
Azure.AI.OpenAI (2.0.0-beta.3) and OpenAI (2.0.0-beta.10)
Describe the bug
OpenAI 2.0.0 beta 10 package breaks the latest version of the Azure.AI.OpenAI package. When setting up a AudioClient to do text to speech the network call fails with 404. Probably related to changes in the OpenAI how endpoint URLs are generated internally.
The following code fails with 404:
Expected behavior
I expect the service call to succeed.
Actual behavior
The request is sent to a bad URL and results in a 404.
Reproduction Steps
Setup a TTS model in Azure OpenAI, use the latest version of the packages and run something like this:
Environment
VS 17.10.6 dotnet 8