curl command fails for Whisper Service in Azure OpenAI
HM
0
Reputation points
I am trying to call the whisper service with the curl command.
As you can see in the image below, I have set the deployment name as "whisper".
So I am executing the curl command below,
!curl $AZURE_OPENAI_ENDPOINT/openai/deployments/whisper/audio/transcriptions?api-version=2023-09-01-preview \
-H "api-key: $AZURE_OPENAI_KEY" \
-H "Content-Type: multipart/form-data" \
-F file="@../data/sample.wav"
But, as shown below, no matches found.
zsh:1: no matches found: https://abc.openai.azure.com//openai/deployments/whisper/audio/transcriptions?api-version=2023-09-01-preview
Since it is 404 and not 403, I am wondering if the URL I am specifying is incorrect, and if the deployment name is different, but I do not know the correct name.
I would appreciate any advice anyone can give me.
Sign in to answer