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

Allow for support for Azure OpenAI Services #117

Closed
msandbu opened this issue Mar 28, 2023 · 9 comments · Fixed by #309
Closed

Allow for support for Azure OpenAI Services #117

msandbu opened this issue Mar 28, 2023 · 9 comments · Fixed by #309
Assignees
Labels
enhancement New feature or request

Comments

@msandbu
Copy link

msandbu commented Mar 28, 2023

Since many (including myself) with organizations will be using ChatGPT as part of Azure OpenAI Service. The feature should also allow the ability to point to ChatGPT running on Azure OpenAI Services.

It is using the same API but different endpoint https://openaichatgpt.openai.azure.com, could for instance be a featureflag to point it to another endpoint?

@AlexsJones
Copy link
Member

We have the ability to switch the --backend and an IAI interface which should make implementing it pretty easily.
Do you know if there is a golang based SDK? The current SDK we use is tightly coupled to OpenAI public endpoints though I could look at whether we can modify that.

@AlexsJones AlexsJones added the enhancement New feature or request label Mar 28, 2023
@msandbu
Copy link
Author

msandbu commented Mar 28, 2023

Are you using this? https://github.com/sashabaranov/go-openai (Do not believe there is
Perhaps it would be better if I get support for the Azure OpenAI endpoint there first make it easier to add the new backend here?

@roberthstrand
Copy link
Member

roberthstrand commented Mar 30, 2023

I'm looking into this going forward. The SDK we are using has an open issue on support for Azure OpenAI, but I will look into several solutions for this.

@roberthstrand roberthstrand self-assigned this Mar 30, 2023
@AlexsJones
Copy link
Member

I feel we might want to build our own SDK to control our destiny a bit more.

@roberthstrand
Copy link
Member

I was thinking of that as well. Let's have a discussion about it tomorrow, when I got more time :)

@stulzq
Copy link

stulzq commented Mar 30, 2023

This is a solution:https://github.com/stulzq/azure-openai-proxy

@jnytnai0613
Copy link

Are you using this? https://github.com/sashabaranov/go-openai (Do not believe there is Perhaps it would be better if I get support for the Azure OpenAI endpoint there first make it easier to add the new backend here?

Hi!
It seems that sashabaranov/go-openai already supports Azure OpenAI.
https://github.com/sashabaranov/go-openai/releases/tag/v1.6.0

@arbreezy
Copy link
Member

I have created a draft PR to introduce azure open ai provider, bear with us a little longer as it also includes other changes that need to test first before merging it

@arbreezy
Copy link
Member

@msandbu , would you be able to beta-test the feature since I don't have an azure openai deployment up and running?

fyuan1316 pushed a commit to fyuan1316/k8sgpt that referenced this issue Jun 26, 2023
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

6 participants