-
Notifications
You must be signed in to change notification settings - Fork 430
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
Implement Azure OpenAI Service #40
Conversation
I applied for access to the Azure OpenAI service but was denied, so I have no way to validate or test this. But I would love to support it. Do you have access yourself? |
Yes, I have access to the service in a subscription through a project of my company. The main difference to the direct OpenAI-API is, that the api-version in the URI is mandatory and the api-key header is used. |
does this change take the place of the original endpoint? |
currently only supports "managed" accounts --> https://learn.microsoft.com/en-us/legal/cognitive-services/openai/limited-access?context=%2Fazure%2Fcognitive-services%2Fopenai%2Fcontext%2Fcontext
|
No, the OpenAI-API-URL is still set as default. My intention was to additionally support the Azure Service. |
Yeah, even our Microsoft customer success manager didn't had access to the API. So it seems like they keep access to it as a shortage... |
Thanks for your help with this. Since I can't test it myself, can you please add some integration tests that use the Azure endpoint? I'll still need to disable them on my end until I can get access, but it would be good to have tests implemented and run on your end. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a good first pass. I'll merge it and then add a new commit myself to smooth a couple issues.
Thank you @OkGoDoIt , Great! |
Implements configurations to work with Azures OpenAI service.