curl command fails for Whisper Service in Azure OpenAI

HM 0 Reputation points
2023-09-19T09:02:20.1533333+00:00

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".

スクリーンショット 2023-09-19 17.51.50

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.

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
2,938 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.