Hk-Gosuto / ChatGPT-Next-Web-LangChain

一键拥有你自己的 ChatGPT 网页服务。 One-Click to deploy your own ChatGPT web UI.(基于 langchain 实现的插件版本 Plugin version implemented based on langchain)
https://n3xt.chat
MIT License
1.16k stars 384 forks source link

[Feature Request]: 自定义支持模型调用的模型列表 #286

Open GrayXu opened 5 months ago

GrayXu commented 5 months ago

Problem Description

所有 gpt 开头的模型(除 gpt-4-vision-preview)都会默认为支持模型调用

有一些非gpt模型也支持langchain,比如通过MartialBE/one-api转发的非OpenAI模型的函数调用

Solution Description

能不能类似custom_model,在环境变量或者设置界面上,提供一个额外的设置来手动设置自定义支持模型调用的模型列表

Alternatives Considered

No response

Additional Context

No response

Issues-translate-bot commented 5 months ago

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


Title: [Feature Request]: Customize the list of models that support model calling

Hk-Gosuto commented 5 months ago

我记得 langchain 在底层针对特定的 LLM provider 做了一些模型名的限制,这个需要做一些验证。

Issues-translate-bot commented 5 months ago

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


I remember that langchain has some model name restrictions on specific LLM providers at the bottom level. This requires some verification.