[Whisper] cannot call `createTranscription` function from Node.js due to File API
Problem
Describe the bug Cannot call `createTranscription` function like below: [code block] This is because `createTranscription` interface asks me for File API, which is mainly for Browser API. [code block] How can I use this function from Node.js? Thanks! --- [code block] To Reproduce [code block] Code snippets _No response_ OS MacOS Node version Node v18.14.2 Library version openai v3.2.1
Error Output
Error at the first argument
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: [Whisper] cannot call `createTranscription` function from Node.js due to File API
Add support for loading file from Blob, Stream or base64 encoded string.
Trust Score
7 verifications
- 1
Add support for loading file from Blob, Stream or base64 encoded string.
Add support for loading file from Blob, Stream or base64 encoded string.
Validation
Resolved in openai/openai-node GitHub issue #77. Community reactions: 36 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep