mirror of
https://github.com/arch3rPro/1Panel-Appstore.git
synced 2026-04-15 00:17:12 +08:00
feat: add upp ChatNio
This commit is contained in:
@@ -605,6 +605,15 @@ AI驱动的开源代码知识库与文档协作平台,支持多模型、多数
|
|||||||
</td>
|
</td>
|
||||||
<td width="33%" align="center">
|
<td width="33%" align="center">
|
||||||
|
|
||||||
|
<a href="./apps/chatnio/README.md">
|
||||||
|
<img src="./apps/chatnio/logo.png" width="60" height="60" alt="ChatNio">
|
||||||
|
<br><b>ChatNio</b>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
💬 下一代 AI 一站式解决方案,综合性 AI 服务管理平台
|
||||||
|
|
||||||
|
<kbd>3.11.2</kbd> • [官网链接](https://chatnio.net)
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
14
apps/chatnio/3.11.2/.env.sample
Normal file
14
apps/chatnio/3.11.2/.env.sample
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
CONTAINER_NAME="chatnio"
|
||||||
|
PANEL_APP_PORT_HTTP="40249"
|
||||||
|
PANEL_DB_HOST="mysql"
|
||||||
|
PANEL_DB_HOST_NAME="mysql"
|
||||||
|
PANEL_DB_NAME="chatnio_37rnt4"
|
||||||
|
PANEL_DB_PORT="3306"
|
||||||
|
PANEL_DB_TYPE="mysql"
|
||||||
|
PANEL_DB_USER="chatnio_67Hwxm"
|
||||||
|
PANEL_DB_USER_PASSWORD="chatnio_JpWrKG"
|
||||||
|
PANEL_REDIS_ROOT_PASSWORD="redis_password"
|
||||||
|
REDIS_DB="5"
|
||||||
|
REDIS_HOST="redis"
|
||||||
|
REDIS_PORT="6379"
|
||||||
|
SERVE_STATIC="true"
|
||||||
137
apps/chatnio/3.11.2/data.yml
Normal file
137
apps/chatnio/3.11.2/data.yml
Normal file
@@ -0,0 +1,137 @@
|
|||||||
|
additionalProperties:
|
||||||
|
formFields:
|
||||||
|
- default: 8094
|
||||||
|
edit: true
|
||||||
|
envKey: PANEL_APP_PORT_HTTP
|
||||||
|
required: true
|
||||||
|
rule: paramPort
|
||||||
|
type: number
|
||||||
|
label:
|
||||||
|
en: Web Port
|
||||||
|
ja: Webポート
|
||||||
|
ms: Port Web
|
||||||
|
pt-br: Porta Web
|
||||||
|
ru: Веб-порт
|
||||||
|
ko: 웹 포트
|
||||||
|
zh-Hant: Web 埠
|
||||||
|
zh: Web 端口
|
||||||
|
- default: chatnio
|
||||||
|
envKey: PANEL_DB_NAME
|
||||||
|
random: true
|
||||||
|
required: true
|
||||||
|
rule: paramCommon
|
||||||
|
type: text
|
||||||
|
label:
|
||||||
|
en: Database Name
|
||||||
|
ja: データベース名
|
||||||
|
ms: Nama Pangkalan Data
|
||||||
|
pt-br: Nome do Banco de Dados
|
||||||
|
ru: Имя базы данных
|
||||||
|
ko: 데이터베이스 이름
|
||||||
|
zh-Hant: 資料庫名稱
|
||||||
|
zh: 数据库名
|
||||||
|
- default: chatnio
|
||||||
|
envKey: PANEL_DB_USER
|
||||||
|
random: true
|
||||||
|
required: true
|
||||||
|
rule: paramCommon
|
||||||
|
type: text
|
||||||
|
label:
|
||||||
|
en: Database User
|
||||||
|
ja: データベースユーザー
|
||||||
|
ms: Pengguna Pangkalan Data
|
||||||
|
pt-br: Usuário do Banco de Dados
|
||||||
|
ru: Пользователь базы данных
|
||||||
|
ko: 데이터베이스 사용자
|
||||||
|
zh-Hant: 資料庫使用者
|
||||||
|
zh: 数据库用户
|
||||||
|
- default: chatnio
|
||||||
|
envKey: PANEL_DB_USER_PASSWORD
|
||||||
|
random: true
|
||||||
|
required: true
|
||||||
|
rule: paramComplexity
|
||||||
|
type: password
|
||||||
|
label:
|
||||||
|
en: Database Password
|
||||||
|
ja: データベースパスワード
|
||||||
|
ms: Kata Laluan Pangkalan Data
|
||||||
|
pt-br: Senha do Banco de Dados
|
||||||
|
ru: Пароль базы данных
|
||||||
|
ko: 데이터베이스 비밀번호
|
||||||
|
zh-Hant: 資料庫密碼
|
||||||
|
zh: 数据库密码
|
||||||
|
- default: chatnio
|
||||||
|
envKey: PANEL_DB_ROOT_PASSWORD
|
||||||
|
random: true
|
||||||
|
required: true
|
||||||
|
rule: paramComplexity
|
||||||
|
type: password
|
||||||
|
label:
|
||||||
|
en: Database Root Password
|
||||||
|
ja: データベースルートパスワード
|
||||||
|
ms: Kata Laluan Root Pangkalan Data
|
||||||
|
pt-br: Senha Root do Banco de Dados
|
||||||
|
ru: Пароль root базы данных
|
||||||
|
ko: 데이터베이스 루트 비밀번호
|
||||||
|
zh-Hant: 資料庫 Root 密碼
|
||||||
|
zh: 数据库 Root 密码
|
||||||
|
- default: chatnio
|
||||||
|
envKey: PANEL_REDIS_ROOT_PASSWORD
|
||||||
|
random: true
|
||||||
|
required: true
|
||||||
|
rule: paramComplexity
|
||||||
|
type: password
|
||||||
|
label:
|
||||||
|
en: Redis Password
|
||||||
|
ja: Redis パスワード
|
||||||
|
ms: Kata Laluan Redis
|
||||||
|
pt-br: Senha Redis
|
||||||
|
ru: Пароль Redis
|
||||||
|
ko: Redis 비밀번호
|
||||||
|
zh-Hant: Redis 密碼
|
||||||
|
zh: Redis 密码
|
||||||
|
- default: "0"
|
||||||
|
envKey: REDIS_DB
|
||||||
|
required: true
|
||||||
|
type: select
|
||||||
|
values:
|
||||||
|
- label: "0"
|
||||||
|
value: "0"
|
||||||
|
- label: "1"
|
||||||
|
value: "1"
|
||||||
|
- label: "2"
|
||||||
|
value: "2"
|
||||||
|
- label: "3"
|
||||||
|
value: "3"
|
||||||
|
- label: "4"
|
||||||
|
value: "4"
|
||||||
|
- label: "5"
|
||||||
|
value: "5"
|
||||||
|
label:
|
||||||
|
en: Redis Database
|
||||||
|
ja: Redis データベース
|
||||||
|
ms: Pangkalan Data Redis
|
||||||
|
pt-br: Banco de Dados Redis
|
||||||
|
ru: База данных Redis
|
||||||
|
ko: Redis 데이터베이스
|
||||||
|
zh-Hant: Redis 資料庫
|
||||||
|
zh: Redis 数据库
|
||||||
|
- default: "true"
|
||||||
|
edit: true
|
||||||
|
envKey: SERVE_STATIC
|
||||||
|
required: true
|
||||||
|
type: select
|
||||||
|
values:
|
||||||
|
- label: "Enable"
|
||||||
|
value: "true"
|
||||||
|
- label: "Disable"
|
||||||
|
value: "false"
|
||||||
|
label:
|
||||||
|
en: Serve Static Files
|
||||||
|
ja: 静的ファイルサービス
|
||||||
|
ms: Perkhidmatan Fail Statik
|
||||||
|
pt-br: Servir Arquivos Estáticos
|
||||||
|
ru: Обслуживание статических файлов
|
||||||
|
ko: 정적 파일 서비스
|
||||||
|
zh-Hant: 靜態檔案服務
|
||||||
|
zh: 静态文件服务
|
||||||
77
apps/chatnio/3.11.2/docker-compose.yml
Normal file
77
apps/chatnio/3.11.2/docker-compose.yml
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
services:
|
||||||
|
chatnio:
|
||||||
|
image: programzmh/chatnio:3.11.2
|
||||||
|
container_name: ${CONTAINER_NAME}
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- "${PANEL_APP_PORT_HTTP}:8094"
|
||||||
|
depends_on:
|
||||||
|
mysql:
|
||||||
|
condition: service_healthy
|
||||||
|
redis:
|
||||||
|
condition: service_healthy
|
||||||
|
environment:
|
||||||
|
MYSQL_HOST: mysql
|
||||||
|
MYSQL_USER: ${PANEL_DB_USER}
|
||||||
|
MYSQL_PASSWORD: ${PANEL_DB_USER_PASSWORD}
|
||||||
|
MYSQL_DB: ${PANEL_DB_NAME}
|
||||||
|
REDIS_HOST: redis
|
||||||
|
REDIS_PORT: 6379
|
||||||
|
REDIS_PASSWORD: ${PANEL_REDIS_ROOT_PASSWORD}
|
||||||
|
REDIS_DB: ${REDIS_DB}
|
||||||
|
SERVE_STATIC: "${SERVE_STATIC}"
|
||||||
|
volumes:
|
||||||
|
- ./data/config:/config
|
||||||
|
- ./data/logs:/logs
|
||||||
|
- ./data/storage:/storage
|
||||||
|
networks:
|
||||||
|
- 1panel-network
|
||||||
|
labels:
|
||||||
|
createdBy: "Apps"
|
||||||
|
|
||||||
|
mysql:
|
||||||
|
image: mysql:latest
|
||||||
|
container_name: ${CONTAINER_NAME}_mysql
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
MYSQL_ROOT_PASSWORD: ${PANEL_DB_ROOT_PASSWORD}
|
||||||
|
MYSQL_DATABASE: ${PANEL_DB_NAME}
|
||||||
|
MYSQL_USER: ${PANEL_DB_USER}
|
||||||
|
MYSQL_PASSWORD: ${PANEL_DB_USER_PASSWORD}
|
||||||
|
TZ: Asia/Shanghai
|
||||||
|
expose:
|
||||||
|
- "3306"
|
||||||
|
volumes:
|
||||||
|
- ./data/mysql:/var/lib/mysql
|
||||||
|
networks:
|
||||||
|
- 1panel-network
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "mysqladmin", "ping", "-h", "localhost"]
|
||||||
|
interval: 10s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 5
|
||||||
|
labels:
|
||||||
|
createdBy: "Apps"
|
||||||
|
|
||||||
|
redis:
|
||||||
|
image: redis:latest
|
||||||
|
container_name: ${CONTAINER_NAME}_redis
|
||||||
|
restart: always
|
||||||
|
command: redis-server --requirepass ${PANEL_REDIS_ROOT_PASSWORD}
|
||||||
|
expose:
|
||||||
|
- "6379"
|
||||||
|
volumes:
|
||||||
|
- ./data/redis:/data
|
||||||
|
networks:
|
||||||
|
- 1panel-network
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "redis-cli", "-a", "${PANEL_REDIS_ROOT_PASSWORD}", "ping"]
|
||||||
|
interval: 10s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 5
|
||||||
|
labels:
|
||||||
|
createdBy: "Apps"
|
||||||
|
|
||||||
|
networks:
|
||||||
|
1panel-network:
|
||||||
|
external: true
|
||||||
85
apps/chatnio/README.md
Normal file
85
apps/chatnio/README.md
Normal file
@@ -0,0 +1,85 @@
|
|||||||
|
|
||||||
|
# [Chat Nio](https://chatnio.net)
|
||||||
|
|
||||||
|
|
||||||
|
Chat Nio 是一个综合性的 AI 服务管理平台,作为 AI 能力与实际应用之间的桥梁。它提供统一的接口来管理多个 AI 模型,处理复杂的路由逻辑,并为 AI 驱动的应用程序提供企业级功能。
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
|
### 📋 使用说明
|
||||||
|
|
||||||
|
#### 默认账户信息
|
||||||
|
- **管理员账号**:`root`
|
||||||
|
- **默认密码**:`chatnio123456`
|
||||||
|
|
||||||
|
### ✨ 核心特性
|
||||||
|
|
||||||
|
1. 🤖️ **丰富模型支持**: 多模型服务商支持 (OpenAI / Anthropic / Gemini / Midjourney 等十余种格式兼容 & 私有化 LLM 支持)
|
||||||
|
2. 🤯 **美观 UI 设计**: UI 兼容 PC / Pad / 移动三端,遵循 [Shadcn UI](https://ui.shadcn.com) & [Tremor Charts](https://blocks.tremor.so) 设计规范,丰富美观的界面设计和后台仪表盘
|
||||||
|
3. 🎃 **完整 Markdown 支持**: 支持 **LaTeX 公式** / **Mermaid 思维导图** / 表格渲染 / 代码高亮 / 图表绘制 / 进度条等进阶 Markdown 语法支持
|
||||||
|
4. 👀 **多主题支持**: 支持多种主题切换,包含亮色主题的**明亮模式**和暗色主题的**深色模式**。 👉 [自定义配色](https://github.com/Deeptrain-Community/chatnio/blob/main/app/src/assets/globals.less)
|
||||||
|
5. 📚 **国际化支持**: 支持国际化,支持多语言切换 🇨🇳 🇺🇸 🇯🇵 🇷🇺 👉 欢迎贡献翻译 [Pull Request](https://github.com/Deeptrain-Community/chatnio/pulls)
|
||||||
|
6. 🎨 **文生图支持**: 支持多种文生图模型: **OpenAI DALL-E**✅ & **Midjourney** (支持 **U/V/R** 操作)✅ & Stable Diffusion✅ 等
|
||||||
|
7. 📡 **强大对话同步**: **用户 0 成本对话跨端同步支持**,支持**对话分享** (支持链接分享 & 保存为图片 & 分享管理), **无需 WebDav / WebRTC 等依赖和复杂学习成本**
|
||||||
|
8. 🎈 **模型市场 & 预设系统**: 支持后台可自定义的模型市场, 可提供模型介绍、标签等参数, 站长可根据情况自定义模型简介。同时支持预设系统,包含 **自定义预设** 和 **云端同步** 功能。
|
||||||
|
9. 📖 **丰富文件解析**: **开箱即用**, 支持**所有模型**的文件解析 (PDF / Docx / Pptx / Excel / 图片等格式解析), **支持更多云端图片存储方案** (S3 / R2 / MinIO 等), **支持 OCR 图片识别** 👉 详情参见项目 [Chat Nio Blob Service](https://github.com/Deeptrain-Community/chatnio-blob-service) (支持 Vercel / Docker 一键部署)
|
||||||
|
10. 🌏 **全模型联网搜索**: 基于 [SearXNG](https://github.com/searxng/searxng) 开源引擎, 支持 Google / Bing / DuckDuckGo / Yahoo / WikiPedia / Arxiv / Qwant 等丰富搜索引擎搜索, 支持安全搜索模式, 内容截断, 图片代理, 测试搜索可用性等功能。
|
||||||
|
11. 💕 **渐进式 Web 应用 (PWA)**: 支持 PWA 应用 & 支持桌面端 (桌面端基于 [Tauri](https://github.com/tauri-apps/tauri))
|
||||||
|
12. 🤩 **齐全后台管理**: 支持美观丰富的仪表盘, 公告 & 通知管理, 用户管理, 订阅管理, 礼品码 & 兑换码管理, 价格设定, 订阅设定, 自定义模型市场, 自定义站点名称 & Logo, SMTP 发件设置等功能
|
||||||
|
13. 🤑 **多种计费方式**: 支持 💴 **订阅制** 和 💴 **弹性计费** 两种计费方式, 弹性计费支持 次数计费 / Token 计费 / 不计费 / 可匿名调用 和 **最小请求点数** 检测等强大功能
|
||||||
|
14. 🎉 **创新模型缓存**: 支持开启模型缓存:即同一个请求入参 Hash 下, 如果之前已请求过, 将直接返回缓存结果 (击中缓存将不计费), 减少请求次数。可自行自定义是否缓存的模型、缓存时间、多种缓存结果数等高级缓存设置
|
||||||
|
15. 🥪 **附加功能** (停止支持): 🍎 **AI 项目生成器功能** / 📂 **批量文章生成功能** / 🥪 **AI 卡片功能** (已废弃)
|
||||||
|
16. 😎 **优秀渠道管理**: 自写优秀渠道算法, 支持⚡ **多渠道管理**, 支持🥳**优先级**设置渠道的调用顺序, 支持🥳**权重**设置同一优先级下的渠道均衡负载分配概率, 支持🥳**用户分组**, 🥳**失败自动重试**, 🥳**模型重定向**, 🥳**内置上游隐藏**, 🥳**渠道状态管理**等强大**企业级功能**
|
||||||
|
17. ⭐ **OpenAI API 分发 & 中转系统**: 支持以 **OpenAI API** 标准格式调用各种大模型, 集成强大的渠道管理功能, 仅需部署一个站点即可实现同时发展 B/C 端业务💖
|
||||||
|
18. 👌 **快速同步上游**: 渠道设置、模型市场、价格设定等设置都可快速同步上游站点,以此基础修改自己的站点配置,快速搭建自己的站点,省时省力,一键同步,快速上线
|
||||||
|
19. 👋 **SEO 优化**: 支持 SEO 优化,支持自定义站点名称、站点 Logo 等 SEO 优化设设置使搜索引擎更快的爬取,你的站点与众不同👋
|
||||||
|
20. 🎫 **多种兑换码体系**: 支持多种兑换码体系,支持礼品码和兑换码,支持批量生成,礼品码适合宣传分发,兑换码适合发卡销售,礼品码一个类型的多个码一个用户仅能兑换一个码,在宣传中一定程度上减少一个用户兑换多次的情况😀
|
||||||
|
21. 🥰 **商用友好协议**: 采用 **Apache-2.0** 开源协议, 商用二开 & 分发友好 (也请遵守 Apache-2.0 协议的规定, 请勿用于违法用途)
|
||||||
|
|
||||||
|
### 🔨 支持模型
|
||||||
|
1. OpenAI & Azure OpenAI *(✅ Vision ✅ Function Calling)*
|
||||||
|
2. Anthropic Claude *(✅ Vision ✅ Function Calling)*
|
||||||
|
3. Google Gemini & PaLM2 *(✅ Vision)*
|
||||||
|
4. Midjourney *(✅ Mode Toggling ✅ U/V/R Actions)*
|
||||||
|
5. 讯飞星火 SparkDesk *(✅ Vision ✅ Function Calling)*
|
||||||
|
6. 智谱清言 ChatGLM *(✅ Vision)*
|
||||||
|
7. 通义千问 Tongyi Qwen
|
||||||
|
8. 腾讯混元 Tencent Hunyuan
|
||||||
|
9. 百川大模型 Baichuan AI
|
||||||
|
10. 月之暗面 Moonshot AI (👉 OpenAI)
|
||||||
|
11. 深度求索 DeepSeek AI (👉 OpenAI)
|
||||||
|
12. 字节云雀 ByteDance Skylark *(✅ Function Calling)*
|
||||||
|
13. Groq Cloud AI
|
||||||
|
14. OpenRouter (👉 OpenAI)
|
||||||
|
15. 360 GPT
|
||||||
|
16. LocalAI / Ollama (👉 OpenAI)
|
||||||
|
|
||||||
|
### 👻 中转 OpenAI 兼容 API
|
||||||
|
- [x] Chat Completions _(/v1/chat/completions)_
|
||||||
|
- [x] Image Generation _(/v1/images)_
|
||||||
|
- [x] Model List _(/v1/models)_
|
||||||
|
- [x] Dashboard Billing _(/v1/billing)_
|
||||||
|
|
||||||
|
|
||||||
|
### 快速开始
|
||||||
|
1. 完成应用部署后,使用默认账户登录系统
|
||||||
|
2. 在管理面板中配置 AI 提供商渠道
|
||||||
|
3. 设置模型优先级和负载均衡策略
|
||||||
|
4. 开始使用统一的 AI 服务
|
||||||
|
|
||||||
|
#### 配置建议
|
||||||
|
- 建议首次登录后立即修改默认密码
|
||||||
|
- 根据实际需求配置多个 AI 提供商以确保服务稳定性
|
||||||
|
- 设置合理的速率限制和配额管理
|
||||||
|
- 启用监控和日志记录以便问题排查
|
||||||
|
|
||||||
|
### 🔗 相关链接
|
||||||
|
- [官方网站](https://chatnio.net)
|
||||||
|
- [开发文档](https://docs.chatnio.net)
|
||||||
|
- [API 文档](https://docs.chatnio.net/developers/sdk)
|
||||||
|
- [GitHub 仓库](https://github.com/Deeptrain-Community/chatnio)
|
||||||
|
|
||||||
|
|
||||||
137
apps/chatnio/README_en.md
Normal file
137
apps/chatnio/README_en.md
Normal file
@@ -0,0 +1,137 @@
|
|||||||
|
# [Chat Nio](https://chatnio.net)
|
||||||
|
|
||||||
|
Chat Nio is a comprehensive AI service management platform that serves as a bridge between AI capabilities and real-world applications. It provides a unified interface for managing multiple AI models, handling complex routing logic, and delivering enterprise-grade features for AI-powered applications.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### 📋 Usage Instructions
|
||||||
|
|
||||||
|
#### Default Account Information
|
||||||
|
- **Administrator Account**: `root`
|
||||||
|
- **Default Password**: `chatnio123456`
|
||||||
|
|
||||||
|
### ✨ Core Features
|
||||||
|
|
||||||
|
1. 🤖️ **Rich Model Support**: Multi-model service provider support (OpenAI / Anthropic / Gemini / Midjourney and over 10 format-compatible & private LLM support)
|
||||||
|
2. 🤯 **Beautiful UI Design**: UI compatible with PC / Pad / Mobile, following [Shadcn UI](https://ui.shadcn.com) & [Tremor Charts](https://blocks.tremor.so) design specifications, rich and beautiful interface design and backend dashboard
|
||||||
|
3. 🎃 **Complete Markdown Support**: Supports **LaTeX formulas** / **Mermaid mind maps** / table rendering / code highlighting / chart drawing / progress bars and advanced Markdown syntax support
|
||||||
|
4. 👀 **Multi-theme Support**: Supports multiple theme switching, including **bright mode** for light themes and **dark mode** for dark themes. 👉 [Custom Color Scheme](https://github.com/Deeptrain-Community/chatnio/blob/main/app/src/assets/globals.less)
|
||||||
|
5. 📚 **Internationalization Support**: Supports internationalization with multi-language switching 🇨🇳 🇺🇸 🇯🇵 🇷🇺 👉 Welcome to contribute translations [Pull Request](https://github.com/Deeptrain-Community/chatnio/pulls)
|
||||||
|
6. 🎨 **Text-to-Image Support**: Supports multiple text-to-image models: **OpenAI DALL-E**✅ & **Midjourney** (supports **U/V/R** operations)✅ & Stable Diffusion✅ etc.
|
||||||
|
7. 📡 **Powerful Conversation Sync**: **Zero-cost cross-device conversation synchronization for users**, supports **conversation sharing** (supports link sharing & save as image & share management), **no need for WebDav / WebRTC dependencies and complex learning costs**
|
||||||
|
8. 🎈 **Model Marketplace & Preset System**: Supports customizable model marketplace in the backend, providing model introductions, tags and other parameters. Site admins can customize model descriptions according to their needs. Also supports preset system, including **custom presets** and **cloud synchronization** features.
|
||||||
|
9. 📖 **Rich File Parsing**: **Out-of-the-box**, supports file parsing for **all models** (PDF / Docx / Pptx / Excel / image formats), **supports more cloud image storage solutions** (S3 / R2 / MinIO etc.), **supports OCR image recognition** 👉 See project details [Chat Nio Blob Service](https://github.com/Deeptrain-Community/chatnio-blob-service) (supports Vercel / Docker one-click deployment)
|
||||||
|
10. 🌏 **Universal Model Web Search**: Based on [SearXNG](https://github.com/searxng/searxng) open source engine, supports Google / Bing / DuckDuckGo / Yahoo / WikiPedia / Arxiv / Qwant and rich search engines, supports safe search mode, content truncation, image proxy, search availability testing and other features.
|
||||||
|
11. 💕 **Progressive Web App (PWA)**: Supports PWA app & desktop client (desktop client based on [Tauri](https://github.com/tauri-apps/tauri))
|
||||||
|
12. 🤩 **Complete Backend Management**: Supports beautiful and rich dashboard, announcement & notification management, user management, subscription management, gift code & redemption code management, pricing settings, subscription settings, custom model marketplace, custom site name & logo, SMTP mail settings and other features
|
||||||
|
13. 🤑 **Multiple Billing Methods**: Supports 💴 **subscription-based** and 💴 **elastic billing** two billing methods. Elastic billing supports usage-based billing / token billing / free billing / anonymous calling and **minimum request points** detection and other powerful features
|
||||||
|
14. 🎉 **Innovative Model Caching**: Supports enabling model caching: under the same request parameter hash, if previously requested, cached results will be returned directly (cache hits will not be billed), reducing request frequency. Customizable caching models, cache duration, multiple cache result counts and advanced cache settings
|
||||||
|
15. 🥪 **Additional Features** (discontinued): 🍎 **AI Project Generator** / 📂 **Batch Article Generation** / 🥪 **AI Card Feature** (deprecated)
|
||||||
|
16. 😎 **Excellent Channel Management**: Self-developed excellent channel algorithms, supports⚡ **multi-channel management**, supports🥳**priority** setting for channel call order, supports🥳**weight** setting for load balancing distribution probability at same priority level, supports🥳**user grouping**, 🥳**automatic failure retry**, 🥳**model redirection**, 🥳**built-in upstream hiding**, 🥳**channel status management** and other powerful **enterprise-grade features**
|
||||||
|
17. ⭐ **OpenAI API Distribution & Relay System**: Supports calling various large models in **OpenAI API** standard format, integrates powerful channel management features, deploy one site to simultaneously develop B2B and B2C businesses💖
|
||||||
|
18. 👌 **Quick Upstream Sync**: Channel settings, model marketplace, pricing settings and other configurations can quickly sync upstream sites, modify your own site configuration based on this, quickly build your own site, save time and effort, one-click sync, quick launch
|
||||||
|
19. 👋 **SEO Optimization**: Supports SEO optimization, supports custom site name, site logo and other SEO optimization settings to make search engines crawl faster, making your site stand out👋
|
||||||
|
20. 🎫 **Multiple Redemption Code Systems**: Supports multiple redemption code systems, supports gift codes and redemption codes, supports batch generation. Gift codes are suitable for promotional distribution, redemption codes are suitable for card sales. One user can only redeem one code per gift code type, reducing multiple redemptions by one user in promotions😀
|
||||||
|
21. 🥰 **Commercial-Friendly License**: Uses **Apache-2.0** open source license, commercial secondary development & distribution friendly (please also comply with Apache-2.0 license regulations, do not use for illegal purposes)
|
||||||
|
|
||||||
|
### 🔨 Supported Models
|
||||||
|
1. OpenAI & Azure OpenAI *(✅ Vision ✅ Function Calling)*
|
||||||
|
2. Anthropic Claude *(✅ Vision ✅ Function Calling)*
|
||||||
|
3. Google Gemini & PaLM2 *(✅ Vision)*
|
||||||
|
4. Midjourney *(✅ Mode Toggling ✅ U/V/R Actions)*
|
||||||
|
5. iFlytek Spark SparkDesk *(✅ Vision ✅ Function Calling)*
|
||||||
|
6. Zhipu ChatGLM *(✅ Vision)*
|
||||||
|
7. Tongyi Qwen
|
||||||
|
8. Tencent Hunyuan
|
||||||
|
9. Baichuan AI
|
||||||
|
10. Moonshot AI (👉 OpenAI)
|
||||||
|
11. DeepSeek AI (👉 OpenAI)
|
||||||
|
12. ByteDance Skylark *(✅ Function Calling)*
|
||||||
|
13. Groq Cloud AI
|
||||||
|
14. OpenRouter (👉 OpenAI)
|
||||||
|
15. 360 GPT
|
||||||
|
16. LocalAI / Ollama (👉 OpenAI)
|
||||||
|
|
||||||
|
### 👻 OpenAI Compatible API Relay
|
||||||
|
- [x] Chat Completions _(/v1/chat/completions)_
|
||||||
|
- [x] Image Generation _(/v1/images)_
|
||||||
|
- [x] Model List _(/v1/models)_
|
||||||
|
- [x] Dashboard Billing _(/v1/billing)_
|
||||||
|
|
||||||
|
### Quick Start
|
||||||
|
1. After successful application deployment, log in using the default account
|
||||||
|
2. Configure AI provider channels in the admin panel
|
||||||
|
3. Set model priorities and load balancing strategies
|
||||||
|
4. Start using the unified AI services
|
||||||
|
|
||||||
|
#### Configuration Recommendations
|
||||||
|
- Recommend changing the default password immediately after first login
|
||||||
|
- Configure multiple AI providers according to actual needs to ensure service stability
|
||||||
|
- Set reasonable rate limits and quota management
|
||||||
|
- Enable monitoring and logging for troubleshooting
|
||||||
|
|
||||||
|
### 🔗 Related Links
|
||||||
|
- [Official Website](https://chatnio.net)
|
||||||
|
- [Documentation](https://docs.chatnio.net)
|
||||||
|
- [API Documentation](https://docs.chatnio.net/developers/sdk)
|
||||||
|
- [GitHub Repository](https://github.com/Deeptrain-Community/chatnio)
|
||||||
|
|
||||||
|
## 🛠️ Advanced Features
|
||||||
|
|
||||||
|
### Infrastructure & Deployment
|
||||||
|
- **High Availability Setup**: Multi-region deployments with automatic failover
|
||||||
|
- **Load Balancing**: Intelligent traffic distribution across multiple instances
|
||||||
|
- **Disaster Recovery**: Comprehensive backup and recovery strategies
|
||||||
|
- **Zero-Downtime Updates**: Rolling deployments and blue-green strategies
|
||||||
|
- **Health Monitoring**: Proactive system health checks and alerting
|
||||||
|
|
||||||
|
### Integration & APIs
|
||||||
|
- **API Integration**: Comprehensive REST and GraphQL APIs
|
||||||
|
- **Webhook Support**: Real-time event notifications and integrations
|
||||||
|
- **SSO Integration**: Single Sign-On with enterprise identity providers
|
||||||
|
- **Third-Party Connectors**: Pre-built integrations with popular platforms
|
||||||
|
- **Custom Middleware**: Develop custom integration layers
|
||||||
|
|
||||||
|
### AI & Model Management
|
||||||
|
- **Custom Models**: Private model integration and deployment
|
||||||
|
- **Model Fine-tuning**: Custom model training and optimization
|
||||||
|
- **A/B Testing**: Intelligent model performance comparison
|
||||||
|
- **AI Workflow Automation**: Complex AI-driven business process automation
|
||||||
|
- **Performance Analytics**: Detailed model performance insights
|
||||||
|
|
||||||
|
## 📊 Key Benefits
|
||||||
|
|
||||||
|
### For Developers
|
||||||
|
- **Simplified Integration**: Single API for multiple AI providers
|
||||||
|
- **Reduced Complexity**: No need to manage multiple provider SDKs
|
||||||
|
- **Cost Efficiency**: Automatic routing to cost-effective providers
|
||||||
|
- **Rapid Prototyping**: Quick model testing and comparison
|
||||||
|
|
||||||
|
### For Businesses
|
||||||
|
- **Operational Excellence**: Enterprise-grade reliability and monitoring
|
||||||
|
- **Cost Control**: Transparent pricing and usage analytics
|
||||||
|
- **Scalability**: Handle growing demand with intelligent load balancing
|
||||||
|
- **Risk Mitigation**: Provider diversification reduces dependency
|
||||||
|
|
||||||
|
### For Enterprises
|
||||||
|
- **Compliance Ready**: Built-in security and compliance features
|
||||||
|
- **Custom Solutions**: Tailored deployments for specific requirements
|
||||||
|
- **Professional Support**: Dedicated support and professional services
|
||||||
|
- **Strategic Advantage**: Stay competitive with cutting-edge AI capabilities
|
||||||
|
|
||||||
|
## 🔗 Related Links
|
||||||
|
- [Official Website](https://chatnio.net)
|
||||||
|
- [Documentation](https://docs.chatnio.net)
|
||||||
|
- [API Documentation](https://docs.chatnio.net/developers/sdk)
|
||||||
|
- [GitHub Repository](https://github.com/Deeptrain-Community/chatnio)
|
||||||
|
- [Community Support](http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=1mv1Y8SyxnQVvQCoqhmIgVTbwQmkNmvQ&authKey=5KUA9nJPR29nQwjbsYNknN2Fj6cKePkRes%2B1QZy84Dr4GHYVzcvb0yklxiMMNVJN&noverify=0&group_code=749482576)
|
||||||
|
|
||||||
|
## 📄 License
|
||||||
|
|
||||||
|
This project is licensed under the appropriate open source license. Please refer to the main repository for detailed license information.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
*Chat Nio - Empowering Your Team to Accelerate Growth through AI*
|
||||||
26
apps/chatnio/data.yml
Normal file
26
apps/chatnio/data.yml
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
name: ChatNio
|
||||||
|
tags:
|
||||||
|
- AI
|
||||||
|
title: 下一代 AI 一站式解决方案
|
||||||
|
description: 综合性 AI 服务管理平台,提供智能路由、多提供商支持和企业级功能
|
||||||
|
additionalProperties:
|
||||||
|
key: chatnio
|
||||||
|
name: ChatNio
|
||||||
|
tags:
|
||||||
|
- AI
|
||||||
|
description:
|
||||||
|
en: Comprehensive AI service management platform with intelligent routing, multi-provider support and enterprise-grade features
|
||||||
|
zh: 综合性 AI 服务管理平台,提供智能路由、多提供商支持和企业级功能
|
||||||
|
zh-Hant: 綜合性 AI 服務管理平台,提供智能路由、多提供商支持和企業級功能
|
||||||
|
ja: インテリジェントルーティング、マルチプロバイダーサポート、エンタープライズグレード機能を備えた包括的なAIサービス管理プラットフォーム
|
||||||
|
ms: Platform pengurusan perkhidmatan AI komprehensif dengan penghalaan pintar, sokongan berbilang pembekal dan ciri gred perusahaan
|
||||||
|
pt-br: Plataforma abrangente de gerenciamento de serviços de IA com roteamento inteligente, suporte a múltiplos provedores e recursos de nível empresarial
|
||||||
|
ru: Комплексная платформа управления сервисами ИИ с интеллектуальной маршрутизацией, поддержкой множественных провайдеров и корпоративными функциями
|
||||||
|
ko: 지능형 라우팅, 다중 공급자 지원 및 엔터프라이즈급 기능을 갖춘 포괄적인 AI 서비스 관리 플랫폼
|
||||||
|
type: tool
|
||||||
|
crossVersionUpdate: true
|
||||||
|
limit: 0
|
||||||
|
recommend: 1
|
||||||
|
website: https://chatnio.net
|
||||||
|
github: https://github.com/Deeptrain-Community/chatnio
|
||||||
|
document: https://docs.chatnio.net
|
||||||
14
apps/chatnio/latest/.env.sample
Normal file
14
apps/chatnio/latest/.env.sample
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
CONTAINER_NAME="chatnio"
|
||||||
|
PANEL_APP_PORT_HTTP="40249"
|
||||||
|
PANEL_DB_HOST="mysql"
|
||||||
|
PANEL_DB_HOST_NAME="mysql"
|
||||||
|
PANEL_DB_NAME="chatnio_37rnt4"
|
||||||
|
PANEL_DB_PORT="3306"
|
||||||
|
PANEL_DB_TYPE="mysql"
|
||||||
|
PANEL_DB_USER="chatnio_67Hwxm"
|
||||||
|
PANEL_DB_USER_PASSWORD="chatnio_JpWrKG"
|
||||||
|
PANEL_REDIS_ROOT_PASSWORD="redis_password"
|
||||||
|
REDIS_DB="5"
|
||||||
|
REDIS_HOST="redis"
|
||||||
|
REDIS_PORT="6379"
|
||||||
|
SERVE_STATIC="true"
|
||||||
137
apps/chatnio/latest/data.yml
Normal file
137
apps/chatnio/latest/data.yml
Normal file
@@ -0,0 +1,137 @@
|
|||||||
|
additionalProperties:
|
||||||
|
formFields:
|
||||||
|
- default: 8094
|
||||||
|
edit: true
|
||||||
|
envKey: PANEL_APP_PORT_HTTP
|
||||||
|
required: true
|
||||||
|
rule: paramPort
|
||||||
|
type: number
|
||||||
|
label:
|
||||||
|
en: Web Port
|
||||||
|
ja: Webポート
|
||||||
|
ms: Port Web
|
||||||
|
pt-br: Porta Web
|
||||||
|
ru: Веб-порт
|
||||||
|
ko: 웹 포트
|
||||||
|
zh-Hant: Web 埠
|
||||||
|
zh: Web 端口
|
||||||
|
- default: chatnio
|
||||||
|
envKey: PANEL_DB_NAME
|
||||||
|
random: true
|
||||||
|
required: true
|
||||||
|
rule: paramCommon
|
||||||
|
type: text
|
||||||
|
label:
|
||||||
|
en: Database Name
|
||||||
|
ja: データベース名
|
||||||
|
ms: Nama Pangkalan Data
|
||||||
|
pt-br: Nome do Banco de Dados
|
||||||
|
ru: Имя базы данных
|
||||||
|
ko: 데이터베이스 이름
|
||||||
|
zh-Hant: 資料庫名稱
|
||||||
|
zh: 数据库名
|
||||||
|
- default: chatnio
|
||||||
|
envKey: PANEL_DB_USER
|
||||||
|
random: true
|
||||||
|
required: true
|
||||||
|
rule: paramCommon
|
||||||
|
type: text
|
||||||
|
label:
|
||||||
|
en: Database User
|
||||||
|
ja: データベースユーザー
|
||||||
|
ms: Pengguna Pangkalan Data
|
||||||
|
pt-br: Usuário do Banco de Dados
|
||||||
|
ru: Пользователь базы данных
|
||||||
|
ko: 데이터베이스 사용자
|
||||||
|
zh-Hant: 資料庫使用者
|
||||||
|
zh: 数据库用户
|
||||||
|
- default: chatnio
|
||||||
|
envKey: PANEL_DB_USER_PASSWORD
|
||||||
|
random: true
|
||||||
|
required: true
|
||||||
|
rule: paramComplexity
|
||||||
|
type: password
|
||||||
|
label:
|
||||||
|
en: Database Password
|
||||||
|
ja: データベースパスワード
|
||||||
|
ms: Kata Laluan Pangkalan Data
|
||||||
|
pt-br: Senha do Banco de Dados
|
||||||
|
ru: Пароль базы данных
|
||||||
|
ko: 데이터베이스 비밀번호
|
||||||
|
zh-Hant: 資料庫密碼
|
||||||
|
zh: 数据库密码
|
||||||
|
- default: chatnio
|
||||||
|
envKey: PANEL_DB_ROOT_PASSWORD
|
||||||
|
random: true
|
||||||
|
required: true
|
||||||
|
rule: paramComplexity
|
||||||
|
type: password
|
||||||
|
label:
|
||||||
|
en: Database Root Password
|
||||||
|
ja: データベースルートパスワード
|
||||||
|
ms: Kata Laluan Root Pangkalan Data
|
||||||
|
pt-br: Senha Root do Banco de Dados
|
||||||
|
ru: Пароль root базы данных
|
||||||
|
ko: 데이터베이스 루트 비밀번호
|
||||||
|
zh-Hant: 資料庫 Root 密碼
|
||||||
|
zh: 数据库 Root 密码
|
||||||
|
- default: chatnio
|
||||||
|
envKey: PANEL_REDIS_ROOT_PASSWORD
|
||||||
|
random: true
|
||||||
|
required: true
|
||||||
|
rule: paramComplexity
|
||||||
|
type: password
|
||||||
|
label:
|
||||||
|
en: Redis Password
|
||||||
|
ja: Redis パスワード
|
||||||
|
ms: Kata Laluan Redis
|
||||||
|
pt-br: Senha Redis
|
||||||
|
ru: Пароль Redis
|
||||||
|
ko: Redis 비밀번호
|
||||||
|
zh-Hant: Redis 密碼
|
||||||
|
zh: Redis 密码
|
||||||
|
- default: "0"
|
||||||
|
envKey: REDIS_DB
|
||||||
|
required: true
|
||||||
|
type: select
|
||||||
|
values:
|
||||||
|
- label: "0"
|
||||||
|
value: "0"
|
||||||
|
- label: "1"
|
||||||
|
value: "1"
|
||||||
|
- label: "2"
|
||||||
|
value: "2"
|
||||||
|
- label: "3"
|
||||||
|
value: "3"
|
||||||
|
- label: "4"
|
||||||
|
value: "4"
|
||||||
|
- label: "5"
|
||||||
|
value: "5"
|
||||||
|
label:
|
||||||
|
en: Redis Database
|
||||||
|
ja: Redis データベース
|
||||||
|
ms: Pangkalan Data Redis
|
||||||
|
pt-br: Banco de Dados Redis
|
||||||
|
ru: База данных Redis
|
||||||
|
ko: Redis 데이터베이스
|
||||||
|
zh-Hant: Redis 資料庫
|
||||||
|
zh: Redis 数据库
|
||||||
|
- default: "true"
|
||||||
|
edit: true
|
||||||
|
envKey: SERVE_STATIC
|
||||||
|
required: true
|
||||||
|
type: select
|
||||||
|
values:
|
||||||
|
- label: "Enable"
|
||||||
|
value: "true"
|
||||||
|
- label: "Disable"
|
||||||
|
value: "false"
|
||||||
|
label:
|
||||||
|
en: Serve Static Files
|
||||||
|
ja: 静的ファイルサービス
|
||||||
|
ms: Perkhidmatan Fail Statik
|
||||||
|
pt-br: Servir Arquivos Estáticos
|
||||||
|
ru: Обслуживание статических файлов
|
||||||
|
ko: 정적 파일 서비스
|
||||||
|
zh-Hant: 靜態檔案服務
|
||||||
|
zh: 静态文件服务
|
||||||
77
apps/chatnio/latest/docker-compose.yml
Normal file
77
apps/chatnio/latest/docker-compose.yml
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
services:
|
||||||
|
chatnio:
|
||||||
|
image: programzmh/chatnio:latest
|
||||||
|
container_name: ${CONTAINER_NAME}
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- "${PANEL_APP_PORT_HTTP}:8094"
|
||||||
|
depends_on:
|
||||||
|
mysql:
|
||||||
|
condition: service_healthy
|
||||||
|
redis:
|
||||||
|
condition: service_healthy
|
||||||
|
environment:
|
||||||
|
MYSQL_HOST: mysql
|
||||||
|
MYSQL_USER: ${PANEL_DB_USER}
|
||||||
|
MYSQL_PASSWORD: ${PANEL_DB_USER_PASSWORD}
|
||||||
|
MYSQL_DB: ${PANEL_DB_NAME}
|
||||||
|
REDIS_HOST: redis
|
||||||
|
REDIS_PORT: 6379
|
||||||
|
REDIS_PASSWORD: ${PANEL_REDIS_ROOT_PASSWORD}
|
||||||
|
REDIS_DB: ${REDIS_DB}
|
||||||
|
SERVE_STATIC: "${SERVE_STATIC}"
|
||||||
|
volumes:
|
||||||
|
- ./data/config:/config
|
||||||
|
- ./data/logs:/logs
|
||||||
|
- ./data/storage:/storage
|
||||||
|
networks:
|
||||||
|
- 1panel-network
|
||||||
|
labels:
|
||||||
|
createdBy: "Apps"
|
||||||
|
|
||||||
|
mysql:
|
||||||
|
image: mysql:latest
|
||||||
|
container_name: ${CONTAINER_NAME}_mysql
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
MYSQL_ROOT_PASSWORD: ${PANEL_DB_ROOT_PASSWORD}
|
||||||
|
MYSQL_DATABASE: ${PANEL_DB_NAME}
|
||||||
|
MYSQL_USER: ${PANEL_DB_USER}
|
||||||
|
MYSQL_PASSWORD: ${PANEL_DB_USER_PASSWORD}
|
||||||
|
TZ: Asia/Shanghai
|
||||||
|
expose:
|
||||||
|
- "3306"
|
||||||
|
volumes:
|
||||||
|
- ./data/mysql:/var/lib/mysql
|
||||||
|
networks:
|
||||||
|
- 1panel-network
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "mysqladmin", "ping", "-h", "localhost"]
|
||||||
|
interval: 10s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 5
|
||||||
|
labels:
|
||||||
|
createdBy: "Apps"
|
||||||
|
|
||||||
|
redis:
|
||||||
|
image: redis:latest
|
||||||
|
container_name: ${CONTAINER_NAME}_redis
|
||||||
|
restart: always
|
||||||
|
command: redis-server --requirepass ${PANEL_REDIS_ROOT_PASSWORD}
|
||||||
|
expose:
|
||||||
|
- "6379"
|
||||||
|
volumes:
|
||||||
|
- ./data/redis:/data
|
||||||
|
networks:
|
||||||
|
- 1panel-network
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "redis-cli", "-a", "${PANEL_REDIS_ROOT_PASSWORD}", "ping"]
|
||||||
|
interval: 10s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 5
|
||||||
|
labels:
|
||||||
|
createdBy: "Apps"
|
||||||
|
|
||||||
|
networks:
|
||||||
|
1panel-network:
|
||||||
|
external: true
|
||||||
BIN
apps/chatnio/logo.png
Normal file
BIN
apps/chatnio/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.5 KiB |
Reference in New Issue
Block a user