-
Notifications
You must be signed in to change notification settings - Fork 60.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
101 changed files
with
6,590 additions
and
951 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,3 +44,5 @@ dev | |
|
||
*.key | ||
*.key.pub | ||
|
||
masks.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
1<div align="center"> | ||
<img src="./docs/images/head-cover.png" alt="icon"/> | ||
<div align="center"> | ||
|
||
<a href='#企业版'> | ||
<img src="./docs/images/ent.svg" alt="icon"/> | ||
</a> | ||
|
||
<h1 align="center">NextChat (ChatGPT Next Web)</h1> | ||
|
||
|
@@ -14,9 +17,9 @@ One-Click to get a well-designed cross-platform ChatGPT web UI, with GPT3, GPT4 | |
[![MacOS][MacOS-image]][download-url] | ||
[![Linux][Linux-image]][download-url] | ||
|
||
[Web App](https://app.nextchat.dev/) / [Desktop App](https://github.com/Yidadaa/ChatGPT-Next-Web/releases) / [Discord](https://discord.gg/YCkeafCafC) / [Twitter](https://twitter.com/NextChatDev) | ||
[Web App](https://app.nextchat.dev/) / [Desktop App](https://github.com/Yidadaa/ChatGPT-Next-Web/releases) / [Discord](https://discord.gg/YCkeafCafC) / [Enterprise Edition](#enterprise-edition) / [Twitter](https://twitter.com/NextChatDev) | ||
|
||
[网页版](https://app.nextchat.dev/) / [客户端](https://github.com/Yidadaa/ChatGPT-Next-Web/releases) / [反馈](https://github.com/Yidadaa/ChatGPT-Next-Web/issues) | ||
[网页版](https://app.nextchat.dev/) / [客户端](https://github.com/Yidadaa/ChatGPT-Next-Web/releases) / [企业版](#%E4%BC%81%E4%B8%9A%E7%89%88) / [反馈](https://github.com/Yidadaa/ChatGPT-Next-Web/issues) | ||
|
||
[web-url]: https://app.nextchat.dev/ | ||
[download-url]: https://github.com/Yidadaa/ChatGPT-Next-Web/releases | ||
|
@@ -25,15 +28,37 @@ One-Click to get a well-designed cross-platform ChatGPT web UI, with GPT3, GPT4 | |
[MacOS-image]: https://img.shields.io/badge/-MacOS-black?logo=apple | ||
[Linux-image]: https://img.shields.io/badge/-Linux-333?logo=ubuntu | ||
|
||
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FChatGPTNextWeb%2FChatGPT-Next-Web&env=OPENAI_API_KEY&env=CODE&project-name=nextchat&repository-name=NextChat) | ||
[<img src="https://vercel.com/button" alt="Deploy on Zeabur" height="30">](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FChatGPTNextWeb%2FChatGPT-Next-Web&env=OPENAI_API_KEY&env=CODE&project-name=nextchat&repository-name=NextChat) [<img src="https://zeabur.com/button.svg" alt="Deploy on Zeabur" height="30">](https://zeabur.com/templates/ZBUEFA) [<img src="https://gitpod.io/button/open-in-gitpod.svg" alt="Open in Gitpod" height="30">](https://gitpod.io/#https://github.com/Yidadaa/ChatGPT-Next-Web) | ||
|
||
[![Deploy on Zeabur](https://zeabur.com/button.svg)](https://zeabur.com/templates/ZBUEFA) | ||
</div> | ||
|
||
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/Yidadaa/ChatGPT-Next-Web) | ||
## Enterprise Edition | ||
|
||
![cover](./docs/images/cover.png) | ||
Meeting Your Company's Privatization and Customization Deployment Requirements: | ||
- **Brand Customization**: Tailored VI/UI to seamlessly align with your corporate brand image. | ||
- **Resource Integration**: Unified configuration and management of dozens of AI resources by company administrators, ready for use by team members. | ||
- **Permission Control**: Clearly defined member permissions, resource permissions, and knowledge base permissions, all controlled via a corporate-grade Admin Panel. | ||
- **Knowledge Integration**: Combining your internal knowledge base with AI capabilities, making it more relevant to your company's specific business needs compared to general AI. | ||
- **Security Auditing**: Automatically intercept sensitive inquiries and trace all historical conversation records, ensuring AI adherence to corporate information security standards. | ||
- **Private Deployment**: Enterprise-level private deployment supporting various mainstream private cloud solutions, ensuring data security and privacy protection. | ||
- **Continuous Updates**: Ongoing updates and upgrades in cutting-edge capabilities like multimodal AI, ensuring consistent innovation and advancement. | ||
|
||
</div> | ||
For enterprise inquiries, please contact: **[email protected]** | ||
|
||
## 企业版 | ||
|
||
满足企业用户私有化部署和个性化定制需求: | ||
- **品牌定制**:企业量身定制 VI/UI,与企业品牌形象无缝契合 | ||
- **资源集成**:由企业管理人员统一配置和管理数十种 AI 资源,团队成员开箱即用 | ||
- **权限管理**:成员权限、资源权限、知识库权限层级分明,企业级 Admin Panel 统一控制 | ||
- **知识接入**:企业内部知识库与 AI 能力相结合,比通用 AI 更贴近企业自身业务需求 | ||
- **安全审计**:自动拦截敏感提问,支持追溯全部历史对话记录,让 AI 也能遵循企业信息安全规范 | ||
- **私有部署**:企业级私有部署,支持各类主流私有云部署,确保数据安全和隐私保护 | ||
- **持续更新**:提供多模态、智能体等前沿能力持续更新升级服务,常用常新、持续先进 | ||
|
||
企业版咨询: **[email protected]** | ||
|
||
<img width="300" src="https://github.com/user-attachments/assets/3daeb7b6-ab63-4542-9141-2e4a12c80601"> | ||
|
||
## Features | ||
|
||
|
@@ -49,6 +74,12 @@ One-Click to get a well-designed cross-platform ChatGPT web UI, with GPT3, GPT4 | |
- Automatically compresses chat history to support long conversations while also saving your tokens | ||
- I18n: English, 简体中文, 繁体中文, 日本語, Français, Español, Italiano, Türkçe, Deutsch, Tiếng Việt, Русский, Čeština, 한국어, Indonesia | ||
|
||
<div align="center"> | ||
|
||
![主界面](./docs/images/cover.png) | ||
|
||
</div> | ||
|
||
## Roadmap | ||
|
||
- [x] System Prompt: pin a user defined prompt as system prompt [#138](https://github.com/Yidadaa/ChatGPT-Next-Web/issues/138) | ||
|
@@ -57,10 +88,14 @@ One-Click to get a well-designed cross-platform ChatGPT web UI, with GPT3, GPT4 | |
- [x] Share as image, share to ShareGPT [#1741](https://github.com/Yidadaa/ChatGPT-Next-Web/pull/1741) | ||
- [x] Desktop App with tauri | ||
- [x] Self-host Model: Fully compatible with [RWKV-Runner](https://github.com/josStorer/RWKV-Runner), as well as server deployment of [LocalAI](https://github.com/go-skynet/LocalAI): llama/gpt4all/rwkv/vicuna/koala/gpt4all-j/cerebras/falcon/dolly etc. | ||
- [ ] Plugins: support network search, calculator, any other apis etc. [#165](https://github.com/Yidadaa/ChatGPT-Next-Web/issues/165) | ||
- [x] Artifacts: Easily preview, copy and share generated content/webpages through a separate window [#5092](https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/pull/5092) | ||
- [x] Plugins: support artifacts, network search, calculator, any other apis etc. [#165](https://github.com/Yidadaa/ChatGPT-Next-Web/issues/165) | ||
- [x] artifacts | ||
- [ ] network search, network search, calculator, any other apis etc. [#165](https://github.com/Yidadaa/ChatGPT-Next-Web/issues/165) | ||
|
||
## What's New | ||
|
||
- 🚀 v2.14.0 Now supports Artifacts & SD | ||
- 🚀 v2.10.1 support Google Gemini Pro model. | ||
- 🚀 v2.9.11 you can use azure endpoint now. | ||
- 🚀 v2.8 now we have a client that runs across all platforms! | ||
|
@@ -89,15 +124,20 @@ One-Click to get a well-designed cross-platform ChatGPT web UI, with GPT3, GPT4 | |
- [x] 分享为图片,分享到 ShareGPT 链接 [#1741](https://github.com/Yidadaa/ChatGPT-Next-Web/pull/1741) | ||
- [x] 使用 tauri 打包桌面应用 | ||
- [x] 支持自部署的大语言模型:开箱即用 [RWKV-Runner](https://github.com/josStorer/RWKV-Runner) ,服务端部署 [LocalAI 项目](https://github.com/go-skynet/LocalAI) llama / gpt4all / rwkv / vicuna / koala / gpt4all-j / cerebras / falcon / dolly 等等,或者使用 [api-for-open-llm](https://github.com/xusenlinzy/api-for-open-llm) | ||
- [ ] 插件机制,支持联网搜索、计算器、调用其他平台 api [#165](https://github.com/Yidadaa/ChatGPT-Next-Web/issues/165) | ||
- [x] Artifacts: 通过独立窗口,轻松预览、复制和分享生成的内容/可交互网页 [#5092](https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/pull/5092) | ||
- [x] 插件机制,支持 artifacts,联网搜索、计算器、调用其他平台 api [#165](https://github.com/Yidadaa/ChatGPT-Next-Web/issues/165) | ||
- [x] artifacts | ||
- [ ] 支持联网搜索、计算器、调用其他平台 api [#165](https://github.com/Yidadaa/ChatGPT-Next-Web/issues/165) | ||
|
||
## 最新动态 | ||
|
||
- 🚀 v2.14.0 现在支持 Artifacts & SD 了。 | ||
- 🚀 v2.10.1 现在支持 Gemini Pro 模型。 | ||
- 🚀 v2.9.11 现在可以使用自定义 Azure 服务了。 | ||
- 🚀 v2.8 发布了横跨 Linux/Windows/MacOS 的体积极小的客户端。 | ||
- 🚀 v2.7 现在可以将会话分享为图片了,也可以分享到 ShareGPT 的在线链接。 | ||
- 🚀 v2.0 已经发布,现在你可以使用面具功能快速创建预制对话了! 了解更多: [ChatGPT 提示词高阶技能:零次、一次和少样本提示](https://github.com/Yidadaa/ChatGPT-Next-Web/issues/138)。 | ||
- 💡 想要更方便地随时随地使用本项目?可以试下这款桌面插件:https://github.com/mushan0x0/AI0x0.com | ||
- 🚀 v2.7 现在可以将会话分享为图片了,也可以分享到 ShareGPT 的在线链接。 | ||
- 🚀 v2.8 发布了横跨 Linux/Windows/MacOS 的体积极小的客户端。 | ||
- 🚀 v2.9.11 现在可以使用自定义 Azure 服务了。 | ||
|
||
## Get Started | ||
|
||
|
@@ -180,8 +220,7 @@ Specify OpenAI organization ID. | |
|
||
### `AZURE_URL` (optional) | ||
|
||
> Example: https://{azure-resource-url}/openai/deployments/{deploy-name} | ||
> if you config deployment name in `CUSTOM_MODELS`, you can remove `{deploy-name}` in `AZURE_URL` | ||
> Example: https://{azure-resource-url}/openai | ||
Azure deploy url. | ||
|
||
|
@@ -241,6 +280,18 @@ Alibaba Cloud Api Key. | |
|
||
Alibaba Cloud Api Url. | ||
|
||
### `IFLYTEK_URL` (Optional) | ||
|
||
iflytek Api Url. | ||
|
||
### `IFLYTEK_API_KEY` (Optional) | ||
|
||
iflytek Api Key. | ||
|
||
### `IFLYTEK_API_SECRET` (Optional) | ||
|
||
iflytek Api Secret. | ||
|
||
### `HIDE_USER_API_KEY` (optional) | ||
|
||
> Default: Empty | ||
|
@@ -276,6 +327,7 @@ User `-all` to disable all default models, `+all` to enable all default models. | |
|
||
For Azure: use `modelName@azure=deploymentName` to customize model name and deployment name. | ||
> Example: `+gpt-3.5-turbo@azure=gpt35` will show option `gpt35(Azure)` in model list. | ||
> If you only can use Azure model, `-all,+gpt-3.5-turbo@azure=gpt35` will `gpt35(Azure)` the only option in model list. | ||
For ByteDance: use `modelName@bytedance=deploymentName` to customize model name and deployment name. | ||
> Example: `+Doubao-lite-4k@bytedance=ep-xxxxx-xxx` will show option `Doubao-lite-4k(ByteDance)` in model list. | ||
|
@@ -295,6 +347,14 @@ You can use this option if you want to increase the number of webdav service add | |
|
||
Customize the default template used to initialize the User Input Preprocessing configuration item in Settings. | ||
|
||
### `STABILITY_API_KEY` (optional) | ||
|
||
Stability API key. | ||
|
||
### `STABILITY_URL` (optional) | ||
|
||
Customize Stability API url. | ||
|
||
## Requirements | ||
|
||
NodeJS >= 18, Docker >= 20 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,33 @@ | ||
<div align="center"> | ||
<img src="./docs/images/icon.svg" alt="预览"/> | ||
|
||
<a href='#企业版'> | ||
<img src="./docs/images/ent.svg" alt="icon"/> | ||
</a> | ||
|
||
<h1 align="center">NextChat</h1> | ||
|
||
一键免费部署你的私人 ChatGPT 网页应用,支持 GPT3, GPT4 & Gemini Pro 模型。 | ||
|
||
[演示 Demo](https://chat-gpt-next-web.vercel.app/) / [反馈 Issues](https://github.com/Yidadaa/ChatGPT-Next-Web/issues) / [加入 Discord](https://discord.gg/zrhvHCr79N) | ||
[企业版](#%E4%BC%81%E4%B8%9A%E7%89%88) /[演示 Demo](https://chat-gpt-next-web.vercel.app/) / [反馈 Issues](https://github.com/Yidadaa/ChatGPT-Next-Web/issues) / [加入 Discord](https://discord.gg/zrhvHCr79N) | ||
|
||
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FYidadaa%2FChatGPT-Next-Web&env=OPENAI_API_KEY&env=CODE&project-name=chatgpt-next-web&repository-name=ChatGPT-Next-Web) | ||
[<img src="https://vercel.com/button" alt="Deploy on Zeabur" height="30">](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FChatGPTNextWeb%2FChatGPT-Next-Web&env=OPENAI_API_KEY&env=CODE&project-name=nextchat&repository-name=NextChat) [<img src="https://zeabur.com/button.svg" alt="Deploy on Zeabur" height="30">](https://zeabur.com/templates/ZBUEFA) [<img src="https://gitpod.io/button/open-in-gitpod.svg" alt="Open in Gitpod" height="30">](https://gitpod.io/#https://github.com/Yidadaa/ChatGPT-Next-Web) | ||
|
||
[![Deploy on Zeabur](https://zeabur.com/button.svg)](https://zeabur.com/templates/ZBUEFA) | ||
</div> | ||
|
||
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/Yidadaa/ChatGPT-Next-Web) | ||
## 企业版 | ||
|
||
![主界面](./docs/images/cover.png) | ||
满足您公司私有化部署和定制需求 | ||
- **品牌定制**:企业量身定制 VI/UI,与企业品牌形象无缝契合 | ||
- **资源集成**:由企业管理人员统一配置和管理数十种 AI 资源,团队成员开箱即用 | ||
- **权限管理**:成员权限、资源权限、知识库权限层级分明,企业级 Admin Panel 统一控制 | ||
- **知识接入**:企业内部知识库与 AI 能力相结合,比通用 AI 更贴近企业自身业务需求 | ||
- **安全审计**:自动拦截敏感提问,支持追溯全部历史对话记录,让 AI 也能遵循企业信息安全规范 | ||
- **私有部署**:企业级私有部署,支持各类主流私有云部署,确保数据安全和隐私保护 | ||
- **持续更新**:提供多模态、智能体等前沿能力持续更新升级服务,常用常新、持续先进 | ||
|
||
</div> | ||
企业版咨询: **[email protected]** | ||
|
||
<img width="300" src="https://github.com/user-attachments/assets/3daeb7b6-ab63-4542-9141-2e4a12c80601"> | ||
|
||
## 开始使用 | ||
|
||
|
@@ -25,6 +37,12 @@ | |
3. 部署完毕后,即可开始使用; | ||
4. (可选)[绑定自定义域名](https://vercel.com/docs/concepts/projects/domains/add-a-domain):Vercel 分配的域名 DNS 在某些区域被污染了,绑定自定义域名即可直连。 | ||
|
||
<div align="center"> | ||
|
||
![主界面](./docs/images/cover.png) | ||
|
||
</div> | ||
|
||
## 保持更新 | ||
|
||
如果你按照上述步骤一键部署了自己的项目,可能会发现总是提示“存在更新”的问题,这是由于 Vercel 会默认为你创建一个新项目而不是 fork 本项目,这会导致无法正确地检测更新。 | ||
|
@@ -94,8 +112,7 @@ OpenAI 接口代理 URL,如果你手动配置了 openai 接口代理,请填 | |
|
||
### `AZURE_URL` (可选) | ||
|
||
> 形如:https://{azure-resource-url}/openai/deployments/{deploy-name} | ||
> 如果你已经在`CUSTOM_MODELS`中参考`displayName`的方式配置了{deploy-name},那么可以从`AZURE_URL`中移除`{deploy-name}` | ||
> 形如:https://{azure-resource-url}/openai | ||
Azure 部署地址。 | ||
|
||
|
@@ -155,6 +172,20 @@ ByteDance Api Url. | |
|
||
阿里云(千问)Api Url. | ||
|
||
### `IFLYTEK_URL` (可选) | ||
|
||
讯飞星火Api Url. | ||
|
||
### `IFLYTEK_API_KEY` (可选) | ||
|
||
讯飞星火Api Key. | ||
|
||
### `IFLYTEK_API_SECRET` (可选) | ||
|
||
讯飞星火Api Secret. | ||
|
||
|
||
|
||
### `HIDE_USER_API_KEY` (可选) | ||
|
||
如果你不想让用户自行填入 API Key,将此环境变量设置为 1 即可。 | ||
|
@@ -186,7 +217,8 @@ ByteDance Api Url. | |
用来控制模型列表,使用 `+` 增加一个模型,使用 `-` 来隐藏一个模型,使用 `模型名=展示名` 来自定义模型的展示名,用英文逗号隔开。 | ||
|
||
在Azure的模式下,支持使用`modelName@azure=deploymentName`的方式配置模型名称和部署名称(deploy-name) | ||
> 示例:`+gpt-3.5-turbo@azure=gpt35`这个配置会在模型列表显示一个`gpt35(Azure)`的选项 | ||
> 示例:`+gpt-3.5-turbo@azure=gpt35`这个配置会在模型列表显示一个`gpt35(Azure)`的选项。 | ||
> 如果你只能使用Azure模式,那么设置 `-all,+gpt-3.5-turbo@azure=gpt35` 则可以让对话的默认使用 `gpt35(Azure)` | ||
在ByteDance的模式下,支持使用`modelName@bytedance=deploymentName`的方式配置模型名称和部署名称(deploy-name) | ||
> 示例: `+Doubao-lite-4k@bytedance=ep-xxxxx-xxx`这个配置会在模型列表显示一个`Doubao-lite-4k(ByteDance)`的选项 | ||
|
@@ -200,6 +232,15 @@ ByteDance Api Url. | |
|
||
自定义默认的 template,用于初始化『设置』中的『用户输入预处理』配置项 | ||
|
||
### `STABILITY_API_KEY` (optional) | ||
|
||
Stability API密钥 | ||
|
||
### `STABILITY_URL` (optional) | ||
|
||
自定义的Stability API请求地址 | ||
|
||
|
||
## 开发 | ||
|
||
点击下方按钮,开始二次开发: | ||
|
Oops, something went wrong.