rashadphz/farfalle

500: AzureException NotFoundError:There was an error when calling Azure Openai API

Opened this issue · 0 comments

Hello, Greetings!

AZURE_DEPLOYMENT_NAME=azure/xxxxxx
AZURE_API_KEY=xxxxxxxx
AZURE_API_BASE=https://xxxxx.openai.azure.com/
AZURE_API_VERSION=2024-02-01

I set up in the .env file already but running like this:

500: AzureException NotFoundError - Error code: 404 - {'error': {'code': 'DeploymentNotFound', 'message': 'The API deployment for this resource does not exist. If you created the deployment within the last 5 minutes, please wait a moment and try again.'}}

I run this api locally and it works, how can i solve this? Thank u in advance!