-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Discussion on Rethinking Design and Responsibility Scope #468
Comments
I suggest option 2. Although OpenAI API and Azure OpenAI Service have gradually produced some differences, I think the same parts of the two are still overwhelmingly |
FYI: I found azure-sdk-for-go as the official SDK for Azure. This SDK supports Azure OpenAI Service. I'm asking out of curiosity, but what could be the reason for using Go OpenAI instead of the official SDK for Azure OpenAI Service? |
I use Go OpenAI for the following reasons:
|
The reason why I use go-openai is mainly the following 3 points:
About
|
I recommend a clean split and consolidating it all under the go-llm organization |
@ealvar3z the go-llm project is super interesting, however it's a project that I'm sure many folks would be wary of running in an enterprise production environment given the number of experimental features in the code (ie. arbitrary BASH code execution on the host machine). |
Overview
Currently, Go OpenAI supports both OpenAI API and Azure OpenAI Service. Many contributors have been actively supporting both, but over time, differences in specifications between the OpenAI API and Azure OpenAI have been emerging.
For instance, discrepancies can be observed in the following:
The code abstracting both OpenAI API and Azure OpenAI Service is becoming increasingly complex, compromising its maintainability as a result. Moreover, it becomes challenging for users to determine which specific fields in the requests or responses are valid for the OpenAI API versus the Azure OpenAI Service.
Given this, there's a perceived need to discuss the future design and responsibility scope of Go OpenAI.
Proposal
I propose the following two approaches:
Each of these approaches has its own merits and demerits. I have summarized each below.
1. Separate the code for OpenAI API and Azure OpenAI Service, placing each in different repositories
Pros:
Cons:
Note: As proposed by Alex, there's also an option to maintain separate libraries for OpenAI API and Azure OpenAI Service within the https://github.com/go-llm organization.
2. Keep the code for both OpenAI API and Azure OpenAI Service in the same repository but separate them into distinct packages
Pros:
Cons:
I would love to discuss this with all of you in this open forum.
The text was updated successfully, but these errors were encountered: