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

Use Azure OpenAI Libraries to Enable Azure OpenAI in addition to OpenAI integration #68972

Open
sharkymcdongles opened this issue Apr 16, 2024 · 5 comments

Comments

@sharkymcdongles
Copy link

Problem Statement

Most bigger organizations use Azure OpenAI rather than OpenAI directly since they already have Azure accounts. The current AI suggestion implemenation uses the OpenAI libs instead of the Azure libraries meaning you cannot support both options.

Solution Brainstorm

Migrate to these libraries https://platform.openai.com/docs/libraries/azure-openai-libraries

Product Area

Issues - Suggested Fix

@getsantry
Copy link
Contributor

getsantry bot commented Apr 16, 2024

Assigning to @getsentry/support for routing ⏲️

@getsantry getsantry bot moved this to Waiting for: Support in GitHub Issues with 👀 2 Apr 16, 2024
@sharkymcdongles
Copy link
Author

sharkymcdongles commented Apr 16, 2024

Looks like openai lib supports as well so might be as easy as allowing azure specific env vars and if they exist using the azure api client from openai.

@sharkymcdongles
Copy link
Author

See this PR for a proposed way of solving this:

#68981

@getsantry
Copy link
Contributor

getsantry bot commented Apr 16, 2024

Routing to @getsentry/product-owners-issues-suggested-fix for triage ⏲️

@getsantry getsantry bot moved this from Waiting for: Support to Waiting for: Product Owner in GitHub Issues with 👀 2 Apr 16, 2024
@trillville
Copy link
Contributor

@sharkymcdongles thanks for raising this issue and proposing a suggestion! One of our engineers, @JoshFerge is working on a general purpose LLM adapter.

#68771

It would probably make sense to build off of this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

3 participants