You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Confirm this is a Node library issue and not an underlying OpenAI API issue
This is an issue with the Node library
Describe the bug
With whisper, while using the verbose_json response_format parameter, the audio.transcriptions.create returns a type Transcription, which does not include the extra details from verbose_json
To Reproduce
See the code snippet
Code snippets
constresponse=awaitopenAIClient.audio.transcriptions.create({model: 'whisper-1',file: fileStream,response_format: 'verbose_json',timestamp_granularities: ['segment']})console.log(response.text)// @ts-ignoreconsole.log(response['language'])// language isn't part of the Transcription interface