Closed goofansu closed 3 months ago
Thanks for the PR! I have an idea for using a single gptel backend with multiple Azure models/deployments, I want to check with you if that can work first. Can you give me two distinct examples of urls for Azure deployments?
I mean two examples of this string:
/openai/deployments/YOUR_DEPLOYMENT_NAME/chat/completions?api-version=2023-05-15
(I don't have access to Azure)
Hi @karthink, I configured two:
Notice:
gpt-4
and gpt-35-turbo
are deployment names, the rule is: The name can only include alphanumeric characters, _ character and - character. Can't end with '_' or '-'.
api-version
can be different, see their values here: https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#chat-completionsClosing the PR as #156 is enough to explain the Azure OpenAI configuration.
Follow up https://github.com/karthink/gptel/discussions/156