Trying to reach tts model and getting 404

Louis GOMEZ 5 Points de réputation
2024-04-17T15:11:21.2766667+00:00

Hello all,

I am working on AzureOpenAI, i have a deployment on sweden, and have (amongst others) 2 models deployed: whisper and tts.

When i build a client with

client=AzureOpenAIclient(azure_endpoint,api_key,api_version, azuredeployment = Whisper_deplo_name)

and call it with client.audio.transcriptions.create(model=whisper-1)

No issues it works perfectly i received text.

But if i use

client=AzureOpenAIclient(azure_endpoint,api_key,api_version, azuredeployment = **tts_**deplo_name)

and call it with

client.audio.speech.create(model=tts-1,...)

I get a 404, no resource found error, i am flabbergasted by this error. Does anyone has any idea, or encountered the same type of issues?

Best regards

Azure
Azure
Plateforme et infrastructure de cloud computing pour la génération, le déploiement et la gestion d’applications et de services à travers un réseau mondial de centres de données gérés par Microsoft.
98 questions
{count} votes

2 réponses

Trier par : Le plus utile
  1. Louis GOMEZ 5 Points de réputation
    2024-04-17T15:18:13.76+00:00

    Ok obviously it's after writing the question that i find the answer even though i searched for hours before.
    I will write it here if it can help someone:

    MIND THE API VERSION!! it my vary on the model you use: here is the website to stay updated:

    https://learn.microsoft.com/en-us/azure/ai-services/openai/api-version-deprecation

    1 personne a trouvé cette réponse utile.

  2. Alexis Thorez (CONCENTRIX CORPORATION) 5 025 Points de réputation Fournisseur Microsoft
    2024-04-17T17:46:17.65+00:00

    Solution proposée et validée par Louis GOMEZ

    ATTENTION À LA VERSION API !! cela peut varier selon le modèle que vous utilisez : voici le site Web pour rester à jour :

    https://learn.microsoft.com/en-us/azure/ai-services/openai/api-version-deprecation

    1 personne a trouvé cette réponse utile.
    0 commentaires Aucun commentaire