-
Notifications
You must be signed in to change notification settings - Fork 35
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
Is there any plan to support Azure OpenAI Service? #39
Comments
@swsoyee, what I am thinking right now is to create a new package with much higher flexibility. |
Hi @irudnyts any updates on the new package? 📦 🙏🏽 |
Hi @trangdata! Not yet 😔 Is there any particular feature you are looking forward to? Or is it just |
@irudnyts Really just the |
@trangdata @swsoyee I'm very sorry for the long wait. Here is a new dev version, and you can do it here:
|
@trangdata Did you get it to work? I am always getting a 404 error using the following base_url: "https://[...]/openai.azure.com/openai/deployments/gpt-35-turbo/chat/completions?api-version=2024-02-01" |
@JB0207 Can you please specify how exactly your URL should look like? When you specify |
@irudnyts Thank you for your fast response! Ah, I understand... According to the documentation of Azure OpenAI Service the endpoint url should look like this: |
No... I couldn't get the example code snippet to work. |
It seems that just need to change the
base_url
to a function parameter that can be passed in.https://github.com/search?q=repo%3Airudnyts%2Fopenai%20https%3A%2F%2Fapi.openai.com%2Fv1&type=code
Reference: https://learn.microsoft.com/en-us/azure/cognitive-services/openai/chatgpt-quickstart?tabs=powershell&pivots=rest-api
The text was updated successfully, but these errors were encountered: