Skip to content
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

[azopenai] Whisper support #21551

Closed
1 of 2 tasks
richardpark-msft opened this issue Sep 13, 2023 · 1 comment
Closed
1 of 2 tasks

[azopenai] Whisper support #21551

richardpark-msft opened this issue Sep 13, 2023 · 1 comment
Assignees
Labels
Client This issue points to a problem in the data-plane of the library. OpenAI
Milestone

Comments

@richardpark-msft
Copy link
Member

richardpark-msft commented Sep 13, 2023

Just running into some API generation complications, want to track the work.

The basics are that we end up with two new functions - GetAudioTranscription and GetAudioTranslation, which are very similar. Both of them accept a set of inputs like the prompt, the model and the actual audio data to be translated/transcribed.

So far, the default generation is working "ok" but it looks like some fidelity is being lost since we actually do have multipart support in our autorest.go. So:

  • The requests should be made to be multipart/form-data instead of defaulting to application/json
  • The return values are either plain text or a structured JSON body. The generated code is not recognizing that.

Still haven't gotten it all the way through, but these are some of the immediate things.

@richardpark-msft richardpark-msft added Client This issue points to a problem in the data-plane of the library. OpenAI labels Sep 13, 2023
@richardpark-msft richardpark-msft added this to the 2023-10 milestone Sep 13, 2023
@richardpark-msft richardpark-msft self-assigned this Sep 13, 2023
@richardpark-msft
Copy link
Member Author

Fixed with #21599

@github-actions github-actions bot locked and limited conversation to collaborators Dec 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Client This issue points to a problem in the data-plane of the library. OpenAI
Projects
None yet
Development

No branches or pull requests

1 participant