Skip to content

[Bug]: Azure Endpoint gives HTTP 400 - Unsupported data type error #1361

Locked Answered by danny-avila
regstuff asked this question in Troubleshooting
Discussion options

You must be logged in to vote

Thanks for checking out the project! And for providing env vars.

These values are suspect:

AZURE_OPENAI_MODELS=gpt4-turbo
AZURE_OPENAI_DEFAULT_MODEL=gpt4-turbo

Azure is working for me:

these are the only values I'm using:

AZURE_API_KEY=api-key
AZURE_OPENAI_API_INSTANCE_NAME=my_instance
AZURE_OPENAI_API_DEPLOYMENT_NAME=gpt-35-turbo
AZURE_OPENAI_API_VERSION=2023-07-01-preview

I'm able to reproduce your issue when providing the AZURE_OPENAI_DEFAULT_MODEL. I'm going to open this back up as an issue and fix this now

Thanks again for your report!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@danny-avila
Comment options

Answer selected by danny-avila
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
2 participants
Converted from issue

This discussion was converted from issue #1360 on December 15, 2023 15:58.