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 pull-requests: write
jobs: 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 # Add a new job to generate unified timestamp
generate-timestamp: generate-timestamp:
needs: sync-images
runs-on: ubuntu-latest runs-on: ubuntu-latest
outputs: outputs:
datetime: ${{ steps.datetime.outputs.datetime }} datetime: ${{ steps.datetime.outputs.datetime }}
@@ -40,6 +78,13 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 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 - name: Docker meta
id: meta id: meta
uses: docker/metadata-action@v5 uses: docker/metadata-action@v5

View File

@@ -20,6 +20,12 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 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 - name: Get current datetime
id: datetime id: datetime
run: echo "datetime=$(date +'%Y%m%d%H%M%S')" >> $GITHUB_OUTPUT run: echo "datetime=$(date +'%Y%m%d%H%M%S')" >> $GITHUB_OUTPUT

View File

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

View File

@@ -25,7 +25,12 @@
"[typescript]": { "[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode" "editor.defaultFormatter": "esbenp.prettier-vscode"
}, },
"mdx.server.enable": true,
"markdown.copyFiles.overwriteBehavior": "nameIncrementally",
"markdown.copyFiles.destination": { "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. 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. 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: 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/) * [部署 FastGPT](https://doc.fastgpt.io/docs/introduction/development/sealos/)
* [系统配置文件说明](https://doc.fastgpt.io/docs/introduction/development/configuration/) * [系统配置文件说明](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/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/) * [OpenAPI API 文档](https://doc.fastgpt.io/docs/introduction/development/openapi/)
* [知识库结构详解](https://doc.fastgpt.io/docs/introduction/guide/knowledge_base/RAG/) * [知识库结构详解](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 服务。 1. 允许作为后台服务直接商用,但不允许提供 SaaS 服务。
2. 未经商业授权,任何形式的商用服务均需保留相关版权信息。 2. 未经商业授权,任何形式的商用服务均需保留相关版权信息。
3. 完整请查看 [FastGPT Open Source License](./LICENSE) 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) - [Deploying FastGPT](https://doc.fastgpt.io/docs/introduction/development/docker)
- [Guide on System Configs](https://doc.fastgpt.io/docs/introduction/development/configuration) - [Guide on System Configs](https://doc.fastgpt.io/docs/introduction/development/configuration)
- [Configuring Multiple Models](https://doc.fastgpt.io/docs//introduction/development/modelConfig/intro) - [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"> <a href="#FastGPT">
<img src="https://img.shields.io/badge/-Back_to_Top-7d09f1.svg" alt="#" align="right"> <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. 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. 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) 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"> <a href="#FastGPT">
<img src="https://img.shields.io/badge/-Back_to_Top-7d09f1.svg" alt="#" align="right"> <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) - [FastGPT のデプロイ](https://doc.fastgpt.io/docs/introduction/development/docker)
- [システム 設定 ガイド](https://doc.fastgpt.io/docs/introduction/development/configuration) - [システム 設定 ガイド](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/modelConfig/ai-proxy)
- [バージョン 更新 とアップグレード](https://doc.fastgpt.io/docs/introduction/development/upgrading/intro) - [バージョン 更新 とアップグレード](https://doc.fastgpt.io/docs/introduction/development/upgrading/index)
<!-- ## :point_right: ロードマップ <!-- ## :point_right: ロードマップ
- [FastGPT ロードマップ](https://kjqvjse66l.feishu.cn/docx/RVUxdqE2WolDYyxEKATcM0XXnte) --> - [FastGPT ロードマップ](https://kjqvjse66l.feishu.cn/docx/RVUxdqE2WolDYyxEKATcM0XXnte) -->

View File

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

View File

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

View File

@@ -1,8 +1,8 @@
# fast # FastGPT 文档
这是FastGPT的官方文档采用fumadoc框架。 这是FastGPT的官方文档采用fumadoc框架。
# 获取搜索应用 ## 配置文档搜索
点击[Algolia](https://dashboard.algolia.com/account/overview),进行注册账号,注册成功后需要点击页面的搜索,然后查看应用,默认会有一个应用。 点击[Algolia](https://dashboard.algolia.com/account/overview),进行注册账号,注册成功后需要点击页面的搜索,然后查看应用,默认会有一个应用。
@@ -16,7 +16,7 @@
![](./public/readme/algolia3.png) ![](./public/readme/algolia3.png)
# 运行项目 ## 运行项目
要运行文档,首先需要进行环境变量配置,在文档的根目录下创建`.env.local`文件,填写以下环境变量: 要运行文档,首先需要进行环境变量配置,在文档的根目录下创建`.env.local`文件,填写以下环境变量:
@@ -35,7 +35,7 @@ npm run dev
``` ```
项目会默认跑在`http:localhost:3000`端口 项目会默认跑在`http:localhost:3000`端口
# 书写文档 ## 书写文档
文档采用`mdx`格式,大体和`md`一致,但是现在文档的元数据只支持`title` `description``icon`三个字段,参考以下示例代码: 文档采用`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"`字段写下对应的文件名来支持英文文档。 `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) 1. 在 `FastGPT/document/app/[lang]/docs/layout.tsx` 文件中新增导航。
最后,如果依然有问题,可以进入`https://fumadocs.dev/docs/ui`官网询问官网提供的ai来了解文档框架的使用。

View File

@@ -30,9 +30,17 @@ export default async function Layout({
title: t('common:use-cases', lang), title: t('common:use-cases', lang),
url: lang === 'zh-CN' ? '/docs/use-cases' : '/en/docs/use-cases' 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), title: t('common:protocol', lang),
url: lang === 'zh-CN' ? '/docs/protocol' : '/en/docs/protocol' 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)} {...baseOptions(lang)}
nav={{ nav={{
title: ( 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"> <div className="block dark:hidden">
<LogoLight className="w-48 h-auto" /> <LogoLight className="w-48 h-auto" />
</div> </div>

View File

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

View File

@@ -9,12 +9,14 @@ const exactMap: Record<string, string> = {
'/docs/guide/admin/sso_dingtalk': '/docs/guide/admin/sso_dingtalk':
'/docs/introduction/guide/admin/sso#/docs/introduction/guide/admin/sso#钉钉', '/docs/introduction/guide/admin/sso#/docs/introduction/guide/admin/sso#钉钉',
'/docs/guide/knowledge_base/rag': '/docs/introduction/guide/knowledge_base/RAG', '/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> = { const prefixMap: Record<string, string> = {
'/docs/development': '/docs/introduction/development', '/docs/development': '/docs/introduction/development',
'/docs/FAQ': '/docs/introduction/FAQ', '/docs/FAQ': '/docs/faq',
'/docs/guide': '/docs/introduction/guide', '/docs/guide': '/docs/introduction/guide',
'/docs/shopping_cart': '/docs/introduction/shopping_cart', '/docs/shopping_cart': '/docs/introduction/shopping_cart',
'/docs/agreement': '/docs/protocol' '/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'; import { Alert } from '@/components/docs/Alert';
t
# 如何获取 AppId # 如何获取 AppId
可在应用详情的路径里获取 AppId。 可在应用详情的路径里获取 AppId。
@@ -18,16 +18,17 @@ import { Alert } from '@/components/docs/Alert';
{/* * 对话现在有`v1`和`v2`两个接口可以按需使用v2 自 4.9.4 版本新增v1 接口同时不再维护 */} {/* * 对话现在有`v1`和`v2`两个接口可以按需使用v2 自 4.9.4 版本新增v1 接口同时不再维护 */}
* 有些包调用时,`BaseUrl`需要添加`v1`路径有些不需要如果出现404情况可补充`v1`重试。 - 有些包调用时,`BaseUrl`需要添加`v1`路径有些不需要如果出现404情况可补充`v1`重试。
</Alert> </Alert>
## 请求简易应用和工作流 ## 请求简易应用和工作流
`v1`对话接口兼容`GPT`的接口!如果你的项目使用的是标准的`GPT`官方接口,可以直接通过修改`BaseUrl`和 `Authorization`来访问 FastGpt 应用,不过需要注意下面几个规则: `v1`对话接口兼容`GPT`的接口!如果你的项目使用的是标准的`GPT`官方接口,可以直接通过修改`BaseUrl`和 `Authorization`来访问 FastGpt 应用,不过需要注意下面几个规则:
<Alert icon="🤖" context="success"> <Alert icon="🤖" context="success">
* 传入的`model``temperature`等参数字段均无效,这些字段由编排决定,不会根据 API 参数改变。 * 传入的`model``temperature`等参数字段均无效,这些字段由编排决定,不会根据 API 参数改变。 *
* 不会返回实际消耗`Token`值,如果需要,可以设置`detail=true`,并手动计算 `responseData` 里的`tokens`值。 不会返回实际消耗`Token`值,如果需要,可以设置`detail=true`,并手动计算 `responseData`
里的`tokens`值。
</Alert> </Alert>
### 请求 ### 请求
@@ -60,8 +61,8 @@ curl --location --request POST 'http://localhost:3000/api/v1/chat/completions' \
</Tab> </Tab>
<Tab> <Tab>
* 仅`messages`有部分区别,其他参数一致。 - 仅`messages`有部分区别,其他参数一致。
* 目前不支持上传文件,需上传到自己的对象存储中,获取对应的文件链接。 - 目前不支持上传文件,需上传到自己的对象存储中,获取对应的文件链接。
```bash ```bash
curl --location --request POST 'http://localhost:3000/api/v1/chat/completions' \ 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> </Tab>
</Tabs> </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 是一个由用户和贡献者参与推动的开源项目,如果您对产品使用存在疑问和建议,可尝试以下方式寻求支持。我们的团队与社区会竭尽所能为您提供帮助。 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

@@ -30,13 +30,11 @@ import { Alert } from '@/components/docs/Alert';
非常轻量,适合知识库索引量在 5000 万以下。 非常轻量,适合知识库索引量在 5000 万以下。
| 环境 | 最低配置(单节点) | 推荐配置 |
| 环境 | 最低配置(单节点) | 推荐配置 | | -------------------------------- | ------------------ | ------------ |
| ---- | ---- | ---- | | 测试(可以把计算进程设置少一些) | 2c4g | 2c8g |
| 测试(可以把计算进程设置少一些) | 2c4g | 2c8g | | 100w 组向量 | 4c8g 50GB | 4c16g 50GB |
| 100w 组向量 | 4c8g 50GB | 4c16g 50GB | | 500w 组向量 | 8c32g 200GB | 16c64g 200GB |
| 500w 组向量 | 8c32g 200GB | 16c64g 200GB |
### Milvus版本 ### Milvus版本
@@ -44,13 +42,11 @@ import { Alert } from '@/components/docs/Alert';
[点击查看 Milvus 官方推荐配置](https://milvus.io/docs/prerequisite-docker.md) [点击查看 Milvus 官方推荐配置](https://milvus.io/docs/prerequisite-docker.md)
| 环境 | 最低配置(单节点) | 推荐配置 |
| 环境 | 最低配置(单节点) | 推荐配置 | | ----------- | ------------------ | -------- |
| ---- | ---- | ---- | | 测试 | 2c8g | 4c16g |
| 测试 | 2c8g | 4c16g | | 100w 组向量 | 未测试 | |
| 100w 组向量 | 未测试 | | | 500w 组向量 | | |
| 500w 组向量 | | |
### zilliz cloud版本 ### zilliz cloud版本
@@ -89,6 +85,7 @@ brew install orbstack
``` ```
或者直接[下载安装包](https://orbstack.dev/download)进行安装。 或者直接[下载安装包](https://orbstack.dev/download)进行安装。
</Tab> </Tab>
<Tab value="Windows"> <Tab value="Windows">
我们建议将源代码和其他数据绑定到 Linux 容器中时,将其存储在 Linux 文件系统中,而不是 Windows 文件系统中。 我们建议将源代码和其他数据绑定到 Linux 容器中时,将其存储在 Linux 文件系统中,而不是 Windows 文件系统中。
@@ -96,6 +93,7 @@ brew install orbstack
可以选择直接[使用 WSL 2 后端在 Windows 中安装 Docker Desktop](https://docs.docker.com/desktop/wsl/)。 可以选择直接[使用 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)。 也可以直接[在 WSL 2 中安装命令行版本的 Docker](https://nickjanetakis.com/blog/install-docker-in-wsl-2-without-docker-desktop)。
</Tab> </Tab>
</Tabs> </Tabs>
@@ -110,7 +108,7 @@ brew install orbstack
<Alert icon="🤖" context="success"> <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> </Alert>
@@ -273,14 +271,14 @@ docker-compose up -d
### 如何更新版本? ### 如何更新版本?
1. 查看[更新文档](/docs/development/upgrading/intro/),确认要升级的版本,避免跨版本升级。 1. 查看[更新文档](/docs/development/upgrading/index/),确认要升级的版本,避免跨版本升级。
2. 修改镜像 tag 到指定版本 2. 修改镜像 tag 到指定版本
3. 执行下面命令会自动拉取镜像: 3. 执行下面命令会自动拉取镜像:
```bash ```bash
docker-compose pull docker-compose pull
docker-compose up -d docker-compose up -d
``` ```
4. 执行初始化脚本(如果有) 4. 执行初始化脚本(如果有)

View File

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

View File

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

View File

@@ -1,5 +1,5 @@
{ {
"title": "基础教程", "title": "基础教程",
"description": "FastGPT 基础教程", "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": "知识库", "title": "知识库",
"description": "知识库的基础原理、搜索方案、Web站点同步和外部文件知识库的使用方法。", "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, "root": true,
"pages": [ "pages": [
"[Handshake][联系我们](https://fael3z0zfze.feishu.cn/share/base/form/shrcnjJWtKqjOI9NbQTzhNyzljc)", "---入门---",
"index", "index",
"guide", "cloud",
"commercial",
"development", "development",
"FAQ", "---功能介绍---",
"shopping_cart", "...guide"
"community"
], ],
"order": 1 "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: 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: - 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. - 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. - Logo and Copyright Information: You may not remove or modify the FastGPT logo or copyright information within the FastGPT console.
For commercial licensing inquiries, please contact us via email at yujinlong@sealos.io. For commercial licensing inquiries, please contact us via email at dennis@sealos.io.
+ As a contributor, you must agree to allow your contributions to: - 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. - 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. - 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. 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 项目在 Apache License 2.0 许可下开源,但包含以下附加条件:
+ FastGPT 允许被用于商业化,例如作为其他应用的“后端即服务”使用,或者作为应用开发平台提供给企业。然而,当满足以下条件时,必须联系作者获得商业许可: - FastGPT 允许被用于商业化,例如作为其他应用的“后端即服务”使用,或者作为应用开发平台提供给企业。然而,当满足以下条件时,必须联系作者获得商业许可:
+ 多租户 SaaS 服务:除非获得 FastGPT 的明确书面授权,否则不得使用 tryfastgpt.ai 的源码来运营与 tryfastgpt.ai 服务类似的多租户 SaaS 服务。 - 多租户 SaaS 服务:除非获得 FastGPT 的明确书面授权,否则不得使用 tryfastgpt.ai 的源码来运营与 tryfastgpt.ai 服务类似的多租户 SaaS 服务。
+ LOGO 及版权信息:在使用 FastGPT 的过程中,不得移除或修改 FastGPT 控制台内的 LOGO 或版权信息。 - LOGO 及版权信息:在使用 FastGPT 的过程中,不得移除或修改 FastGPT 控制台内的 LOGO 或版权信息。
请通过电子邮件 yujinlong@sealos.io 联系我们咨询许可事宜。 请通过电子邮件 dennis@sealos.io 联系我们咨询许可事宜。
+ 作为贡献者,你必须同意将你贡献的代码用于以下用途: - 作为贡献者,你必须同意将你贡献的代码用于以下用途:
+ 生产者有权将开源协议调整为更严格或更宽松的形式。 - 生产者有权将开源协议调整为更严格或更宽松的形式。
+ 可用于商业目的,例如 FastGPT 的云服务。 - 可用于商业目的,例如 FastGPT 的云服务。
除此之外,所有其他权利和限制均遵循 Apache License 2.0。如果你需要更多详细信息,可以参考 Apache License 2.0 的完整版本。本产品的交互设计受到外观专利保护。© 2023 Sealos. 除此之外,所有其他权利和限制均遵循 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** **Disclosure of Information**
1. We will not disclose your personal information to third parties unless: 1. We will not disclose your personal information to third parties unless:
1. You have previously consented; 1. You have previously consented;
2. Required by law; 2. Required by law;
3. To safeguard our legitimate rights or those of other users. 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** **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. 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. 我们将尽快回复并解决您提出的问题。 2. 我们将尽快回复并解决您提出的问题。

View File

@@ -72,4 +72,4 @@ This FastGPT Service Agreement constitutes the terms and conditions agreed betwe
**Article 7 Additional Provisions** **Article 7 Additional Provisions**
1. If any clause is deemed unlawful or invalid, the remaining provisions shall remain enforceable. 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. 2. Sealos retains final authority in interpreting this Agreement and privacy policies. For any inquiries, please contact us at dennis@sealos.io.

View File

@@ -45,7 +45,6 @@ FastGPT 服务协议是您与珠海环界云计算有限公司(以下简称“
- 禁止故意欺骗并可能对公共利益产生不利影响的内容,包括与健康、安全、选举诚信或公民参与相关的欺骗性或不真实内容。 - 禁止故意欺骗并可能对公共利益产生不利影响的内容,包括与健康、安全、选举诚信或公民参与相关的欺骗性或不真实内容。
- 直接支持非法主动攻击或造成技术危害的恶意软件活动的内容,例如提供恶意可执行文件、组织拒绝服务攻击或管理命令和控制服务器。 - 直接支持非法主动攻击或造成技术危害的恶意软件活动的内容,例如提供恶意可执行文件、组织拒绝服务攻击或管理命令和控制服务器。
**第4条 费用及支付** **第4条 费用及支付**
1. 您同意支付与本服务相关的费用,具体费用标准以我们公布的价格为准。 1. 您同意支付与本服务相关的费用,具体费用标准以我们公布的价格为准。
@@ -68,4 +67,4 @@ FastGPT 服务协议是您与珠海环界云计算有限公司(以下简称“
**第7条 其他条款** **第7条 其他条款**
1. 如本协议中部分条款因违反法律法规而被视为无效,不影响其他条款的效力。 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 更新说明' 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. 系统工具,工具集支持直接给工具调用使用。 1. 系统工具,工具集支持直接给工具调用使用。
@@ -24,6 +35,8 @@ description: 'FastGPT V4.11.1 更新说明'
1. MCP object 类型数据传递错误。 1. MCP object 类型数据传递错误。
2. 登录页 UI 偏移。 2. 登录页 UI 偏移。
3. Excel 表带有换行符号时,导致分块异常。 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 操作指南 description: FastGPT 从旧版本升级到 V4.0 操作指南
--- ---
@@ -12,12 +12,12 @@ import { Alert } from '@/components/docs/Alert';
需要连接上 MongoDB 数据库,执行两条命令: 需要连接上 MongoDB 数据库,执行两条命令:
```js ```js
db.models.renameCollection("apps") db.models.renameCollection('apps');
db.sharechats.renameCollection("outlinks") db.sharechats.renameCollection('outlinks');
``` ```
<Alert context="warning"> <Alert context="warning">
注意:从旧版更新到 V4 MongoDB 会自动创建空表,你需要先手动删除这两个空表,再执行上面的操作。 注意:从旧版更新到 V4 MongoDB 会自动创建空表,你需要先手动删除这两个空表,再执行上面的操作。
</Alert> </Alert>
## 初始化几个表中的字段 ## 初始化几个表中的字段
@@ -25,32 +25,32 @@ db.sharechats.renameCollection("outlinks")
依次执行下面 3 条命令,时间比较长,不成功可以重复执行(会跳过已经初始化的数据),直到所有数据更新完成。 依次执行下面 3 条命令,时间比较长,不成功可以重复执行(会跳过已经初始化的数据),直到所有数据更新完成。
```js ```js
db.chats.find({appId: {$exists: false}}).forEach(function(item){ db.chats.find({ appId: { $exists: false } }).forEach(function (item) {
db.chats.updateOne( 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( 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.find({ shareId: { $exists: false } }).forEach(function (item) {
db.outlinks.updateOne( db.outlinks.updateOne(
{ {
_id: item._id, _id: item._id
}, },
{ "$set": {"shareId":item._id.toString(),"appId":item.modelId}} { $set: { shareId: item._id.toString(), appId: item.modelId } }
) );
}) });
``` ```
## 初始化 API ## 初始化 API

View File

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

View File

@@ -1,5 +1,5 @@
--- ---
title: 升级到 V4.2 title: V4.2
description: FastGPT 从旧版本升级到 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 操作指南 description: FastGPT 从旧版本升级到 V4.2.1 操作指南
--- ---

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

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