AzureOpenAI 400 error #2105
Labels
auto:bug
Related to a bug, vulnerability, unexpected error with an existing feature
auto:question
A specific question about the codebase, product, project, or how to use a feature
I have such simple code,
But it returns 404 Error,
This URL's are wrong
https://222222222.openai.azure.com/openai/222222222/completions
/openai/222222222/completions?api-version=2023-03-15-preview
Correct URL is
https://222222222.openai.azure.com/openai/deployments?api-version=2023-03-15-preview
Any ideas how to fix this? Why langchain.js does not have AzureOpenAI but uses OpenAI
In python app it works fine
The text was updated successfully, but these errors were encountered: