Azure OpenAI gpt4o /audio/transcriptions Endpoint returns HTTP 500

Marian Gheorghe 0 Reputation points
2024-07-05T13:27:43.2+00:00

Hi,

We have setup an Azure OpenAI instance (gpt4o, EastUS) and the /chat/completions endpoint work just fine
However the /audio/transcriptions endpoint returns 500

My request looks like this

curl -X 'POST' \
  'https://<resource_id>.openai.azure.com/openai/deployments/<deployment_id>/audio/transcriptions?api-version=2024-02-01' \
  -H 'accept: application/json' \
  -H 'api-key: <api_key>' \
  -H 'Content-Type: multipart/form-data' \
  -F 'file=@gettysburg.wav;type=audio/wav' \
  -F 'prompt=string' \
  -F 'response_format=json' \
  -F 'temperature=0' \
  -F 'language=string'

API Reference: https://github.com/Azure/azure-rest-api-specs/blob/main/specification/cognitiveservices/data-plane/AzureOpenAI/inference/stable/2024-02-01/inference.json#L585

From the Azure Diagnostics
User's image

is there something I am doing wrong ? any hints, ideas ?
PS: I have tried all the other api_versions, same issue ( https://learn.microsoft.com/en-us/azure/ai-services/openai/reference)

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

1 answer

Sort by: Most helpful
  1. YutongTie-MSFT 53,731 Reputation points
    2024-07-07T09:57:05.3566667+00:00

    Hello Marian,

    Thanks for reaching out to us, GPT-4o is available for standard and global-standard model deployment.

    You need to create or use an existing resource in a supported standard or global standard region where the model is available.

    When your resource is created, you can deploy the GPT-4o model. If you are performing a programmatic deployment, the model name is gpt-4o, and the version is 2024-05-13.

    Could you please confirm the model version if above not helpful?

    I hope this helps. Thanks.

    Regards,

    Yutong

    -Please kindly accept the answer if you feel helpful to support the community, thanks a lot.

    0 comments No comments

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.