Closed leorr closed 3 days ago
Type of return from openai.audio.transcriptions.create does not seems to have any segments property.
const openai = new OpenAI({ apiKey: ... }); const transcription = await openai.audio.transcriptions.create({ file: file, model: 'whisper-1', response_format: "verbose_json", timestamp_granularities: ["word"] }); logger.info(transcription.segments)
No response
Linux
Node v20.17.0
openai v4.63
Thanks for the report, this is a duplicate of #702. We're hoping to ship a fix tomorrow.
Confirm this is a Node library issue and not an underlying OpenAI API issue
Describe the bug
Type of return from openai.audio.transcriptions.create does not seems to have any segments property.
To Reproduce
Code snippets
No response
OS
Linux
Node version
Node v20.17.0
Library version
openai v4.63