When response format is set to verbose_json (on whisper options) it keeps returning only the clean text and for example not the segments array when building a transcription timeline.
Added the raw response that comes from OpenAI and updated UseWhisperTranscript type.
export type UseWhisperTranscript = { blob?: Blob text?: string response?: any // support for verbose_json }
When response format is set to verbose_json (on whisper options) it keeps returning only the clean text and for example not the segments array when building a transcription timeline.
Added the raw response that comes from OpenAI and updated UseWhisperTranscript type.
export type UseWhisperTranscript = { blob?: Blob text?: string response?: any // support for verbose_json }