Skip to content
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

Support Dedicated OpenAI API Deployments on Azure. #124

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

Steve235lab
Copy link

It originally only supports OPENAI_API_KEY with prefix "sk-" and accessing to default APIs hosted by OpenAI. Now with this patch, it can run with dedicated OpenAI APIs hosted on Azure. And of course it's still compatible with "sk-" keys.

@Mixarar
Copy link

Mixarar commented Sep 14, 2023

I am still curious on how do you even get Azure OpenAI as it requires you to send an application, and it also requires you to be an approved Company.

@Steve235lab
Copy link
Author

I am still curious on how do you even get Azure OpenAI as it requires you to send an application, and it also requires you to be an approved Company.

I am not in charge of this, so I can't tell you the details. By the way, we are enterprise users.

@ALenTiger
Copy link

Thank you so much, man! You saved me a lot of time, trouble, and money! Let me buy you a coffee or something! Everything worked apart for the embedings. I used the normal Open AI embeddings instead of Azure Open AI API it's only a few cents. Maybe it's something with my Python version I might try it out with a higher version then 3.9 if I find the time.

@t0xk
Copy link

t0xk commented May 30, 2024

I am still curious on how do you even get Azure OpenAI as it requires you to send an application, and it also requires you to be an approved Company.

If you are a student, provide the school info and you should be accepted through the Azure for Students program. Tested and true for 6/6 account that we used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants