New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Azure OpenAI API don't work #296
Comments
I just fixed the problem in my fork.
As you can see, there are informations about the model used as well as the api version in the HTTP link, so the endpoint only is not enough. By the way, thank you for this incredible UI ! |
You could do a mapping on deployment names to BetterGPT model names in your own fork. Or, to make it even simpler, change the deployment names in your OAI Azure Dashboard. The actual problem that was solved was about the API Request link that was not well implemented in the code. But now it works fine. |
I have the same issue, is there any plan to fix this? |
Looking at the code I think I know where there could be an issue Line 38 in eb18479
const path = `openai/deployments/${model}/chat/completions?api-version=${apiVersion}` but I have '2024-02-15-preview' where as in the code we see const apiVersion =
model === 'gpt-4' || model === 'gpt-4-32k'
? '2023-07-01-preview'
: '2023-03-15-preview'; |
https://learn.microsoft.com/en-us/azure/ai-services/openai/reference?WT.mc_id=AZ-MVP-5004796 yeah so there are many versions, that are not supported by BetterChatGPT |
I added the Azure OpenAI Endpoint and Key but get an error:
And I'm sure that my credentials are correct.
The text was updated successfully, but these errors were encountered: