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

Azure OpenAI Integration #690

Open
thickmn opened this issue May 6, 2024 · 3 comments
Open

Azure OpenAI Integration #690

thickmn opened this issue May 6, 2024 · 3 comments

Comments

@thickmn
Copy link

thickmn commented May 6, 2024

Azure OpenAI is a common enterprise option for a lot of companies integrating LLMs into their environment. It's our only option for genAI, so any integration would be great!

@doberst
Copy link
Contributor

doberst commented May 7, 2024

@thickmn - thanks - we are working on it!

@doberst
Copy link
Contributor

doberst commented May 7, 2024

@thinkmn - we have merged a proposed fix into the main branch - could you check it out and confirm if this will meet your needs in terms of configuration of the AzureOpenAI client - please check out the example - appreciate your help and support to test and make sure it meets your needs!

@thickmn
Copy link
Author

thickmn commented May 8, 2024

@doberst - thanks for the quick response here! My first go at testing looks like it tries to call openai with a user managed api key and can't successfully set the azure client with the environment variables in the example. I'm going to spend more time on this tomorrow, but just as an FYI, when using langchain's integration, I had to pass:
OPENAI_API_TYPE=azure
OPEN_API_BASE
OPEN_API_KEY
OPEN_API_VERSION
DEPLOYMENT_NAME

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

No branches or pull requests

2 participants