-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
feature: make non azure implement support different endpoint #39659
Conversation
Thank you for your contribution @xmkevin! We will review the pull request and get back to you soon. |
@microsoft-github-policy-service agree [company="Sky AI"] |
We have the exact same need. I was just about to push the same kind of PR but checked open PRs to see if anything happened since yesterday and there it is! I tested your PR, it fits our usecase as well and just works. 🚀 For reference, here is my code 466ace9 |
@ agree company="Sky AI" |
@xmkevin @Benzhaomin May I know what the possible other endpoints could be exist other than the Azure and Public OpenAI endpoint which always started with Appreciate it If more details on the scenarios is provided. |
In some case, I need to put an nginx before openai api to use my own domain name. I try to use proxy configuration, but it seems doesn't work. |
We want to support a new hosted LLM provider that exposes an OpenAI-compatible API. We already have integration with both OpenAI and Azure OpenAI so just being able to customize the endpoint for this other service would be great. The service in question is https://endpoints.ai.cloud.ovh.net and an example of their API is https://mistral-7b-instruct-v02.endpoints.kepler.ai.cloud.ovh.net/doc#post-/api/openai_compat/v1/chat/completions |
Thank you for the reply. Let me bring this topic up to team to see if we should do it. Will keep you updated. |
@mssfang another point in support of this - few companies have some gateway in front of the public facing endpoint through which they control the configuration (org id, auth etc) this sdk doesn't support those cases. |
Hi, @xmkevin @Benzhaomin @viswanathk Unfortunately, we will not support non-OpenAI models in this SDK, Worth to mention here that this SDK supports proxy feature in case someone not aware of it. |
ok, waiting for the new feature. |
Description
Sometimes, we want to use non azure implement for other OpenAI compatible endpoint, check azure.com for azure implement seems more nature.
All SDK Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines