-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
bugSomething isn't workingSomething isn't workingfixed in v4Issues addressed by v4Issues addressed by v4
Description
Describe the bug
createTranscription's interface is defined as: createTranscription(file: File, ....)
However, File does not exist in node.js. This is a browser only class.
What is expected here? A return value from fs.readFileSync?
To Reproduce
const file = fs.readFileSync(audioOutputFilePath)
const transcript = await openai.createTranscription(new File([file]), ...) // File does not exist
Code snippets
No response
OS
macOS
Node version
Node v14.19.0
Library version
openai 3.2.1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingfixed in v4Issues addressed by v4Issues addressed by v4