Yes, it is still the same error. So, there is something wrong with your Azure API key, resource, and deployment.
resource
Just to be clear. When you run this code, do you use a different value for the resource_name
, or do you use "xyz"
?
deployment_id
Also, can you verify that your Azure configuration has deployment for "text-embedding-3-small"
?
API Key
Can you confirm if your API key is from Azure, or is that your standard OpenAI key?