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

[Feature] Add an option for the OpenAI Host interface. #1542

Open
ni00 opened this issue Dec 28, 2023 · 1 comment
Open

[Feature] Add an option for the OpenAI Host interface. #1542

ni00 opened this issue Dec 28, 2023 · 1 comment
Assignees
Labels
desktop MQTTX Desktop enhancement New feature or request feature This pr is a feature
Milestone

Comments

@ni00
Copy link
Contributor

ni00 commented Dec 28, 2023

Motivation

Some users do not directly use the api host service provided by OpenAI, but use third-party openai compatible interfaces, such as Azure OpenAI API or Claude, which can also return compatible data and results.

Detailed design

Add an option in the settings (and a field in the database at the same time), the default value is the official Host interface of OpenAI, but users can customize it.

img1

Alternatives

Maintain the status quo, as the official api can deliver the best performance. However, in some areas (including China), it may not be possible to directly use OpenAI's interface service.

More detail (optional)

Other similar options in open source projects (ChatBox):

img2
img3

@ni00 ni00 added the feature This pr is a feature label Dec 28, 2023
@Red-Asuka Red-Asuka added desktop MQTTX Desktop enhancement New feature or request labels Dec 28, 2023
@ysfscream ysfscream self-assigned this Dec 29, 2023
@ysfscream ysfscream modified the milestones: v1.9.10, v1.9.9 Dec 29, 2023
@ysfscream
Copy link
Member

Thank you for the suggestions, @ni00! They are indeed valuable. Currently, we focus on rapidly testing and implementing the Copilot AI functionality, which is why we initially opted for OpenAI's API. Your idea of integrating third-party OpenAI-compatible interfaces is interesting and could be considered for future updates. If you're interested, feel free to join in on the contributions. Thanks again!

@ysfscream ysfscream modified the milestones: v1.9.9, v1.9.10 Feb 18, 2024
@ysfscream ysfscream modified the milestones: v1.9.10, v1.10.1, v1.10.0 Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
desktop MQTTX Desktop enhancement New feature or request feature This pr is a feature
Projects
Status: Backlog
Development

No branches or pull requests

3 participants