openai-node icon indicating copy to clipboard operation
openai-node copied to clipboard

[Whisper] Support URLs for createTranscription call

Open wacioc opened this issue 2 years ago • 0 comments

Describe the feature or improvement you're requesting

Right now the only way to provide input to createTranscription method is to have the file on disk and create a ReadStream for that. It's a very common use case where the files are stored somewhere (cloud hosting most of the cases) and easiest way is to provide a signed URL (GCP case) to the audio file to be transcribed. When I'm providing a URL as a parameter for the audio file path I'm getting a "400 - Bad Request" back.

Additional context

No response

wacioc avatar Mar 06 '23 00:03 wacioc