4.11.2 dev (#5368)

* 4.11.2 dev (#103)

* update document

* update doc

* update doc

* doc img

* action

* fix action

* fix: action

* fix: action

* perf: action

* doc

* perf: action
This commit is contained in:
Archer
2025-08-02 19:38:37 +08:00
committed by GitHub
parent 1014f349de
commit 109bdbe9db
137 changed files with 632 additions and 570 deletions

View File

@@ -15,8 +15,46 @@ permissions:
pull-requests: write
jobs:
sync-images:
runs-on: ubuntu-latest
steps:
- name: Checkout current repository
uses: actions/checkout@v4
- name: Checkout target repository
uses: actions/checkout@v4
with:
repository: labring/fastgpt-img
token: ${{ secrets.DOCS_IMGS_SYNC_TOKEN }}
path: fastgpt-img
- name: Sync images
run: |
# Create imgs directory if it doesn't exist
mkdir -p fastgpt-img
# Copy all images from document/public/imgs to the target repository
cp -r document/public/imgs/* fastgpt-img
# Navigate to target repository
cd fastgpt-img
# Configure git
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
# Add, commit and push changes
git add .
if ! git diff --cached --quiet; then
git commit -m "Sync images from FastGPT document at $(date)"
git push
echo "Images synced successfully"
else
echo "No changes to sync"
fi
# Add a new job to generate unified timestamp
generate-timestamp:
needs: sync-images
runs-on: ubuntu-latest
outputs:
datetime: ${{ steps.datetime.outputs.datetime }}
@@ -40,6 +78,13 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Rewrite image paths
if: matrix.domain_config.suffix == 'io'
run: |
find document/content/docs -name "*.mdx" -type f | while read file; do
sed -i 's|](/imgs/|](https://cdn.jsdelivr.net/gh/labring/fastgpt-img@main/|g' "$file"
done
- name: Docker meta
id: meta
uses: docker/metadata-action@v5

View File

@@ -20,6 +20,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Rewrite image paths
run: |
find document/content/docs -name "*.mdx" -type f | while read file; do
sed -i 's|](/imgs/|](https://cdn.jsdelivr.net/gh/labring/fastgpt-img@main/|g' "$file"
done
- name: Get current datetime
id: datetime
run: echo "datetime=$(date +'%Y%m%d%H%M%S')" >> $GITHUB_OUTPUT

View File

@@ -4,6 +4,7 @@ dist
node_modules
document/
*.md
*.mdx
pnpm-lock.yaml
cl100l_base.ts

View File

@@ -25,7 +25,12 @@
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"mdx.server.enable": true,
"markdown.copyFiles.overwriteBehavior": "nameIncrementally",
"markdown.copyFiles.destination": {
"/document/content/**/*": "${documentWorkspaceFolder}/document/public/"
"/document/content/docs/**/*": "${documentWorkspaceFolder}/document/public/imgs/"
},
"files.associations": {
"*.mdx": "markdown"
}
}

View File

@@ -7,7 +7,7 @@ The FastGPT is licensed under the Apache License 2.0, with the following additio
a. Multi-tenant SaaS service: Unless explicitly authorized by FastGPT in writing, you may not use the FastGPT.AI source code to operate a multi-tenant SaaS service that is similar to the FastGPT.
b. LOGO and copyright information: In the process of using FastGPT, you may not remove or modify the LOGO or copyright information in the FastGPT console.
Please contact yujinlong@sealos.io by email to inquire about licensing matters.
Please contact dennis@sealos.io by email to inquire about licensing matters.
2. As a contributor, you should agree that your contributed code:

View File

@@ -107,7 +107,7 @@ https://github.com/labring/FastGPT/assets/15308462/7d3a38df-eb0e-4388-9250-2409b
* [部署 FastGPT](https://doc.fastgpt.io/docs/introduction/development/sealos/)
* [系统配置文件说明](https://doc.fastgpt.io/docs/introduction/development/configuration/)
* [多模型配置方案](https://doc.fastgpt.io/docs/introduction/development/modelConfig/one-api/)
* [版本更新/升级介绍](https://doc.fastgpt.io/docs/introduction/development/upgrading/intro)
* [版本更新/升级介绍](https://doc.fastgpt.io/docs/introduction/development/upgrading/index)
* [OpenAPI API 文档](https://doc.fastgpt.io/docs/introduction/development/openapi/)
* [知识库结构详解](https://doc.fastgpt.io/docs/introduction/guide/knowledge_base/RAG/)
@@ -216,4 +216,4 @@ https://github.com/labring/FastGPT/assets/15308462/7d3a38df-eb0e-4388-9250-2409b
1. 允许作为后台服务直接商用,但不允许提供 SaaS 服务。
2. 未经商业授权,任何形式的商用服务均需保留相关版权信息。
3. 完整请查看 [FastGPT Open Source License](./LICENSE)
4. 联系方式Dennis@sealos.io[点击查看商业版定价策略](https://doc.fastgpt.io/docs/introduction/shopping_cart/intro/)
4. 联系方式Dennis@sealos.io[点击查看商业版定价策略](https://doc.fastgpt.io/docs/introduction/commercial/)

View File

@@ -80,7 +80,7 @@ Project tech stack: NextJs + TS + ChakraUI + MongoDB + PostgreSQL (PG Vector plu
- [Deploying FastGPT](https://doc.fastgpt.io/docs/introduction/development/docker)
- [Guide on System Configs](https://doc.fastgpt.io/docs/introduction/development/configuration)
- [Configuring Multiple Models](https://doc.fastgpt.io/docs//introduction/development/modelConfig/intro)
- [Version Updates & Upgrades](https://doc.fastgpt.io/docs/introduction/development/upgrading/intro)
- [Version Updates & Upgrades](https://doc.fastgpt.io/docs/introduction/development/upgrading/index)
<a href="#FastGPT">
<img src="https://img.shields.io/badge/-Back_to_Top-7d09f1.svg" alt="#" align="right">
@@ -185,7 +185,7 @@ This repository complies with the [FastGPT Open Source License](./LICENSE) open
1. Direct commercial use as a backend service is allowed, but provision of SaaS services is not allowed.
2. Without commercial authorization, any form of commercial service must retain relevant copyright information.
3. For full details, please see [FastGPT Open Source License](./LICENSE)
4. Contact: Dennis@sealos.io , [click to view commercial version pricing strategy](https://doc.fastgpt.io/docs/introduction/shopping_cart/intro/)
4. Contact: Dennis@sealos.io , [click to view commercial version pricing strategy](https://doc.fastgpt.io/docs/introduction/commercial/)
<a href="#FastGPT">
<img src="https://img.shields.io/badge/-Back_to_Top-7d09f1.svg" alt="#" align="right">

View File

@@ -102,7 +102,7 @@ https://github.com/labring/FastGPT/assets/15308462/7d3a38df-eb0e-4388-9250-2409b
- [FastGPT のデプロイ](https://doc.fastgpt.io/docs/introduction/development/docker)
- [システム 設定 ガイド](https://doc.fastgpt.io/docs/introduction/development/configuration)
- [複数 モデルの 設定](https://doc.fastgpt.io/docs/introduction/development/modelConfig/ai-proxy)
- [バージョン 更新 とアップグレード](https://doc.fastgpt.io/docs/introduction/development/upgrading/intro)
- [バージョン 更新 とアップグレード](https://doc.fastgpt.io/docs/introduction/development/upgrading/index)
<!-- ## :point_right: ロードマップ
- [FastGPT ロードマップ](https://kjqvjse66l.feishu.cn/docx/RVUxdqE2WolDYyxEKATcM0XXnte) -->

View File

@@ -5,7 +5,7 @@
如果您发现了 FastGPT 的安全漏洞,请按照以下步骤进行报告:
1. **报告方式**
发送邮件至:yujinlong@sealos.io
发送邮件至:dennis@sealos.io
请备注版本以及您的 GitHub 账号
3. **响应时间**

View File

@@ -95,8 +95,8 @@ services:
fastgpt:
container_name: fastgpt
image: ghcr.io/labring/fastgpt:v4.11.0 # git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.11.0 # 阿里云
image: ghcr.io/labring/fastgpt:v4.11.1 # git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.11.1 # 阿里云
ports:
- 3000:3000
networks:
@@ -152,15 +152,15 @@ services:
- ./config.json:/app/data/config.json
sandbox:
container_name: sandbox
image: ghcr.io/labring/fastgpt-sandbox:v4.10.1 # git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.10.1 # 阿里云
image: ghcr.io/labring/fastgpt-sandbox:v4.11.1 # git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.11.1 # 阿里云
networks:
- fastgpt
restart: always
fastgpt-mcp-server:
container_name: fastgpt-mcp-server
image: ghcr.io/labring/fastgpt-mcp_server:v4.10.1 # git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.10.1 # 阿里云
image: ghcr.io/labring/fastgpt-mcp_server:v4.11.1 # git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.11.1 # 阿里云
ports:
- 3005:3000
networks:
@@ -169,8 +169,8 @@ services:
environment:
- FASTGPT_ENDPOINT=http://fastgpt:3000
fastgpt-plugin:
image: ghcr.io/labring/fastgpt-plugin:v0.1.5 # git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.5 # 阿里云
image: ghcr.io/labring/fastgpt-plugin:v0.1.7 # git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.7 # 阿里云
container_name: fastgpt-plugin
restart: always
networks:

View File

@@ -1,8 +1,8 @@
# fast
# FastGPT 文档
这是FastGPT的官方文档采用fumadoc框架。
# 获取搜索应用
## 配置文档搜索
点击[Algolia](https://dashboard.algolia.com/account/overview),进行注册账号,注册成功后需要点击页面的搜索,然后查看应用,默认会有一个应用。
@@ -16,7 +16,7 @@
![](./public/readme/algolia3.png)
# 运行项目
## 运行项目
要运行文档,首先需要进行环境变量配置,在文档的根目录下创建`.env.local`文件,填写以下环境变量:
@@ -35,7 +35,7 @@ npm run dev
```
项目会默认跑在`http:localhost:3000`端口
# 书写文档
## 书写文档
文档采用`mdx`格式,大体和`md`一致,但是现在文档的元数据只支持`title` `description``icon`三个字段,参考以下示例代码:
@@ -81,14 +81,12 @@ import FastGPTLink from '@/components/docs/linkFastGPT'; #FastGPT跳转链接组
}
```
# i18n
## i18n
`content/docs`下的所有`.mdx`文件为默认语言文件(当前默认语言中文)`.en.mdx`文件为`i18n`支持的英文文件,例如,你可以将`hello.mdx`文档翻译后,写一个`hello.en.mdx`,同时,在对应目录的`meta.en.json``"pages"`字段写下对应的文件名来支持英文文档。
# ps
## 特殊配置
`meta.json``"pages"`中的`"[Handshake][联系我们](https://fael3z0zfze.feishu.cn/share/base/form/shrcnjJWtKqjOI9NbQTzhNyzljc)"`这个字段是目录的链接形式表现效果为点击后跳转到对应的url。
### 增加顶层导航栏
![](./public/readme/link.png)
最后,如果依然有问题,可以进入`https://fumadocs.dev/docs/ui`官网询问官网提供的ai来了解文档框架的使用。
1. 在 `FastGPT/document/app/[lang]/docs/layout.tsx` 文件中新增导航。

View File

@@ -30,9 +30,17 @@ export default async function Layout({
title: t('common:use-cases', lang),
url: lang === 'zh-CN' ? '/docs/use-cases' : '/en/docs/use-cases'
},
{
title: t('common:faq', lang),
url: lang === 'zh-CN' ? '/docs/faq' : '/en/docs/faq'
},
{
title: t('common:protocol', lang),
url: lang === 'zh-CN' ? '/docs/protocol' : '/en/docs/protocol'
},
{
title: t('common:upgrading', lang),
url: lang === 'zh-CN' ? '/docs/upgrading' : '/en/docs/upgrading'
}
];
@@ -41,7 +49,7 @@ export default async function Layout({
{...baseOptions(lang)}
nav={{
title: (
<div className="flex flex-row items-center gap-2 h-14 ml-10">
<div className="flex flex-row items-center gap-2 h-14 ml-1">
<div className="block dark:hidden">
<LogoLight className="w-48 h-auto" />
</div>

View File

@@ -20,15 +20,14 @@ export const baseOptions = (locale: string): BaseLayoutProps => {
<div className="flex flex-row items-center gap-2">
<img src="/FastGPT-full.svg" alt="FastGPT" width={49} height={48} />
</div>
<div className="relative flex flex-row items-center gap-2 h-10 top-14"> 12321</div>
</div>
)
},
i18n: {
languages: ['zh-CN', 'en'],
defaultLanguage: 'zh-CN',
hideLocale: 'always'
},
// i18n: {
// languages: ['zh-CN', 'en'],
// defaultLanguage: 'zh-CN',
// hideLocale: 'always'
// },
searchToggle: {
enabled: true
}

View File

@@ -9,12 +9,14 @@ const exactMap: Record<string, string> = {
'/docs/guide/admin/sso_dingtalk':
'/docs/introduction/guide/admin/sso#/docs/introduction/guide/admin/sso#钉钉',
'/docs/guide/knowledge_base/rag': '/docs/introduction/guide/knowledge_base/RAG',
'/docs/commercial/intro/': '/docs/introduction'
'/docs/commercial/intro/': '/docs/introduction',
'/docs/upgrading/intro/': '/docs/upgrading',
'/docs/introduction/shopping_cart/intro/': '/docs/introduction/commercial'
};
const prefixMap: Record<string, string> = {
'/docs/development': '/docs/introduction/development',
'/docs/FAQ': '/docs/introduction/FAQ',
'/docs/FAQ': '/docs/faq',
'/docs/guide': '/docs/introduction/guide',
'/docs/shopping_cart': '/docs/introduction/shopping_cart',
'/docs/agreement': '/docs/protocol'

View File

@@ -1,47 +0,0 @@
import { type HTMLAttributes } from 'react';
import { HomeLayout, type HomeLayoutProps } from 'fumadocs-ui/layouts/home';
import Link from 'next/link';
interface CustomHomeLayoutProps extends HomeLayoutProps {
// 可以在这里添加自定义的属性
}
export function CustomHomeLayout({
children,
nav,
...props
}: CustomHomeLayoutProps & HTMLAttributes<HTMLElement>) {
return (
<HomeLayout
{...props}
nav={{
...nav,
title: (
<div className="flex flex-col items-center gap-2">
<div className="flex flex-row items-center gap-2">
<img src="/logo.svg" alt="FastGPT" width={49} height={48} />
FastGPT
</div>
<div className="flex flex-row items-center gap-4 text-sm">
<Link href="/docs/introduction" className="hover:text-blue-500">
使
</Link>
<Link href="/docs/use-cases" className="hover:text-blue-500">
使
</Link>
<Link href="/docs/agreement" className="hover:text-blue-500">
</Link>
<Link href="/docs/api" className="hover:text-blue-500">
API手册
</Link>
</div>
</div>
),
transparentMode: 'none'
}}
>
{children}
</HomeLayout>
);
}

View File

@@ -4,7 +4,7 @@ description: FastGPT OpenAPI 对话接口
---
import { Alert } from '@/components/docs/Alert';
t
# 如何获取 AppId
可在应用详情的路径里获取 AppId。
@@ -14,20 +14,21 @@ import { Alert } from '@/components/docs/Alert';
# 发起对话
<Alert icon="🤖" context="success">
* 该接口的 API Key 需使用`应用特定的 key`,否则会报错。
* 该接口的 API Key 需使用`应用特定的 key`,否则会报错。
{/* * 对话现在有`v1`和`v2`两个接口可以按需使用v2 自 4.9.4 版本新增v1 接口同时不再维护 */}
* 有些包调用时,`BaseUrl`需要添加`v1`路径有些不需要如果出现404情况可补充`v1`重试。
</Alert>
- 有些包调用时,`BaseUrl`需要添加`v1`路径有些不需要如果出现404情况可补充`v1`重试。
</Alert>
## 请求简易应用和工作流
`v1`对话接口兼容`GPT`的接口!如果你的项目使用的是标准的`GPT`官方接口,可以直接通过修改`BaseUrl`和 `Authorization`来访问 FastGpt 应用,不过需要注意下面几个规则:
<Alert icon="🤖" context="success">
* 传入的`model``temperature`等参数字段均无效,这些字段由编排决定,不会根据 API 参数改变。
* 不会返回实际消耗`Token`值,如果需要,可以设置`detail=true`,并手动计算 `responseData` 里的`tokens`值。
* 传入的`model``temperature`等参数字段均无效,这些字段由编排决定,不会根据 API 参数改变。 *
不会返回实际消耗`Token`值,如果需要,可以设置`detail=true`,并手动计算 `responseData`
里的`tokens`值。
</Alert>
### 请求
@@ -60,8 +61,8 @@ curl --location --request POST 'http://localhost:3000/api/v1/chat/completions' \
</Tab>
<Tab>
* 仅`messages`有部分区别,其他参数一致。
* 目前不支持上传文件,需上传到自己的对象存储中,获取对应的文件链接。
- 仅`messages`有部分区别,其他参数一致。
- 目前不支持上传文件,需上传到自己的对象存储中,获取对应的文件链接。
```bash
curl --location --request POST 'http://localhost:3000/api/v1/chat/completions' \
@@ -97,5 +98,4 @@ curl --location --request POST 'http://localhost:3000/api/v1/chat/completions' \
</Tab>
</Tabs>

View File

@@ -0,0 +1,8 @@
---
title: 使用案例
description: FastGPT 使用案例
---
import { Redirect } from '@/components/docs/Redirect';
<Redirect to="/docs/faq/app" />

View File

@@ -0,0 +1,14 @@
{
"root": true,
"title": "FAQ",
"description": "FastGPT 常见问题",
"pages": [
"app",
"chat",
"dataset",
"external_channel_integration",
"error",
"points_consumption",
"other"
]
}

View File

@@ -1,8 +0,0 @@
---
title: Docker 部署问题
description: FastGPT Docker 部署问题
---
import {Redirect} from '@/components/docs/Redirect'
<Redirect to="/docs/introduction/development/docker/#faq" />

View File

@@ -1,5 +0,0 @@
{
"title": "FAQ",
"description": "FastGPT 常见问题",
"pages": ["docker","privateDeploy","chat","app","dataset","external_channel_integration","error","points_consumption","other"]
}

View File

@@ -1,8 +0,0 @@
---
title: 私有部署常见问题
description: FastGPT 私有部署常见问题
---
import {Redirect} from '@/components/docs/Redirect'
<Redirect to="/docs/introduction/development/faq/" />

View File

@@ -0,0 +1,11 @@
---
title: FastGPT 云服务
description: FastGPT 云服务
---
## 服务地址
- [国内版: https://fastgpt.cn](https://fastgpt.cn)
- [国际版: https://fastgpt.io](https://fastgpt.io)
请按需注册,两个版本账号不互通。

View File

@@ -0,0 +1,110 @@
---
title: 'FastGPT 商业版'
description: 'FastGPT 商业版相关说明'
---
import { Alert } from '@/components/docs/Alert';
## 简介
FastGPT 商业版是基于 FastGPT 开源版的增强版本,增加了一些独有的功能。只需安装一个商业版镜像,并在开源版基础上填写对应的内网地址,即可快速使用商业版。
## 功能差异
| | 开源版 | 商业版 | Saas 版 |
| ------------------------------ | ------------------------------------------ | ------ | ------- |
| **应用构建** | | | |
| 工作流编排 | ✅ | ✅ | ✅ |
| 分享链接和 API | ✅ | ✅ | ✅ |
| 应用发布安全配置 | ❌ | ✅ | ✅ |
| 第三方应用发布(飞书、公众号) | ❌ | ✅ | ✅ |
| 运行日志看板 | ❌ | ✅ | ✅ |
| 应用评测 | ❌ | ✅ | ✅ |
| **知识库** | | | |
| 文档知识库 | ✅ | ✅ | ✅ |
| 外部文件库(飞书、语雀) | ✅ | ✅ | ✅ |
| 知识库索引增强 | ❌ | ✅ | ✅ |
| web站点同步 | ❌ | ✅ | ✅ |
| 图片知识库 | ❌ | ✅ | ✅ |
| **通用功能** | | | |
| 多模型配置 | ✅ | ✅ | ✅ |
| 模型日志看板 | ✅ | ✅ | ✅ |
| 模型内容审核 | ❌ | ✅ | ✅ |
| **企业级功能** | | | |
| 自定义版权信息 | ❌ | ✅ | 设计中 |
| 多租户与支付 | ❌ | ✅ | ✅ |
| 团队空间 & 权限 | ❌ | ✅ | ✅ |
| 管理后台 | ❌ | ✅ | 不需要 |
| SSO 登录 | ❌ | ✅ | 设计中 |
| 商业授权 | [查看开源协议](/docs/protocol/open-source) | 完整 | 完整 |
## 商业版软件价格
FastGPT 商业版软件根据不同的部署方式,分为 3 类收费模式。下面列举各种部署方式一些常规内容,如仍有问题,可[联系咨询](https://fael3z0zfze.feishu.cn/share/base/form/shrcnjJWtKqjOI9NbQTzhNyzljc)
**共有服务**
1. Saas 商业授权许可 - 在商业版有效期内,可提供任意形式的商业服务。
2. 首次免费帮助部署。
3. 优先问题工单处理。
**特有服务**
| 部署方式 | 特有服务 | 上线时长 | 标品价格 |
| ---------------------- | ------------------------------------------------- | -------- | ----------------------------------------------------------------------------------------------------- |
| Sealos全托管 | 1. 有效期内免费升级。<br />2. 免运维服务&数据库。 | 半天 | 10000元起/月3个月起<br />或<br />120000元起/年<br />8C32G 资源,额外资源另外收费。 |
| Sealos全托管多节点 | 1. 有效期内免费升级。<br />2. 免运维服务&数据库。 | 半天 | 22000元起/月3个月起<br />或<br />264000元起/年<br />32C128G 资源,额外资源另外收费。 |
| 自有服务器部署 | 1. 6个版本免费升级支持。 | 14天内 | 具体价格和优惠可[联系咨询](https://fael3z0zfze.feishu.cn/share/base/form/shrcnjJWtKqjOI9NbQTzhNyzljc) |
<Alert icon="🤖" context="success">
- 6个版本的升级服务不是指只能用 6 个版本,而是指依赖 FastGPT
团队提供的升级服务。大部分时候,建议自行升级,也不麻烦。 -
全托管版本适合技术人员紧缺的团队,仅需关注业务推动,无需关心服务是否正常运行。 -
自有服务器部署版可以完全部署在自己服务器中。 -
单机版适合中小团队对内提供服务,需要自己维护数据库备份等。 -
高可用版适合对外提供在线服务,包含可视化监控、多副本、负载均衡、数据库自动备份等生产环境的基础设施。
</Alert>
## 联系方式
请填写[咨询问卷](https://fael3z0zfze.feishu.cn/share/base/form/shrcnjJWtKqjOI9NbQTzhNyzljc),我们会尽快与您联系。
## 技术支持
### 应用定制
根据需求,定制实现某个需求的编排功能,最终会交付一个应用编排。可根据实际情况商讨。
### 技术服务费(定开、维护、迁移、三方接入等)
2000 ~ 3000元/人/天
### 更新升级费用
大部分更新升级,重新拉镜像,然后执行一下初始化脚本就可以了,不需要执行额外操作。
跨版本更新或复杂更新可参考文档自行更新;或付费支持,标准与技术服务费一致。
## QA
### 如何交付?
完整版应用 = 开源版镜像 + 商业版镜像
我们会提供一个商业版镜像给你使用,该镜像需要一个 License 启动。
### 二次开发如何操作?
可以修改开源版部分代码,不支持修改商业版镜像。完整版本=开源版+商业版镜像,所以是可以修改部分内容的。但是如果二开了,后续则需要自己进行代码合并升级。
### Sealos 运行费用
Sealos 云服务属于按量计费,下面是它的价格表:
![alt text](/imgs/image-58.png)
## 管理后台部分截图
| | | |
| ------------------------------- | ------------------------------- | ------------------------------- |
| ![alt text](/imgs/image-55.png) | ![alt text](/imgs/image-56.png) | ![alt text](/imgs/image-57.png) |

View File

@@ -5,8 +5,12 @@ description: ' 加入 FastGPT 开发者社区和我们一起成长'
FastGPT 是一个由用户和贡献者参与推动的开源项目,如果您对产品使用存在疑问和建议,可尝试以下方式寻求支持。我们的团队与社区会竭尽所能为您提供帮助。
+ 📱 扫码加入社区微信交流群👇
- 📱 扫码加入飞书交流群👇
<img width="400px" src="https://oss.laf.run/otnvvf-imgs/fastgpt-feishu1.png" className="medium-zoom-image" />
<img
width="400px"
src="https://oss.laf.run/otnvvf-imgs/fastgpt-feishu1.png"
className="medium-zoom-image"
/>
+ 🐞 请将任何 FastGPT 的 Bug、问题和需求提交到 [GitHub Issue](https://github.com/labring/fastgpt/issues/new/choose)。
- 🐞 请将任何 FastGPT 的 Bug、问题和需求提交到 [GitHub Issue](https://github.com/labring/fastgpt/issues/new/choose)。

View File

@@ -7,9 +7,9 @@ import { Alert } from '@/components/docs/Alert';
## 前置知识
1. 基础的网络知识:端口,防火墙……
2. Docker 和 Docker Compose 基础知识
3. 大模型相关接口和参数
1. 基础的网络知识:端口,防火墙……
2. Docker 和 Docker Compose 基础知识
3. 大模型相关接口和参数
4. RAG 相关知识:向量模型,向量数据库,向量检索
## 部署架构图
@@ -30,13 +30,11 @@ import { Alert } from '@/components/docs/Alert';
非常轻量,适合知识库索引量在 5000 万以下。
| 环境 | 最低配置(单节点) | 推荐配置 |
| ---- | ---- | ---- |
| 测试(可以把计算进程设置少一些) | 2c4g | 2c8g |
| 100w 组向量 | 4c8g 50GB | 4c16g 50GB |
| 500w 组向量 | 8c32g 200GB | 16c64g 200GB |
| 环境 | 最低配置(单节点) | 推荐配置 |
| -------------------------------- | ------------------ | ------------ |
| 测试(可以把计算进程设置少一些) | 2c4g | 2c8g |
| 100w 组向量 | 4c8g 50GB | 4c16g 50GB |
| 500w 组向量 | 8c32g 200GB | 16c64g 200GB |
### Milvus版本
@@ -44,13 +42,11 @@ import { Alert } from '@/components/docs/Alert';
[点击查看 Milvus 官方推荐配置](https://milvus.io/docs/prerequisite-docker.md)
| 环境 | 最低配置(单节点) | 推荐配置 |
| ---- | ---- | ---- |
| 测试 | 2c8g | 4c16g |
| 100w 组向量 | 未测试 | |
| 500w 组向量 | | |
| 环境 | 最低配置(单节点) | 推荐配置 |
| ----------- | ------------------ | -------- |
| 测试 | 2c8g | 4c16g |
| 100w 组向量 | 未测试 | |
| 500w 组向量 | | |
### zilliz cloud版本
@@ -89,6 +85,7 @@ brew install orbstack
```
或者直接[下载安装包](https://orbstack.dev/download)进行安装。
</Tab>
<Tab value="Windows">
我们建议将源代码和其他数据绑定到 Linux 容器中时,将其存储在 Linux 文件系统中,而不是 Windows 文件系统中。
@@ -96,6 +93,7 @@ brew install orbstack
可以选择直接[使用 WSL 2 后端在 Windows 中安装 Docker Desktop](https://docs.docker.com/desktop/wsl/)。
也可以直接[在 WSL 2 中安装命令行版本的 Docker](https://nickjanetakis.com/blog/install-docker-in-wsl-2-without-docker-desktop)。
</Tab>
</Tabs>
@@ -110,7 +108,7 @@ brew install orbstack
<Alert icon="🤖" context="success">
所有 `docker-compose.yml` 配置文件中 `MongoDB` 为 5.x需要用到AVX指令集部分 CPU 不支持,需手动更改其镜像版本为 4.4.24**需要自己在docker hub下载阿里云镜像没做备份
所有 `docker-compose.yml` 配置文件中 `MongoDB` 为 5.x需要用到AVX指令集部分 CPU 不支持,需手动更改其镜像版本为 4.4.24\*\*需要自己在docker hub下载阿里云镜像没做备份
</Alert>
@@ -208,7 +206,7 @@ chown 999:root ./mongodb.key
```
2. 修改 docker-compose.yml挂载密钥
```yml
mongo:
# image: mongo:5.0.18
@@ -239,7 +237,7 @@ docker-compose up -d
```bash
# 查看 mongo 容器是否正常运行
docker ps
docker ps
# 进入容器
docker exec -it mongo bash
@@ -273,14 +271,14 @@ docker-compose up -d
### 如何更新版本?
1. 查看[更新文档](/docs/development/upgrading/intro/),确认要升级的版本,避免跨版本升级。
1. 查看[更新文档](/docs/development/upgrading/index/),确认要升级的版本,避免跨版本升级。
2. 修改镜像 tag 到指定版本
3. 执行下面命令会自动拉取镜像:
```bash
docker-compose pull
docker-compose up -d
```
```bash
docker-compose pull
docker-compose up -d
```
4. 执行初始化脚本(如果有)

View File

@@ -1,15 +1,15 @@
{
"title": "开发与部署指南",
"description": "FastGPT 开发与部署指南",
"title": "FastGPT 社区版",
"description": "FastGPT 社区版",
"icon": "🔧",
"pages": [
"community",
"intro",
"sealos",
"configuration",
"docker",
"faq",
"modelConfig",
"upgrading",
"openapi",
"custom-models",
"proxy",

View File

@@ -15,7 +15,6 @@ FastGPT 使用了 one-api 项目来管理模型池,其可以兼容 OpenAI 、A
可参考:[Sealos 快速部署 OneAPI](/docs/development/modelconfig/one-api)
## 一键部署
使用 Sealos 服务,无需采购服务器、无需域名,支持高并发 & 动态伸缩,并且数据库应用采用 kubeblocks 的数据库,在 IO 性能方面,远超于简单的 Docker 容器部署。可以根据需求,再下面两个区域选择部署。
@@ -24,13 +23,31 @@ FastGPT 使用了 one-api 项目来管理模型池,其可以兼容 OpenAI 、A
新加披区的服务器在国外,可以直接访问 OpenAI但国内用户需要梯子才可以正常访问新加坡区。国际区价格稍贵点击下面按键即可部署👇
<a href="https://template.cloud.sealos.io/deploy?templateName=fastgpt&uid=fnWRt09fZP" rel="external" target="_blank"><img src="https://cdn.jsdelivr.net/gh/labring-actions/templates@main/Deploy-on-Sealos.svg" alt="Deploy on Sealos"/></a>
<a
href="https://template.cloud.sealos.io/deploy?templateName=fastgpt&uid=fnWRt09fZP"
rel="external"
target="_blank"
>
<img
src="https://cdn.jsdelivr.net/gh/labring-actions/templates@main/Deploy-on-Sealos.svg"
alt="Deploy on Sealos"
/>
</a>
### 北京区
北京区服务提供商为火山云,国内用户可以稳定访问,但无法访问 OpenAI 等境外服务,价格约为新加坡区的 1/4。点击下面按键即可部署👇
<a href="https://bja.sealos.run/?openapp=system-template%3FtemplateName%3Dfastgpt&uid=fnWRt09fZP" rel="external" target="_blank"><img src="https://raw.githubusercontent.com/labring-actions/templates/main/Deploy-on-Sealos.svg" alt="Deploy on Sealos"/></a>
<a
href="https://bja.sealos.run/?openapp=system-template%3FtemplateName%3Dfastgpt&uid=fnWRt09fZP"
rel="external"
target="_blank"
>
<img
src="https://raw.githubusercontent.com/labring-actions/templates/main/Deploy-on-Sealos.svg"
alt="Deploy on Sealos"
/>
</a>
### 1. 开始部署
@@ -87,7 +104,8 @@ FastGPT 商业版共包含了2个应用fastgpt, fastgpt-plus和2个数据
![](/imgs/fastgptonsealos1.png)
<Alert icon="🤖" context="success">
在 Sealos 上FastGPT 一共运行了 1 个服务和 2 个数据库,如暂停和删除请注意数据库一同操作。(你可以白天启动,晚上暂停它们,省钱大法)
在 Sealos 上FastGPT 一共运行了 1 个服务和 2
个数据库,如暂停和删除请注意数据库一同操作。(你可以白天启动,晚上暂停它们,省钱大法)
</Alert>
### 如何更新/升级 FastGPT
@@ -98,7 +116,7 @@ FastGPT 商业版共包含了2个应用fastgpt, fastgpt-plus和2个数据
升级步骤:
1. 查看[更新文档](/docs/development/upgrading/intro/),确认要升级的版本,避免跨版本升级。
1. 查看[更新文档](/docs/development/upgrading/index/),确认要升级的版本,避免跨版本升级。
2. 打开 sealos 的应用管理
3. 有2个应用 fastgpt fastgpt-pro
4. 点击对应应用右边3个点变更。或者点详情后右上角的变更。
@@ -130,6 +148,7 @@ FastGPT 商业版共包含了2个应用fastgpt, fastgpt-plus和2个数据
[配置文件参考](https://doc.tryfastgpt.ai/docs/development/configuration/)
### 修改站点名称以及 favicon
修改应用的环境变量,增加
```
@@ -144,6 +163,7 @@ SYSTEM_FAVICON 可以是一个网络地址
![](/imgs/onsealos6.png)
### 挂载logo
目前暂时无法 把浏览器上的logo替换。仅支持svg待后续可视化做了后可以全部替换。
新增一个挂载文件,文件名为:/app/projects/app/public/icon/logo.svg ,值为 svg 对应的值。

View File

@@ -1,5 +1,5 @@
{
"title": "基础教程",
"description": "FastGPT 基础教程",
"pages": ["quick-start","ai_settings","chat_input_guide","collection_tags","fileInput"]
}
"pages": ["quick-start", "ai_settings", "chat_input_guide", "fileInput"]
}

View File

@@ -1,35 +0,0 @@
---
title: 外部文件知识库
description: FastGPT 外部文件知识库功能介绍和使用方式
---
外部文件库是 FastGPT 商业版特有功能。它允许接入你现在的文件系统,无需将文件再导入一份到 FastGPT 中。
并且,阅读权限可以通过你的文件系统进行控制。
| | | |
| --------------------- | --------------------- | --------------------- |
| ![](/imgs/external_file0.png) | ![](/imgs/external_file1.png) | ![](/imgs/external_file2.png) |
## 导入参数说明
- 外部预览地址用于跳转你的文件阅读地址会携带“文件阅读ID”进行访问。
- 文件访问URL文件可访问的地址。
- 文件阅读ID通常情况下文件访问URL是临时的。如果希望永久可以访问你需要使用该文件阅读ID并配合上“外部预览地址”跳转至新的阅读地址进行原文件访问。
- 文件名默认会自动解析文件访问URL上的文件名。如果你手动填写将会以手动填写的值为准。
[点击查看API导入文档](/docs/development/openapi/dataset/#创建一个外部文件库集合商业版)
## API 文件库替代方案
4.8.15 提供了新的知识库类型 - API 文件库,对外部文件知识库做了进一步的拓展
通过对接口进行简单的调整,就能使用 API 文件库代替外部文件知识库的功能
你可以直接将外部文件知识库中的外部预览地址,作为 API 文件库接口规范中获取文件阅读链接的接口返回
然后再以相同的 baseURL 实现获取文件列表和获取单个文件内容这两个接口
这样就能轻松地使用 API 文件库替代原有的外部文件知识库,更多详细的内容见 API 文件库的文档

View File

@@ -1,5 +1,15 @@
{
"title": "知识库",
"description": "知识库的基础原理、搜索方案、Web站点同步和外部文件知识库的使用方法。",
"pages": ["RAG","dataset_engine","api_dataset","lark_dataset","yuque_dataset","websync","externalFile","third_dataset","template"]
}
"pages": [
"RAG",
"dataset_engine",
"collection_tags",
"api_dataset",
"lark_dataset",
"yuque_dataset",
"websync",
"third_dataset",
"template"
]
}

View File

@@ -1,14 +1,14 @@
{
"title": "FastGPT Docs",
"title": "使用文档",
"root": true,
"pages": [
"[Handshake][联系我们](https://fael3z0zfze.feishu.cn/share/base/form/shrcnjJWtKqjOI9NbQTzhNyzljc)",
"---入门---",
"index",
"guide",
"cloud",
"commercial",
"development",
"FAQ",
"shopping_cart",
"community"
"---功能介绍---",
"...guide"
],
"order": 1
}

View File

@@ -1,105 +0,0 @@
---
title: '商业版'
description: 'FastGPT 商业版相关说明'
---
import { Alert } from '@/components/docs/Alert';
## 简介
FastGPT 商业版是基于 FastGPT 开源版的增强版本,增加了一些独有的功能。只需安装一个商业版镜像,并在开源版基础上填写对应的内网地址,即可快速使用商业版。
## 功能差异
| | 开源版 | 商业版 | 线上版 |
| ---- | ---- | ---- | ---- |
| 应用管理与高级编排 | ✅ | ✅ | ✅ |
| 文档知识库 | ✅ | ✅ | ✅ |
| 外部使用 | ✅ | ✅ | ✅ |
| API 知识库 | ✅ | ✅ | ✅ |
| 自定义版权信息 | ❌ | ✅ | 设计中 |
| 多租户与支付 | ❌ | ✅ | ✅ |
| 团队空间 & 权限 | ❌ | ✅ | ✅ |
| 应用发布安全配置 | ❌ | ✅ | ✅ |
| 内容审核 | ❌ | ✅ | ✅ |
| 应用评测 | ❌ | ✅ | ✅ |
| web站点同步 | ❌ | ✅ | ✅ |
| 图片知识库 | ❌ | ✅ | ✅ |
| 知识库索引增强 | ❌ | ✅ | ✅ |
| 第三方应用快速接入(飞书、公众号) | ❌ | ✅ | ✅ |
| 管理后台 | ❌ | ✅ | 不需要 |
| SSO 登录可自定义也可使用内置Github、公众号、钉钉、谷歌等 | ❌ | ✅ | 不需要 |
| 对话日志运营分析 | ❌ | 设计中 | 设计中 |
| 完整商业授权 | ❌ | ✅ | ✅ |
## 商业版软件价格
FastGPT 商业版软件根据不同的部署方式,分为 3 类收费模式。下面列举各种部署方式一些常规内容,如仍有问题,可[联系咨询](https://fael3z0zfze.feishu.cn/share/base/form/shrcnjJWtKqjOI9NbQTzhNyzljc)
**共有服务**
1. Saas 商业授权许可 - 在商业版有效期内,可提供任意形式的商业服务。
2. 首次免费帮助部署。
3. 优先问题工单处理。
**特有服务**
| 部署方式 | 特有服务 | 上线时长 | 标品价格 |
| ---- | ---- | ---- | ---- |
| Sealos全托管 | 1. 有效期内免费升级。<br />2. 免运维服务&数据库。 | 半天 | 10000元起/月3个月起<br />或<br />120000元起/年<br />8C32G 资源,额外资源另外收费。 |
| Sealos全托管多节点 | 1. 有效期内免费升级。<br />2. 免运维服务&数据库。 | 半天 | 22000元起/月3个月起<br />或<br />264000元起/年<br />32C128G 资源,额外资源另外收费。 |
| 自有服务器部署 | 1. 6个版本免费升级支持。 | 14天内 | 具体价格和优惠可[联系咨询](https://fael3z0zfze.feishu.cn/share/base/form/shrcnjJWtKqjOI9NbQTzhNyzljc) |
<Alert icon="🤖" context="success">
- 6个版本的升级服务不是指只能用 6 个版本,而是指依赖 FastGPT 团队提供的升级服务。大部分时候,建议自行升级,也不麻烦。
- 全托管版本适合技术人员紧缺的团队,仅需关注业务推动,无需关心服务是否正常运行。
- 自有服务器部署版可以完全部署在自己服务器中。
- 单机版适合中小团队对内提供服务,需要自己维护数据库备份等。
- 高可用版适合对外提供在线服务,包含可视化监控、多副本、负载均衡、数据库自动备份等生产环境的基础设施。
</Alert>
## 联系方式
请填写[咨询问卷](https://fael3z0zfze.feishu.cn/share/base/form/shrcnjJWtKqjOI9NbQTzhNyzljc),我们会尽快与您联系。
## 技术支持
### 应用定制
根据需求,定制实现某个需求的编排功能,最终会交付一个应用编排。可根据实际情况商讨。
### 技术服务费(定开、维护、迁移、三方接入等)
2000 ~ 3000元/人/天
### 更新升级费用
大部分更新升级,重新拉镜像,然后执行一下初始化脚本就可以了,不需要执行额外操作。
跨版本更新或复杂更新可参考文档自行更新;或付费支持,标准与技术服务费一致。
## QA
### 如何交付?
完整版应用 = 开源版镜像 + 商业版镜像
我们会提供一个商业版镜像给你使用,该镜像需要一个 License 启动。
### 二次开发如何操作?
可以修改开源版部分代码,不支持修改商业版镜像。完整版本=开源版+商业版镜像,所以是可以修改部分内容的。但是如果二开了,后续则需要自己进行代码合并升级。
### Sealos 运行费用
Sealos 云服务属于按量计费,下面是它的价格表:
![alt text](/imgs/image-58.png)
## 管理后台部分截图
| | | |
| ---- | ---- | ---- |
| ![alt text](/imgs/image-55.png) | ![alt text](/imgs/image-56.png) | ![alt text](/imgs/image-57.png) |

View File

@@ -1,4 +0,0 @@
{
"title": "收费说明",
"pages": ["saas","intro"]
}

View File

@@ -1,9 +0,0 @@
---
title: 线上版定价
description: FastGPT 线上版定价
---
线上版价格按套餐订阅模式,具体价格和计费请查看(请正确选择版本,账号不互通):
- [海外版](https://cloud.tryfastgpt.ai/price)
- [国内版](https://cloud.fastgpt.cn/price)

View File

@@ -5,16 +5,16 @@ description: FastGPT Open Source License
The FastGPT project is open-sourced under the Apache License 2.0, but includes the following additional conditions:
+ FastGPT may be used for commercial purposes, such as operating it as "backend-as-a-service" for other applications or providing it as an enterprise development platform. However, you must contact us to obtain a commercial license under the following circumstances:
+ Multi-tenant SaaS Service: Unless explicit written authorization from FastGPT is obtained, you may not use the source code of tryfastgpt.ai to operate a multi-tenant SaaS service similar to tryfastgpt.ai.
+ Logo and Copyright Information: You may not remove or modify the FastGPT logo or copyright information within the FastGPT console.
- FastGPT may be used for commercial purposes, such as operating it as "backend-as-a-service" for other applications or providing it as an enterprise development platform. However, you must contact us to obtain a commercial license under the following circumstances:
For commercial licensing inquiries, please contact us via email at yujinlong@sealos.io.
- Multi-tenant SaaS Service: Unless explicit written authorization from FastGPT is obtained, you may not use the source code of tryfastgpt.ai to operate a multi-tenant SaaS service similar to tryfastgpt.ai.
- Logo and Copyright Information: You may not remove or modify the FastGPT logo or copyright information within the FastGPT console.
+ As a contributor, you must agree to allow your contributions to:
+ Be used under license terms that FastGPT may adjust to stricter or more lenient conditions.
+ Support commercial use cases such as the FastGPT cloud service.
For commercial licensing inquiries, please contact us via email at dennis@sealos.io.
- As a contributor, you must agree to allow your contributions to:
- Be used under license terms that FastGPT may adjust to stricter or more lenient conditions.
- Support commercial use cases such as the FastGPT cloud service.
Outside of these specific terms, all other rights and restrictions are governed by the Apache License 2.0. All other details can be found in the full Apache License 2.0 text. The interactive design of this product is protected by patent. © 2023 Sealos.

View File

@@ -5,16 +5,16 @@ description: ' FastGPT 开源许可证'
FastGPT 项目在 Apache License 2.0 许可下开源,但包含以下附加条件:
+ FastGPT 允许被用于商业化,例如作为其他应用的“后端即服务”使用,或者作为应用开发平台提供给企业。然而,当满足以下条件时,必须联系作者获得商业许可:
+ 多租户 SaaS 服务:除非获得 FastGPT 的明确书面授权,否则不得使用 tryfastgpt.ai 的源码来运营与 tryfastgpt.ai 服务类似的多租户 SaaS 服务。
+ LOGO 及版权信息:在使用 FastGPT 的过程中,不得移除或修改 FastGPT 控制台内的 LOGO 或版权信息。
- FastGPT 允许被用于商业化,例如作为其他应用的“后端即服务”使用,或者作为应用开发平台提供给企业。然而,当满足以下条件时,必须联系作者获得商业许可:
请通过电子邮件 yujinlong@sealos.io 联系我们咨询许可事宜
- 多租户 SaaS 服务:除非获得 FastGPT 的明确书面授权,否则不得使用 tryfastgpt.ai 的源码来运营与 tryfastgpt.ai 服务类似的多租户 SaaS 服务
- LOGO 及版权信息:在使用 FastGPT 的过程中,不得移除或修改 FastGPT 控制台内的 LOGO 或版权信息。
+ 作为贡献者,你必须同意将你贡献的代码用于以下用途:
+ 生产者有权将开源协议调整为更严格或更宽松的形式。
+ 可用于商业目的,例如 FastGPT 的云服务。
请通过电子邮件 dennis@sealos.io 联系我们咨询许可事宜。
- 作为贡献者,你必须同意将你贡献的代码用于以下用途:
- 生产者有权将开源协议调整为更严格或更宽松的形式。
- 可用于商业目的,例如 FastGPT 的云服务。
除此之外,所有其他权利和限制均遵循 Apache License 2.0。如果你需要更多详细信息,可以参考 Apache License 2.0 的完整版本。本产品的交互设计受到外观专利保护。© 2023 Sealos.

View File

@@ -22,6 +22,7 @@ We place a high value on your privacy protection. When using FastGPT cloud servi
**Disclosure of Information**
1. We will not disclose your personal information to third parties unless:
1. You have previously consented;
2. Required by law;
3. To safeguard our legitimate rights or those of other users.
@@ -57,5 +58,5 @@ Due to servers potentially being located in different countries/regions, you agr
**Contact Us**
1. For any questions, suggestions, or complaints about this policy, contact us at: yujinlong@sealos.io.
1. For any questions, suggestions, or complaints about this policy, contact us at: dennis@sealos.io.
2. We will respond promptly and address your concerns.

View File

@@ -58,5 +58,5 @@ description: ' FastGPT 隐私政策'
**联系我们**
1. 如您对本隐私政策有任何疑问、建议或投诉,请通过以下方式与我们联系:yujinlong@sealos.io。
1. 如您对本隐私政策有任何疑问、建议或投诉,请通过以下方式与我们联系:dennis@sealos.io。
2. 我们将尽快回复并解决您提出的问题。

View File

@@ -3,73 +3,73 @@ title: Service Agreement
description: FastGPT Service Agreement
---
Last Updated: March 3, 2024
Last Updated: March 3, 2024
This FastGPT Service Agreement constitutes the terms and conditions agreed between you and ZHUHAI Sealos CLOUD COMPUTING CO., LTD. (referred to as "Sealos" or "the Company") regarding the use of FastGPT cloud services (hereinafter "the Service"). Please read and fully understand all clauses carefully, especially those related to liability exemptions, limitations on your rights, dispute resolution, and governing law. If you disagree with any terms, you shall not register or use the Service.
This FastGPT Service Agreement constitutes the terms and conditions agreed between you and ZHUHAI Sealos CLOUD COMPUTING CO., LTD. (referred to as "Sealos" or "the Company") regarding the use of FastGPT cloud services (hereinafter "the Service"). Please read and fully understand all clauses carefully, especially those related to liability exemptions, limitations on your rights, dispute resolution, and governing law. If you disagree with any terms, you shall not register or use the Service.
**Article 1 Service Content**
**Article 1 Service Content**
1. Sealos will provide you with internet-based information technology services, including but not limited to storage, computing, and network transmission.
2. Sealos may send you updates and announcements via in-platform messages, emails, or SMS about the latest service developments.
3. Sealos will provide relevant technical support and customer service to assist with your Service usage.
4. Sealos guarantees a monthly service availability of no less than 99%.
1. Sealos will provide you with internet-based information technology services, including but not limited to storage, computing, and network transmission.
2. Sealos may send you updates and announcements via in-platform messages, emails, or SMS about the latest service developments.
3. Sealos will provide relevant technical support and customer service to assist with your Service usage.
4. Sealos guarantees a monthly service availability of no less than 99%.
**Article 2 Account Registration and Management**
**Article 2 Account Registration and Management**
1. You must register an account to use the Service. You confirm that all registration information provided is true, accurate, and complete, and agree to update it promptly.
2. You are responsible for safeguarding your account credentials, and accountable for all activities conducted through your account. If you discover unauthorized use, please immediately change your password or contact us.
3. Sealos reserves the right to review accounts and may suspend or terminate Service provision if accounts are found to violate laws, regulations, or this Agreement.
1. You must register an account to use the Service. You confirm that all registration information provided is true, accurate, and complete, and agree to update it promptly.
2. You are responsible for safeguarding your account credentials, and accountable for all activities conducted through your account. If you discover unauthorized use, please immediately change your password or contact us.
3. Sealos reserves the right to review accounts and may suspend or terminate Service provision if accounts are found to violate laws, regulations, or this Agreement.
**Article 3 Service Usage Rules**
**Article 3 Service Usage Rules**
1. You shall not use the Service for any illegal activities or acts infringing upon others' rights, including but not limited to intellectual property infringement, unauthorized disclosure of confidential information, etc.
2. You shall not engage in malicious account registration through unreasonable means, including but not limited to purposes of profit-making, speculation, or arbitrage.
3. You shall not use the Service to spread illegal, harmful, or malicious software or information.
4. You must abide by all applicable laws/regulations and this Agreement, bearing full responsibility for published information and results from Service usage.
5. It is prohibited to generate content through Sealos' connected models that may harm individuals or society. Ensuring platform safety is critical for stable operations. Violations (including but not limited to the following) will result in immediate account termination without refund:
- Exploitation and Abuse
- Content describing, depicting, or promoting child sexual exploitation/abuse, regardless of legal status. This includes content creating contexts for child pornography.
- Content describing or meant to cultivate relationships with children for exploitative purposes, especially sexual exploitation including grooming.
- Non-Consensual Intimate Content
- Prohibiting content describing, providing, or promoting non-consensual intimate activities.
- Sexual Services
- Prohibiting content describing, providing, or promoting commercial activity and sexual services, including encouraging or facilitating real-world sexual engagement.
- Human Trafficking
- Prohibiting content related to human trafficking purposes, including recruitment, facilitating transportation, funding, or enabling exploitation such as forced labor, domestic servitude, forced marriages, or forced medical procedures.
- Self-Harm/Suicide
- Prohibiting content depicting, praising, supporting, promoting, glorifying, encouraging, or instructing self-harm/suicide behaviors.
- Violent Content
- Prohibiting content describing or depicting graphic violence or bloodshed.
- Prohibiting content advocating terrorism; praising/supporting terrorist organizations/actors; encouraging violence; or assisting such organizations in recruitment.
- Prohibiting content threatening violence or inciting harm against others.
- Hate Speech & Discrimination
- Prohibiting content attacking, defaming, intimidating, degrading, or excluding individuals/groups based on actual or perceived characteristics like race, gender, religious belief, disability, caste, etc.
- Prohibiting threatening, abusive language/images targeting individuals/groups; advocating physical harm; or other abusive behaviors (e.g., stalking).
- Fraudulent Misinformation
- Prohibiting intentionally deceptive content that may harm public interest, particularly relating to health, safety, electoral integrity, or civil participation.
- Malicious Software
- Prohibiting content directly supporting illegal attacks or technical harm, such as providing malicious executable files, orchestrating DDoS attacks, or managing C2 servers.
1. You shall not use the Service for any illegal activities or acts infringing upon others' rights, including but not limited to intellectual property infringement, unauthorized disclosure of confidential information, etc.
2. You shall not engage in malicious account registration through unreasonable means, including but not limited to purposes of profit-making, speculation, or arbitrage.
3. You shall not use the Service to spread illegal, harmful, or malicious software or information.
4. You must abide by all applicable laws/regulations and this Agreement, bearing full responsibility for published information and results from Service usage.
5. It is prohibited to generate content through Sealos' connected models that may harm individuals or society. Ensuring platform safety is critical for stable operations. Violations (including but not limited to the following) will result in immediate account termination without refund:
- Exploitation and Abuse
- Content describing, depicting, or promoting child sexual exploitation/abuse, regardless of legal status. This includes content creating contexts for child pornography.
- Content describing or meant to cultivate relationships with children for exploitative purposes, especially sexual exploitation including grooming.
- Non-Consensual Intimate Content
- Prohibiting content describing, providing, or promoting non-consensual intimate activities.
- Sexual Services
- Prohibiting content describing, providing, or promoting commercial activity and sexual services, including encouraging or facilitating real-world sexual engagement.
- Human Trafficking
- Prohibiting content related to human trafficking purposes, including recruitment, facilitating transportation, funding, or enabling exploitation such as forced labor, domestic servitude, forced marriages, or forced medical procedures.
- Self-Harm/Suicide
- Prohibiting content depicting, praising, supporting, promoting, glorifying, encouraging, or instructing self-harm/suicide behaviors.
- Violent Content
- Prohibiting content describing or depicting graphic violence or bloodshed.
- Prohibiting content advocating terrorism; praising/supporting terrorist organizations/actors; encouraging violence; or assisting such organizations in recruitment.
- Prohibiting content threatening violence or inciting harm against others.
- Hate Speech & Discrimination
- Prohibiting content attacking, defaming, intimidating, degrading, or excluding individuals/groups based on actual or perceived characteristics like race, gender, religious belief, disability, caste, etc.
- Prohibiting threatening, abusive language/images targeting individuals/groups; advocating physical harm; or other abusive behaviors (e.g., stalking).
- Fraudulent Misinformation
- Prohibiting intentionally deceptive content that may harm public interest, particularly relating to health, safety, electoral integrity, or civil participation.
- Malicious Software
- Prohibiting content directly supporting illegal attacks or technical harm, such as providing malicious executable files, orchestrating DDoS attacks, or managing C2 servers.
**Article 4 Fees and Payment**
**Article 4 Fees and Payment**
1. You agree to pay fees associated with the Service, with pricing subject to our official published rates.
2. Sealos reserves the right to adjust Service fees based on operational costs and market conditions. Updated pricing will apply according to the rate at the time of payment.
1. You agree to pay fees associated with the Service, with pricing subject to our official published rates.
2. Sealos reserves the right to adjust Service fees based on operational costs and market conditions. Updated pricing will apply according to the rate at the time of payment.
**Article 5 Liability Exemption and Limitations**
**Article 5 Liability Exemption and Limitations**
1. The Service is provided under existing technical conditions and cannot be guaranteed to be entirely free of issues or satisfy all your requirements.
2. Sealos will not be liable for data loss/damage caused by user operational errors.
3. Given the cross-border nature of generative AI, all users must adhere strictly to local laws. Use violating Sealos' Acceptable Use Policy (including but not limited to prohibited uses under legal statutes, government orders, or infringing others' rights) will result in self-assumed responsibility by the user. Sealos disclaims responsibility for issues arising from customer use:
1. The Service is provided under existing technical conditions and cannot be guaranteed to be entirely free of issues or satisfy all your requirements.
2. Sealos will not be liable for data loss/damage caused by user operational errors.
3. Given the cross-border nature of generative AI, all users must adhere strictly to local laws. Use violating Sealos' Acceptable Use Policy (including but not limited to prohibited uses under legal statutes, government orders, or infringing others' rights) will result in self-assumed responsibility by the user. Sealos disclaims responsibility for issues arising from customer use:
[Interim Measures for the Administration of Generative AI Services in China](http://www.cac.gov.cn/2023-04/11/c_1682854275475410.htm)
[Interim Measures for the Administration of Generative AI Services in China](http://www.cac.gov.cn/2023-04/11/c_1682854275475410.htm)
**Article 6 Intellectual Property Rights**
**Article 6 Intellectual Property Rights**
1. Sealos holds all intellectual property rights regarding the Service, software, technology, and documentation. Without express permission, you may not copy, distribute, rent, or reverse-engineer such materials.
2. You retain ownership of intellectual property rights for all data/content (including but not limited to files, images) generated through Service usage. Sealos will not use, copy, or modify your materials.
3. Content/data from other Service users are owned by their original creators. You may not use, copy, or modify such materials without explicit consent.
1. Sealos holds all intellectual property rights regarding the Service, software, technology, and documentation. Without express permission, you may not copy, distribute, rent, or reverse-engineer such materials.
2. You retain ownership of intellectual property rights for all data/content (including but not limited to files, images) generated through Service usage. Sealos will not use, copy, or modify your materials.
3. Content/data from other Service users are owned by their original creators. You may not use, copy, or modify such materials without explicit consent.
**Article 7 Additional Provisions**
**Article 7 Additional Provisions**
1. If any clause is deemed unlawful or invalid, the remaining provisions shall remain enforceable.
2. Sealos retains final authority in interpreting this Agreement and privacy policies. For any inquiries, please contact us at yujinlong@sealos.io.
1. If any clause is deemed unlawful or invalid, the remaining provisions shall remain enforceable.
2. Sealos retains final authority in interpreting this Agreement and privacy policies. For any inquiries, please contact us at dennis@sealos.io.

View File

@@ -25,27 +25,26 @@ FastGPT 服务协议是您与珠海环界云计算有限公司(以下简称“
1. 您不得利用本服务从事任何违法活动或侵犯他人合法权益的行为,包括但不限于侵犯知识产权、泄露他人商业机密等。
2. 您不得通过任何手段恶意注册账户,包括但不限于以牟利、炒作、套现等目的。
3. 您不得利用本服务传播任何违法、有害、恶意软件等信息。
4. 您应遵守相关法律法规及本协议的规定,对在本服务中发布的信息及使用本服务所产生的结果承担全部责任。
4. 您应遵守相关法律法规及本协议的规定,对在本服务中发布的信息及使用本服务所产生的结果承担全部责任。
5. 我们禁止使用我们对接的模型服务生成可能对个人或社会造成伤害的内容。保障平台的安全性,是长期稳定运营的关键。如发现任何利用平台接入模型能力进行违规内容生成和使用,将立即封号,账号余额不退。违规内容包括但不限于:
- 剥削和虐待
- 剥削和虐待
- 禁止描述、展示或宣扬儿童性剥削或性虐待的内容,无论法律是否禁止。这包括涉及儿童或使儿童色情的内容。
- 禁止描述或用于培养儿童的内容。修饰是成年人以剥削,特别是性剥削为目的与儿童建立关系的行为。这包括以性剥削、贩运或其他形式剥削为目的与儿童交流。
- 未经同意的私密内容
- 未经同意的私密内容
- 服务禁止描述、提供或宣传未经同意的亲密活动的内容。
- 禁止描述、提供特征或宣传或用于招揽商业性活动和性服务的内容。这包括鼓励和协调真正的性活动。
- 禁止描述或用于人口贩运目的的内容。这包括招募人员、便利交通、支付和助长对人的剥削,如强迫劳动、家庭奴役、役、强迫婚姻和强迫医疗程序。
- 自杀和自残,禁止描述、赞美、支持、促进、美化、鼓励和/或指导个人自残或自杀的内容。
- 暴力内容和行为
- 暴力内容和行为
- 禁止描述、展示或宣扬血腥暴力或血腥的内容。
- 禁止描绘恐怖主义行为的内容;赞扬或支持恐怖组织、恐怖行为者或暴力恐怖意识形态;鼓励恐怖活动;向恐怖组织或恐怖事业提供援助;或协助恐怖组织招募成员。
- 禁止通过暴力威胁或煽动来鼓吹或宣扬对他人的暴力行为的内容。
- 仇恨言论和歧视
- 仇恨言论和歧视
- 禁止基于实际或感知的种族、民族、国籍、性别、性别认同、性取向、宗教信仰、年龄、残疾状况、种姓或与系统性偏见或边缘化相关的任何其他特征等特征攻击、诋毁、恐吓、降级、针对或排斥个人或群体的内容。
- 禁止针对个人或群体进行威胁、恐吓、侮辱、贬低或贬低的语言或图像、宣扬身体伤害或其他虐待行为(如跟踪)的内容。
- 禁止故意欺骗并可能对公共利益产生不利影响的内容,包括与健康、安全、选举诚信或公民参与相关的欺骗性或不真实内容。
- 直接支持非法主动攻击或造成技术危害的恶意软件活动的内容,例如提供恶意可执行文件、组织拒绝服务攻击或管理命令和控制服务器。
**第4条 费用及支付**
1. 您同意支付与本服务相关的费用,具体费用标准以我们公布的价格为准。
@@ -68,4 +67,4 @@ FastGPT 服务协议是您与珠海环界云计算有限公司(以下简称“
**第7条 其他条款**
1. 如本协议中部分条款因违反法律法规而被视为无效,不影响其他条款的效力。
2. 本公司保留对本协议及隐私政策的最终解释权。如您对本协议或隐私政策有任何疑问,请联系我们:yujinlong@sealos.io。
2. 本公司保留对本协议及隐私政策的最终解释权。如您对本协议或隐私政策有任何疑问,请联系我们:dennis@sealos.io。

View File

@@ -0,0 +1,5 @@
{
"title": "4.10.x",
"description": "",
"pages": ["4101", "4100"]
}

View File

@@ -1,8 +1,19 @@
---
title: 'V4.11.1(进行中)'
title: 'V4.11.1'
description: 'FastGPT V4.11.1 更新说明'
---
## 升级说明
### 1. 更新镜像:
- 更新 FastGPT 镜像tag: v4.11.1
- 更新 FastGPT 商业版镜像tag: v4.11.1
- 更新 fastgpt-plugin 镜像 tag: v0.1.7
- mcp_server 无需更新
- Sandbox 无需更新
- AIProxy 无需更新
## 🚀 新增内容
1. 系统工具,工具集支持直接给工具调用使用。
@@ -24,6 +35,8 @@ description: 'FastGPT V4.11.1 更新说明'
1. MCP object 类型数据传递错误。
2. 登录页 UI 偏移。
3. Excel 表带有换行符号时,导致分块异常。
4. Doc2x PDF 识别去除多余标签。
5. 404 页面翻译失效。
## 🔨 工具更新

View File

@@ -0,0 +1,5 @@
{
"title": "4.11.x",
"description": "",
"pages": ["4111", "4110"]
}

View File

@@ -1,5 +1,5 @@
---
title: 升级到 V4.0
title: V4.0
description: FastGPT 从旧版本升级到 V4.0 操作指南
---
@@ -12,12 +12,12 @@ import { Alert } from '@/components/docs/Alert';
需要连接上 MongoDB 数据库,执行两条命令:
```js
db.models.renameCollection("apps")
db.sharechats.renameCollection("outlinks")
db.models.renameCollection('apps');
db.sharechats.renameCollection('outlinks');
```
<Alert context="warning">
注意:从旧版更新到 V4 MongoDB 会自动创建空表,你需要先手动删除这两个空表,再执行上面的操作。
注意:从旧版更新到 V4 MongoDB 会自动创建空表,你需要先手动删除这两个空表,再执行上面的操作。
</Alert>
## 初始化几个表中的字段
@@ -25,32 +25,32 @@ db.sharechats.renameCollection("outlinks")
依次执行下面 3 条命令,时间比较长,不成功可以重复执行(会跳过已经初始化的数据),直到所有数据更新完成。
```js
db.chats.find({appId: {$exists: false}}).forEach(function(item){
db.chats.find({ appId: { $exists: false } }).forEach(function (item) {
db.chats.updateOne(
{
_id: item._id,
_id: item._id
},
{ "$set": {"appId":item.modelId}}
)
})
{ $set: { appId: item.modelId } }
);
});
db.collections.find({appId: {$exists: false}}).forEach(function(item){
db.collections.find({ appId: { $exists: false } }).forEach(function (item) {
db.collections.updateOne(
{
_id: item._id,
_id: item._id
},
{ "$set": {"appId":item.modelId}}
)
})
{ $set: { appId: item.modelId } }
);
});
db.outlinks.find({shareId: {$exists: false}}).forEach(function(item){
db.outlinks.updateOne(
{
_id: item._id,
db.outlinks.find({ shareId: { $exists: false } }).forEach(function (item) {
db.outlinks.updateOne(
{
_id: item._id
},
{ "$set": {"shareId":item._id.toString(),"appId":item.modelId}}
)
})
{ $set: { shareId: item._id.toString(), appId: item.modelId } }
);
});
```
## 初始化 API

View File

@@ -1,5 +1,5 @@
---
title: 升级到 V4.1
title: V4.1
description: FastGPT 从旧版本升级到 V4.1 操作指南
---

View File

@@ -1,5 +1,5 @@
---
title: 升级到 V4.2
title: V4.2
description: FastGPT 从旧版本升级到 V4.2 操作指南
---

View File

@@ -1,5 +1,5 @@
---
title: 升级到 V4.2.1
title: V4.2.1
description: FastGPT 从旧版本升级到 V4.2.1 操作指南
---

View File

@@ -1,5 +1,5 @@
---
title: 升级到 V4.3(包含升级脚本)
title: V4.3(包含升级脚本)
description: FastGPT 从旧版本升级到 V4.3 操作指南
---

View File

@@ -1,5 +1,5 @@
---
title: 升级到 V4.4(包含升级脚本)
title: V4.4(包含升级脚本)
description: FastGPT 从旧版本升级到 V4.4 操作指南
---
@@ -16,4 +16,3 @@ curl --location --request POST 'https://{{host}}/api/admin/initv44' \
```
会给初始化 Mongo 的部分字段。

View File

@@ -1,5 +1,5 @@
---
title: 升级到 V4.4.1(包含升级脚本)
title: V4.4.1(包含升级脚本)
description: FastGPT 从旧版本升级到 V4.4.1 操作指南
---
@@ -16,4 +16,3 @@ curl --location --request POST 'https://{{host}}/api/admin/initv441' \
```
会给初始化 Mongo 的 dataset.files将所有数据设置为可用。

View File

@@ -1,5 +1,5 @@
---
title: 升级到 V4.4.2(包含升级脚本)
title: V4.4.2(包含升级脚本)
description: FastGPT 从旧版本升级到 V4.4.2 操作指南
---
@@ -16,4 +16,3 @@ curl --location --request POST 'https://{{host}}/api/admin/initv442' \
```
会给初始化 Mongo 的 Bill 表的索引,之前过期时间有误。

View File

@@ -1,6 +1,6 @@
---
title: V4.4.7需执行升级脚本)
description: FastGPT V4.4.7 更新(需执行升级脚本)
title: V4.4.7包含升级脚本)
description: FastGPT V4.4.7 更新(包含升级脚本)
---
## 执行初始化 API

View File

@@ -1,5 +1,5 @@
---
title: V4.5.1(需进行初始化)
title: V4.5.1(包含升级脚本)
description: FastGPT V4.5.1 更新
---
@@ -16,6 +16,7 @@ curl --location --request POST 'https://{{host}}/api/admin/initv451' \
```
初始化内容:
1. rename 数据库字段
2. 初始化 Mongo APP 表中知识库的相关字段
3. 初始化 PG 和 Mongo 的内容,为每个文件创建一个集合(存储 Mongo 中),并反馈赋值给 PG。

Some files were not shown because too many files have changed in this diff Show More