-
Notifications
You must be signed in to change notification settings - Fork 2.1k
[OpenAI] Whisper support #36693
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
[OpenAI] Whisper support #36693
Conversation
* Still error, but almost hack for multipart data request * Replaced whitespace with line breaks as necessary * Somehow still failing. A bit out of ideas * Changed the encoding to ASCII * Using CRLF instead * Test pass. Renamed variables to be more selfexplanatory
sdk/openai/azure-ai-openai/src/test/java/com/azure/ai/openai/OpenAISyncClientTest.java
Outdated
Show resolved
Hide resolved
sdk/openai/azure-ai-openai/src/main/java/com/azure/ai/openai/implementation/MultipartField.java
Show resolved
Hide resolved
sdk/openai/azure-ai-openai/src/main/java/com/azure/ai/openai/OpenAIAsyncClient.java
Show resolved
Hide resolved
sdk/openai/azure-ai-openai/src/main/java/com/azure/ai/openai/OpenAIAsyncClient.java
Show resolved
Hide resolved
sdk/openai/azure-ai-openai/src/main/java/com/azure/ai/openai/OpenAIAsyncClient.java
Outdated
Show resolved
Hide resolved
sdk/openai/azure-ai-openai/src/main/java/com/azure/ai/openai/OpenAIAsyncClient.java
Show resolved
Hide resolved
sdk/openai/azure-ai-openai/src/main/java/com/azure/ai/openai/OpenAIAsyncClient.java
Show resolved
Hide resolved
sdk/openai/azure-ai-openai/src/main/java/com/azure/ai/openai/OpenAIAsyncClient.java
Show resolved
Hide resolved
sdk/openai/azure-ai-openai/src/main/java/com/azure/ai/openai/OpenAIAsyncClient.java
Show resolved
Hide resolved
sdk/openai/azure-ai-openai/src/main/java/com/azure/ai/openai/OpenAIAsyncClient.java
Show resolved
Hide resolved
sdk/openai/azure-ai-openai/src/main/java/com/azure/ai/openai/OpenAIClient.java
Show resolved
Hide resolved
sdk/openai/azure-ai-openai/src/main/java/com/azure/ai/openai/OpenAIClient.java
Show resolved
Hide resolved
sdk/openai/azure-ai-openai/src/main/java/com/azure/ai/openai/OpenAIClient.java
Show resolved
Hide resolved
sdk/openai/azure-ai-openai/src/main/java/com/azure/ai/openai/OpenAIClient.java
Show resolved
Hide resolved
| additionalDirectories: | ||
| - specification/cognitiveservices/OpenAI.Authoring | ||
| commit: b646a42aa3b7a0ce488d05f1724827ea41d12cf1 | ||
| commit: dd2d1e8957ac6654272137e8d5874eacafd80a5f |
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.
@jpalvarezl Please update the commit id to that of main branch, after audio.tsp get merged to main
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.
Will do as soon as the PR is merged. Unfortunately, the changes haven't made it to the main branch yet.
For the first release, we are basing code generation in the looser types definition: Azure/azure-rest-api-specs#25734
Remaining TODOs:
plain/textformats and invalid requested formatsadd a convenience method handling the file opening?