Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Audio transcription: Missing argument to build CreateTranscriptionRequest #486

Open
jaDEVirek opened this issue Mar 29, 2024 · 1 comment

Comments

@jaDEVirek
Copy link

From Open AI documentation https://platform.openai.com/docs/api-reference/audio/createTranscription

curl https://api.openai.com/v1/audio/transcriptions \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-H "Content-Type: multipart/form-data" \
-F file="@/path/to/file/audio.mp3" \
-F model="whisper-1"`

Parameter file is required to perform audio to text transcription. Current implementation for CreateTranscriptionRequest
is devoid of functional parameter : file

Which makes it impossible to perform the transcription operation.

@panghy
Copy link

panghy commented Apr 2, 2024

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants