OpenAI icon indicating copy to clipboard operation
OpenAI copied to clipboard

AudioTranscriptionResult should include language and other parameters if format=verbose_json is set in the AudioTranscriptionRequest

Open tsuz opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe.

I would like to know the language of the transcription.

Describe the solution you'd like

AudioTranscriptionResult should include language (and other parameters)

https://platform.openai.com/docs/api-reference/audio/verbose-json-object

Describe alternatives you've considered

I don't see how I can achieve with this library.

Additional context

OpenAI docs:

https://platform.openai.com/docs/api-reference/audio/verbose-json-object

tsuz avatar Jan 03 '25 15:01 tsuz

I can quickly create a PR if you are okay with it

tsuz avatar Jan 03 '25 15:01 tsuz

@tsuz sorry, I've just realised that I didn't answered you back then

This was implemented in https://github.com/MacPaw/OpenAI/pull/369 as part of work on another issue

nezhyborets avatar Jul 11 '25 10:07 nezhyborets