ChatGPTNextWeb / ChatGPT-Next-Web

A cross-platform ChatGPT/Gemini UI (Web / PWA / Linux / Win / MacOS). 一键拥有你自己的跨平台 ChatGPT/Gemini 应用。
https://app.nextchat.dev/
MIT License
72.68k stars 57.74k forks source link

[Feature] 快速在多个AI中切换。 #3883

Open aaro-n opened 5 months ago

aaro-n commented 5 months ago

为了提高交流效率,我们设立了官方 QQ 群和 QQ 频道,如果你在使用或者搭建过程中遇到了任何问题,请先第一时间加群或者频道咨询解决,除非是可以稳定复现的 Bug 或者较为有创意的功能建议,否则请不要随意往 Issue 区发送低质无意义帖子。

点击加入官方群聊

这个功能与现有的问题有关吗?

你想要什么功能或者有什么建议? ChatGPT-Next-Web可以配置多个不同AI,但无法快捷切换不同AI,我希望ChatGPT-Next-Web可以在后台配置后 ,网页可以快速切换不同AI 。

有没有可以参考的同类竞品?

其他信息 如果要实现这个功能,需要修改ChatGPT-Next-Web后台和网页,我只是业余爱好者。

想法

ChatGPT-Next-Web 后台配置不同Ai访问地址和密钥,例如: AI1:OPENAI OPENAI地址,OPENAI访问密钥,OPENAI其他配置 AI2:AZURE_API AZURE_API地址,AZURE_API密钥,AZURE_API其他配置 AI3:GOOGLE_API GOOGLE_API地址,GOOGLE_API密钥 ,GOOGLE_API其他配置 AI4 ...... AI5 ......... 网页端需要添加选择不同Ai选项,并且以不同颜色标识,这样可以方便识别,例如:AI1红色,ai2青色,ai3橙色。

Issues-translate-bot commented 5 months ago

Bot detected the issue body's language is not English, translate it automatically.


Title: [Feature] Quickly switch between multiple AIs.

In order to improve communication efficiency, we have set up an official QQ group and QQ channel. If you encounter any problems during use or construction, please join the group or channel for consultation as soon as possible, unless it is a bug that can be stably reproduced or More creative feature suggestions, otherwise please do not send low-quality and meaningless posts to the Issue area.

Click to join the official group chat

Is this feature related to an existing issue? none

What features do you want or have any suggestions? ChatGPT-Next-Web can configure multiple different AIs, but it cannot quickly switch between different AIs. I hope ChatGPT-Next-Web can be configured in the background , the web page can quickly switch between different AIs.

Are there any similar competing products that we can refer to? none

other information If you want to implement this function, you need to modify the ChatGPT-Next-Web background and web page. I am just an amateur.

idea

ChatGPT-Next-Web backend configures different Ai access addresses and keys, for example: AI1:OPENAI OPENAI address, OPENAI access key, OPENAI other configurations AI2:AZURE_API AZURE_API address, AZURE_API key, AZURE_API other configurations AI3:GOOGLE_API GOOGLE_API address, GOOGLE_API key, GOOGLE_API other configurations AI4 ... AI5 ......... The web page needs to add different AI options and mark them with different colors so that they can be easily identified, for example: AI1 red, ai2 cyan, ai3 orange.

AbnerChen028 commented 5 months ago

+1

Tim-Saijun commented 5 months ago

同,能同时调用多个AI就更好了

Issues-translate-bot commented 5 months ago

Bot detected the issue body's language is not English, translate it automatically.


Same, it would be better to be able to call multiple AIs at the same time

AndyX-Net commented 4 months ago

引用:https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/issues/4111

目前有一个解决方法,使用One-API作为中间层,可以匹配多个不同/相同的AI接入点: https://github.com/songquanpeng/one-api

一旦配置好之后,你只需要在ChatGPT-Next-Web选择相应的模型即可。

Issues-translate-bot commented 4 months ago

Bot detected the issue body's language is not English, translate it automatically.


Quote: https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/issues/4111

There is currently a solution, using One-API as the middle layer, which can match multiple different/same AI access points: https://github.com/songquanpeng/one-api

Once configured, you only need to select the corresponding model in ChatGPT-Next-Web.

H0llyW00dzZ commented 4 months ago

引用:#4111

目前有一个解决方法,使用One-API作为中间层,可以匹配多个不同/相同的AI接入点: https://github.com/songquanpeng/one-api

一旦配置好之后,你只需要在ChatGPT-Next-Web选择相应的模型即可。

Yes I recommended it, this is the most stable version I've used on my Kubernetes (k8s). It's a free setup with better performance, written in Go using the Gin package. Essentially, all you need is your own API key and host.

oicoderr commented 1 month ago

在不更改chatgpt-next-web项目前提,可以采用代理转发(https://github.com/oicoderr/azure-openai-proxy)希望可以帮助到你

Issues-translate-bot commented 1 month ago

Bot detected the issue body's language is not English, translate it automatically.


Without changing the chatgpt-next-web project, you can use proxy forwarding (https://github.com/oicoderr/azure-openai-proxy). I hope it can help you.