fix:change docs url (#5307)

This commit is contained in:
dreamer6680
2025-07-24 13:00:27 +08:00
committed by GitHub
parent 8e61029505
commit fa60f546d4
80 changed files with 285 additions and 94 deletions

View File

@@ -11,7 +11,7 @@ assignees: ''
[//]: # '方框内填 x 表示打钩'
- [ ] 我已确认目前没有类似 issue
- [ ] 我已完整查看过项目 README以及[项目文档](https://doc.fastgpt.io/docs/intro/)
- [ ] 我已完整查看过项目 README以及[项目文档](https://doc.fastgpt.io/docs/introduction/)
- [ ] 我使用了自己的 key并确认我的 key 是可正常使用的
- [ ] 我理解并愿意跟进此 issue协助测试和提供反馈
- [x] 我理解并认可上述内容,并理解项目维护者精力有限,**不遵循规则的 issue 可能会被无视或直接关闭**

View File

@@ -18,10 +18,10 @@ FastGPT 是一个 AI Agent 构建平台,提供开箱即用的数据处理、
<a href="https://fastgpt.io/">
<img height="21" src="https://img.shields.io/badge/在线使用-d4eaf7?style=flat-square&logo=spoj&logoColor=7d09f1" alt="cloud">
</a>
<a href="https://doc.fastgpt.io/docs/intro">
<a href="https://doc.fastgpt.io/docs/introduction">
<img height="21" src="https://img.shields.io/badge/相关文档-7d09f1?style=flat-square" alt="document">
</a>
<a href="https://doc.fastgpt.io/docs/development">
<a href="https://doc.fastgpt.io/docs/introduction/development/intro">
<img height="21" src="https://img.shields.io/badge/本地开发-%23d4eaf7?style=flat-square&logo=xcode&logoColor=7d09f1" alt="development">
</a>
<a href="/#-%E7%9B%B8%E5%85%B3%E9%A1%B9%E7%9B%AE">
@@ -101,15 +101,15 @@ https://github.com/labring/FastGPT/assets/15308462/7d3a38df-eb0e-4388-9250-2409b
> 使用 [Sealos](https://sealos.io) 服务,无需采购服务器、无需域名,支持高并发 & 动态伸缩,并且数据库应用采用 kubeblocks 的数据库,在 IO 性能方面,远超于简单的 Docker 容器部署。
[点击查看 Sealos 一键部署 FastGPT 教程](https://doc.fastgpt.io/docs/development/sealos/)
[点击查看 Sealos 一键部署 FastGPT 教程](https://doc.fastgpt.io/docs/introduction/development/sealos/)
* [快速开始本地开发](https://doc.fastgpt.io/docs/development/intro/)
* [部署 FastGPT](https://doc.fastgpt.io/docs/development/sealos/)
* [系统配置文件说明](https://doc.fastgpt.io/docs/development/configuration/)
* [多模型配置方案](https://doc.fastgpt.io/docs/development/modelconfig/one-api/)
* [版本更新/升级介绍](https://doc.fastgpt.io/docs/development/upgrading/)
* [OpenAPI API 文档](https://doc.fastgpt.io/docs/development/openapi/)
* [知识库结构详解](https://doc.fastgpt.io/docs/guide/knowledge_base/rag/)
* [快速开始本地开发](https://doc.fastgpt.io/docs/introduction/development/intro/)
* [部署 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)
* [OpenAPI API 文档](https://doc.fastgpt.io/docs/introduction/development/openapi/)
* [知识库结构详解](https://doc.fastgpt.io/docs/introduction/guide/knowledge_base/RAG/)
<a href="#readme">
<img src="https://img.shields.io/badge/-返回顶部-7d09f1.svg" alt="#" align="right">
@@ -134,7 +134,6 @@ https://github.com/labring/FastGPT/assets/15308462/7d3a38df-eb0e-4388-9250-2409b
- [PPIO 派欧云:一键调用高性价比的开源模型 API 和 GPU 容器](https://ppinfra.com/user/register?invited_by=VITYVU&utm_source=github_fastgpt)
- [AI Proxy国内模型聚合服务](https://sealos.run/aiproxy/?k=fastgpt-github/)
- [SiliconCloud (硅基流动) —— 开源模型在线体验平台](https://cloud.siliconflow.cn/i/TR9Ym0c4)
- [COW 个人微信/企微机器人](https://doc.fastgpt.io/docs/use-cases/external-integration/onwechat/)
<a href="#readme">
<img src="https://img.shields.io/badge/-返回顶部-7d09f1.svg" alt="#" align="right">
@@ -217,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/shopping_cart/intro/)
4. 联系方式Dennis@sealos.io[点击查看商业版定价策略](https://doc.fastgpt.io/docs/introduction/shopping_cart/intro/)

View File

@@ -18,8 +18,8 @@ FastGPT is a knowledge-based platform built on the LLMs, offers a comprehensive
[![GitHub pull request](https://img.shields.io/badge/PRs-welcome-fffff?style=flat-square&labelColor=d4eaf7&color=7d09f1)](https://github.com/labring/FastGPT/pulls)
[![GitHub last commit](https://img.shields.io/github/last-commit/labring/FastGPT?style=flat-square&labelColor=d4eaf7&color=7d09f1)](https://github.com/labring/FastGPT/pulls)
[![License](https://img.shields.io/badge/License-Apache--2.0-ffffff?style=flat-square&labelColor=d4eaf7&color=7d09f1)](https://github.com/labring/FastGPT/blob/main/LICENSE)
[![Documentation](https://img.shields.io/badge/Documentation-7d09f1?style=flat-square)](https://doc.fastgpt.io/docs/intro)
[![Local Development](https://img.shields.io/badge/Local_Development-%23d4eaf7?style=flat-square&logo=xcode&logoColor=7d09f1)](https://doc.fastgpt.io/docs/intro)
[![Documentation](https://img.shields.io/badge/Documentation-7d09f1?style=flat-square)](https://doc.fastgpt.io/docs/introduction)
[![Local Development](https://img.shields.io/badge/Local_Development-%23d4eaf7?style=flat-square&logo=xcode&logoColor=7d09f1)](https://doc.fastgpt.io/docs/introduction/development/intro)
[![Explore our platform](https://img.shields.io/badge/Explore_our_platform-d4eaf7?style=flat-square&logo=spoj&logoColor=7d09f1)](https://fastgpt.io/)
[![discord](https://theme.zdassets.com/theme_assets/678183/cc59daa07820943e943c2fc283b9079d7003ff76.svg)](https://discord.gg/mp68xkZn2Q)&nbsp;&nbsp;&nbsp;&nbsp;
@@ -74,13 +74,13 @@ Project tech stack: NextJs + TS + ChakraUI + MongoDB + PostgreSQL (PG Vector plu
Give it a 2-4 minute wait after deployment as it sets up the database. Initially, it might be a too slow since we're using the basic settings.
[sealos one click deployment tutorial](https://doc.fastgpt.io/docs/development/sealos/)
[sealos one click deployment tutorial](https://doc.fastgpt.io/docs/introduction/development/sealos/)
- [Getting Started with Local Development](https://doc.fastgpt.io/docs/development)
- [Deploying FastGPT](https://doc.fastgpt.io/docs/installation)
- [Guide on System Configs](https://doc.fastgpt.io/docs/installation/reference)
- [Configuring Multiple Models](https://doc.fastgpt.io/docs/installation/reference/models)
- [Version Updates & Upgrades](https://doc.fastgpt.io/docs/installation/upgrading)
- [Getting Started with Local Development](https://doc.fastgpt.io/docs/introduction/development/intro)
- [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)
<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/commercial)
4. Contact: Dennis@sealos.io , [click to view commercial version pricing strategy](https://doc.fastgpt.io/docs/introduction/shopping_cart/intro/)
<a href="#FastGPT">
<img src="https://img.shields.io/badge/-Back_to_Top-7d09f1.svg" alt="#" align="right">

View File

@@ -18,10 +18,10 @@ FastGPT は、LLM 上 に 構築 された 知識 ベースの Q&A システム
<a href="https://fastgpt.io/">
<img height="21" src="https://img.shields.io/badge/在线使用-d4eaf7?style=flat-square&logo=spoj&logoColor=7d09f1" alt="cloud">
</a>
<a href="https://doc.fastgpt.io/docs/intro">
<a href="https://doc.fastgpt.io/docs/introduction">
<img height="21" src="https://img.shields.io/badge/相关文档-7d09f1?style=flat-square" alt="document">
</a>
<a href="https://doc.fastgpt.io/docs/development">
<a href="https://doc.fastgpt.io/docs/introduction/development/intro">
<img height="21" src="https://img.shields.io/badge/本地开发-%23d4eaf7?style=flat-square&logo=xcode&logoColor=7d09f1" alt="development">
</a>
<a href="/#-%E7%9B%B8%E5%85%B3%E9%A1%B9%E7%9B%AE">
@@ -98,11 +98,11 @@ https://github.com/labring/FastGPT/assets/15308462/7d3a38df-eb0e-4388-9250-2409b
デプロイ 後、データベースをセットアップするので、24分待 ってください。基本設定 を 使 っているので、最初 は 少 し 遅 いかもしれません。
- [ローカル 開発入門](https://doc.fastgpt.io/docs/development)
- [FastGPT のデプロイ](https://doc.fastgpt.io/docs/installation)
- [システム 設定 ガイド](https://doc.fastgpt.io/docs/installation/reference)
- [複数 モデルの 設定](https://doc.fastgpt.io/docs/installation/reference/models)
- [バージョン 更新 とアップグレード](https://doc.fastgpt.io/docs/installation/upgrading)
- [ローカル 開発入門](https://doc.fastgpt.io/docs/introduction/development/intro)
- [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)
<!-- ## :point_right: ロードマップ
- [FastGPT ロードマップ](https://kjqvjse66l.feishu.cn/docx/RVUxdqE2WolDYyxEKATcM0XXnte) -->

View File

@@ -0,0 +1,5 @@
import { redirect } from 'next/navigation';
export default function HomePage() {
redirect(`/docs/introduction`);
}

View File

@@ -1,6 +1,7 @@
import { source } from '@/lib/source';
import { DocsPage, DocsBody, DocsDescription, DocsTitle } from 'fumadocs-ui/page';
import { notFound } from 'next/navigation';
import NotFound from '@/components/docs/not-found';
import { createRelativeLink } from 'fumadocs-ui/mdx';
import { getMDXComponents } from '@/mdx-components';
@@ -11,7 +12,11 @@ export default async function Page({
}) {
const { lang, slug } = await params;
const page = source.getPage(slug, lang);
if (!page || !page.data || !page.file) notFound();
// 如果页面不存在,调用 notFound()
if (!page || !page.data || !page.file) {
return <NotFound />;
}
const MDXContent = page.data.body;

View File

@@ -0,0 +1,6 @@
import { redirect } from 'next/navigation';
export default function NotFound() {
redirect(`/docs/introduction`);
return <></>;
}

View File

@@ -1,4 +1,8 @@
---
title: FastGPT 文档
description: FastGPT 官方文档
---
---
import { Redirect } from '@/components/docs/Redirect';
<Redirect to="/docs/introduction" />

View File

@@ -0,0 +1,8 @@
---
title: FAQ
description: FastGPT FAQ
---
import { Redirect } from '@/components/docs/Redirect';
<Redirect to="/docs/introduction/FAQ/docker" />

View File

@@ -0,0 +1,8 @@
---
title: 自定义模型
description: FastGPT 自定义模型
---
import { Redirect } from '@/components/docs/Redirect';
<Redirect to="/docs/introduction/development/custom-models/marker" />

View File

@@ -50,7 +50,7 @@ description: FastGPT 系统插件设计方案
- **src**: 运行时express 服务
- **test**: 测试相关
系统工具的结构可以参考 [如何开发系统工具](/docs/guide/plugins/dev_system_tool)。
系统工具的结构可以参考 [如何开发系统工具](/docs/introduction/guide/plugins/dev_system_tool)。
## 技术细节

View File

@@ -0,0 +1,8 @@
---
title: 设计文档
description: FastGPT 设计文档
---
import { Redirect } from '@/components/docs/Redirect';
<Redirect to="/docs/introduction/development/design/dataset" />

View File

@@ -0,0 +1,8 @@
---
title: 开发文档
description: FastGPT 开发文档
---
import { Redirect } from '@/components/docs/Redirect';
<Redirect to="/docs/introduction/development/intro" />

View File

@@ -0,0 +1,8 @@
---
title: 迁移
description: FastGPT 迁移
---
import { Redirect } from '@/components/docs/Redirect';
<Redirect to="/docs/introduction/development/migration/docker_db" />

View File

@@ -0,0 +1,8 @@
---
title: 模型配置
description: FastGPT 模型配置
---
import { Redirect } from '@/components/docs/Redirect';
<Redirect to="/docs/introduction/development/modelConfig/ai-proxy" />

View File

@@ -0,0 +1,8 @@
---
title: OpenAPI
description: FastGPT OpenAPI
---
import { Redirect } from '@/components/docs/Redirect';
<Redirect to="/docs/introduction/development/openapi/intro" />

View File

@@ -0,0 +1,8 @@
---
title: 代理
description: FastGPT 代理
---
import { Redirect } from '@/components/docs/Redirect';
<Redirect to="/docs/introduction/development/proxy/nginx" />

View File

@@ -53,5 +53,5 @@ PLUGIN_TOKEN=刚修改的 AUTH_TOKEN 值
## 🚀 新增内容
1. 独立系统工具服务,支持系统工具独立开发和调试。
2. 更新系统工具开发指南[系统工具开发指南](/docs/guide/plugins/dev_system_tool/)。
3. 更新[系统工具设计文档](/docs/guide/plugins/design_plugin/)。
2. 更新系统工具开发指南[系统工具开发指南](/docs/introduction/guide/plugins/dev_system_tool/)。
3. 更新[系统工具设计文档](/docs/introduction/guide/plugins/design_plugin/)。

View File

@@ -28,7 +28,7 @@ curl --location --request POST 'https://{{host}}/api/admin/initv464' \
4. 优化 - 历史记录模块。弃用旧的历史记录模块,直接在对应地方填写数值即可。
5. 调整 - 知识库搜索模块 topk 逻辑,采用 MaxToken 计算,兼容不同长度的文本块
6. 调整鉴权顺序,提高 apikey 的优先级避免cookie抢占 apikey 的鉴权。
7. 链接读取支持多选择器。参考[Web 站点同步用法](/docs/guide/knowledge_base/websync/)
7. 链接读取支持多选择器。参考[Web 站点同步用法](/docs/introduction/guide/knowledge_base/websync/)
8. 修复 - 分享链接图片上传鉴权问题
9. 修复 - Mongo 连接池未释放问题。
10. 修复 - Dataset Intro 无法更新

View File

@@ -17,10 +17,10 @@ description: FastGPT V4.6.5
## V4.6.5 功能介绍
1. 新增 - [问题优化模块](/docs/guide/dashboard/workflow/coreferenceresolution/)
2. 新增 - [文本编辑模块](/docs/guide/dashboard/workflow/text_editor/)
3. 新增 - [判断器模块](/docs/guide/dashboard/workflow/tfswitch//)
4. 新增 - [自定义反馈模块](/docs/guide/dashboard/workflow/custom_feedback/)
1. 新增 - [问题优化模块](/docs/introduction/guide/dashboard/workflow/coreferenceresolution/)
2. 新增 - [文本编辑模块](/docs/introduction/guide/dashboard/workflow/text_editor/)
3. 新增 - [判断器模块](/docs/introduction/guide/dashboard/workflow/tfswitch//)
4. 新增 - [自定义反馈模块](/docs/introduction/guide/dashboard/workflow/custom_feedback/)
5. 新增 - 【内容提取】模块支持选择模型,以及字段枚举
6. 优化 - docx读取兼容表格表格转markdown
7. 优化 - 高级编排连接线交互

View File

@@ -87,7 +87,7 @@ curl --location --request POST 'https://{{host}}/api/init/v468' \
1. 新增 - 知识库搜索合并模块。
2. 新增 - 新的 Http 模块,支持更加灵活的参数传入。同时支持了输入输出自动数据类型转化,例如:接口输出的 JSON 类型会自动转成字符串类型,直接给其他模块使用。此外,还补充了一些例子,可在文档中查看。
3. 优化 - 内容补全。将内容补全内置到【知识库搜索】中并实现了一次内容补全即可完成“指代消除”和“问题扩展”。FastGPT知识库搜索详细流程可查看[知识库搜索介绍](/docs/guide/dashboard/workflow/dataset_search/)
3. 优化 - 内容补全。将内容补全内置到【知识库搜索】中并实现了一次内容补全即可完成“指代消除”和“问题扩展”。FastGPT知识库搜索详细流程可查看[知识库搜索介绍](/docs/introduction/guide/dashboard/workflow/dataset_search/)
4. 优化 - LLM 模型配置,不再区分对话、分类、提取模型。同时支持模型的默认参数,避免不同模型参数冲突,可通过`defaultConfig`传入默认的配置。
5. 优化 - 流响应,参考了`ChatNextWeb`的流,更加丝滑。此外,之前提到的乱码、中断,刷新后又正常了,可能会修复)
6. 修复 - 语音输入文件无法上传。

View File

@@ -19,7 +19,7 @@ description: FastGPT V4.8.13 更新说明
### 4. 调整文件上传编排
虽然依然兼容旧版的文件上传编排,但是未来两个版本内将会去除兼容代码,请尽快调整编排,以适应最新的文件上传逻辑。尤其是嵌套应用的文件传递,未来将不会自动传递,必须手动指定传递的文件。具体内容可参考: [文件上传变更](/docs/guide/course/fileinput/#4813%E7%89%88%E6%9C%AC%E8%B5%B7%E5%85%B3%E4%BA%8E%E6%96%87%E4%BB%B6%E4%B8%8A%E4%BC%A0%E7%9A%84%E6%9B%B4%E6%96%B0)
虽然依然兼容旧版的文件上传编排,但是未来两个版本内将会去除兼容代码,请尽快调整编排,以适应最新的文件上传逻辑。尤其是嵌套应用的文件传递,未来将不会自动传递,必须手动指定传递的文件。具体内容可参考: [文件上传变更](/docs/introduction/guide/course/fileinput/#4813%E7%89%88%E6%9C%AC%E8%B5%B7%E5%85%B3%E4%BA%8E%E6%96%87%E4%BB%B6%E4%B8%8A%E4%BC%A0%E7%9A%84%E6%9B%B4%E6%96%B0)
## 更新说明

View File

@@ -51,7 +51,7 @@ curl --location --request POST 'https://{{host}}/api/admin/init/refreshFreeUser'
## 完整更新内容
1. 新增 - API 知识库, 见 [API 知识库介绍](/docs/guide/knowledge_base/api_dataset/),外部文件库会被弃用。
1. 新增 - API 知识库, 见 [API 知识库介绍](/docs/introduction/guide/knowledge_base/api_dataset/),外部文件库会被弃用。
2. 新增 - 工具箱页面,展示所有可用的系统资源。商业版后台可更便捷的配置系统插件和自定义分类。
3. 新增 - Markdown 中HTML代码会被额外渲染可以选择预览模式会限制所有 script 脚本,仅做展示。
4. 新增 - 自定义系统级文件解析服务, 见 [接入 Marker PDF 文档解析](/docs/development/custom-models/marker/)

View File

@@ -46,12 +46,12 @@ description: FastGPT V4.8.16 更新说明
## 完整更新内容
1. 新增 - SearXNG 搜索插件[点击查看教程](/docs/guide/plugins/searxng_plugin_guide/)
1. 新增 - SearXNG 搜索插件[点击查看教程](/docs/introduction/guide/plugins/searxng_plugin_guide/)
2. 新增 - 商业版支持 API 知识库和链接集合定时同步。
3. 新增 - 猜你想问支持选择模型和自定义提示词。
4. 新增 - 钉钉和企微机器人 webhook 插件。
5. 新增 - 商业版支持钉钉 SSO 登录配置。[点击查看教程](/docs/guide/admin/sso_dingtalk/)
6. 新增 - 商业版支持飞书和语雀知识库导入。[点击查看教程](/docs/guide/knowledge_base/lark_dataset/)
5. 新增 - 商业版支持钉钉 SSO 登录配置。[点击查看教程](/docs/introduction/guide/admin/sso_dingtalk/)
6. 新增 - 商业版支持飞书和语雀知识库导入。[点击查看教程](/docs/introduction/guide/knowledge_base/lark_dataset/)
7. 新增 - sandbox 新增 createHmac 加密全局方法。
8. 新增 - 工作流右键支持全部折叠。
9. 优化 - 模型选择器。

View File

@@ -36,7 +36,7 @@ curl --location --request POST 'https://{{host}}/api/admin/initv4911' \
3. 工作流中,子流程版本控制,可选择“保持最新版本”,无需手动更新。
4. 增加更多审计操作日志。
5. 知识库增加文档解析异步队列,导入文档时,无需等待文档解析完毕才进行导入。
6. 第三方知识库开发文档, [点击查看](/docs/guide/knowledge_base/third_dataset/)
6. 第三方知识库开发文档, [点击查看](/docs/introduction/guide/knowledge_base/third_dataset/)
## ⚙️ 优化

View File

@@ -12,7 +12,7 @@ description: FastGPT V4.9.2 更新说明
使用了 SSO 或成员同步的商业版用户,并且是对接`钉钉`、`企微`的,需要迁移已有的 SSO 相关配置:
参考:[SSO & 外部成员同步](/docs/guide/admin/sso)中的配置进行`sso-service`的部署和配置。
参考:[SSO & 外部成员同步](/docs/introduction/guide/admin/sso)中的配置进行`sso-service`的部署和配置。
1. 先将原商业版后台中的相关配置项复制备份出来(以企微为例,将 AppId, Secret 等复制出来)再进行镜像升级。
2. 参考上述文档,部署 SSO 服务,配置相关的环境变量

View File

@@ -24,7 +24,7 @@ description: FastGPT V4.9.9 更新说明
1. 切换 SessionId 来替代 JWT 实现登录鉴权,可控制最大登录客户端数量。
2. 新的商业版 License 管理模式。
3. 公众号调用,显示记录 chat 对话错误,方便排查。
4. API 知识库支持 BasePath 选择,需增加 API 接口,具体可见[API 知识库介绍](/docs/guide/knowledge_base/api_dataset/#4-获取文件详细信息用于获取文件信息)
4. API 知识库支持 BasePath 选择,需增加 API 接口,具体可见[API 知识库介绍](/docs/introduction/guide/knowledge_base/api_dataset/#4-获取文件详细信息用于获取文件信息)
## ⚙️ 优化

View File

@@ -0,0 +1,8 @@
---
title: 版本更新
description: FastGPT 版本更新
---
import { Redirect } from '@/components/docs/Redirect';
<Redirect to="/docs/introduction/development/upgrading/4111" />

View File

@@ -0,0 +1,8 @@
---
title: 对话框
description: FastGPT 对话框
---
import { Redirect } from '@/components/docs/Redirect';
<Redirect to="/docs/introduction/guide/DialogBoxes/htmlRendering" />

View File

@@ -0,0 +1,8 @@
---
title: 商业版管理
description: FastGPT 商业版管理
---
import { Redirect } from '@/components/docs/Redirect';
<Redirect to="/docs/introduction/guide/admin/sso" />

View File

@@ -115,7 +115,7 @@ env:
#### 3. 开启成员同步(可选)
如果需要同步外部系统的成员,可以选择开启成员同步。团队模式具体可参考:[团队模式说明文档](/docs/guide/admin/teamMode)
如果需要同步外部系统的成员,可以选择开启成员同步。团队模式具体可参考:[团队模式说明文档](/docs/introduction/guide/admin/teamMode)
![](/imgs/sso1.png)

View File

@@ -71,7 +71,7 @@ description: FastGPT 团队模式说明文档
在完成系统配置,开启同步模式的情况下,外部成员系统的成员会自动同步到 FastGPT 中。
具体的同步方式和规则请参考 [SSO & 外部成员同步](/docs/guide/admin/sso.md)。
具体的同步方式和规则请参考 [SSO & 外部成员同步](/docs/introduction/guide/admin/sso.md)。
## 配置

View File

@@ -79,7 +79,7 @@ Tips: 可以通过点击上下文按键查看完整的上下文组成,便于
FastGPT 知识库采用 QA 对(不一定都是问答格式,仅代表两个变量)的格式存储,在转义成字符串时候会根据**引用模板**来进行格式化。知识库包含多个可用变量: q, a, sourceId数据的ID, index(第n个数据), source(数据的集合名、文件名)score(距离得分0-1) 可以通过 `{{q}}` `{{a}}` `{{sourceId}}` `{{index}}` `{{source}}` `{{score}}` 按需引入。下面一个模板例子:
可以通过 [知识库结构讲解](/docs/guide/knowledge_base/dataset_engine/) 了解详细的知识库的结构。
可以通过 [知识库结构讲解](/docs/introduction/guide/knowledge_base/dataset_engine/) 了解详细的知识库的结构。
#### 引用模板

View File

@@ -0,0 +1,8 @@
---
title: 基础教程
description: FastGPT 基础教程
---
import { Redirect } from '@/components/docs/Redirect';
<Redirect to="/docs/introduction/guide/course/quick-start" />

View File

@@ -0,0 +1,8 @@
---
title: 工作台
description: FastGPT 工作台
---
import { Redirect } from '@/components/docs/Redirect';
<Redirect to="/docs/introduction/guide/dashboard/basic-mode" />

View File

@@ -28,5 +28,5 @@ import { Alert } from '@/components/docs/Alert';
<Alert icon="🍅" context="success">
具体配置参数介绍可以参考: [AI参数配置说明](/docs/guide/course/ai_settings/)
具体配置参数介绍可以参考: [AI参数配置说明](/docs/introduction/guide/course/ai_settings/)
</Alert>

View File

@@ -3,7 +3,7 @@ title: 知识库搜索
description: FastGPT AI 知识库搜索模块介绍
---
知识库搜索具体参数说明,以及内部逻辑请移步:[FastGPT知识库搜索方案](/docs/guide/knowledge_base/rag/)
知识库搜索具体参数说明,以及内部逻辑请移步:[FastGPT知识库搜索方案](/docs/introduction/guide/knowledge_base/rag/)
## 特点
@@ -23,7 +23,7 @@ description: FastGPT AI 知识库搜索模块介绍
### 输入 - 搜索参数
[点击查看参数介绍](/docs/guide/knowledge_base/dataset_engine/#搜索参数)
[点击查看参数介绍](/docs/introduction/guide/knowledge_base/dataset_engine/#搜索参数)
### 输出 - 引用内容

View File

@@ -0,0 +1,8 @@
---
title: 工作流
description: FastGPT 工作流
---
import { Redirect } from '@/components/docs/Redirect';
<Redirect to="/docs/introduction/guide/dashboard/workflow/ai_chat" />

View File

@@ -0,0 +1,8 @@
---
title: 使用指南
description: FastGPT 使用指南
---
import { Redirect } from '@/components/docs/Redirect';
<Redirect to="/docs/introduction/guide/course/quick-start" />

View File

@@ -0,0 +1,8 @@
---
title: 知识库
description: FastGPT 知识库
---
import { Redirect } from '@/components/docs/Redirect';
<Redirect to="/docs/introduction/guide/knowledge_base/RAG" />

View File

@@ -10,7 +10,7 @@ import { Alert } from '@/components/docs/Alert';
## 统一的接口规范
为了实现对不同文档库的统一接入FastGPT 对第三方文档库进行了接口的规范,共包含 4 个接口内容,可以[查看 API 文件库接口](/docs/guide/knowledge_base/api_dataset)。
为了实现对不同文档库的统一接入FastGPT 对第三方文档库进行了接口的规范,共包含 4 个接口内容,可以[查看 API 文件库接口](/docs/introduction/guide/knowledge_base/api_dataset)。
所有内置的文档库,都是基于标准的 API 文件库进行扩展。可以参考`FastGPT/packages/service/core/dataset/apiDataset/yuqueDataset/api.ts`中的代码,进行其他文档库的扩展。一共需要完成 4 个接口开发:
@@ -37,7 +37,7 @@ export type YuqueServer = {
<Alert icon="🤖" context="success">
如果文档库有`根目录`选择的功能,需要设置添加一个字段`basePath`[点击查看`根目录`功能](/docs/guide/knowledge_base/third_dataset/#添加配置表单)
如果文档库有`根目录`选择的功能,需要设置添加一个字段`basePath`[点击查看`根目录`功能](/docs/introduction/guide/knowledge_base/third_dataset/#添加配置表单)
</Alert>

View File

@@ -0,0 +1,8 @@
---
title: 系统插件
description: FastGPT 系统插件
---
import { Redirect } from '@/components/docs/Redirect';
<Redirect to="/docs/introduction/guide/plugins/dev_system_tool" />

View File

@@ -0,0 +1,8 @@
---
title: 团队与权限
description: FastGPT 团队与权限
---
import { Redirect } from '@/components/docs/Redirect';
<Redirect to="/docs/introduction/guide/team_permissions/team_roles_permissions" />

View File

@@ -0,0 +1,8 @@
---
title: 收费说明
description: FastGPT 收费说明
---
import { Redirect } from '@/components/docs/Redirect';
<Redirect to="/docs/introduction/shopping_cart/saas" />

View File

@@ -0,0 +1,8 @@
---
title: 应用搭建案例
description: FastGPT 应用搭建案例
---
import { Redirect } from '@/components/docs/Redirect';
<Redirect to="/docs/use-cases/app-cases/submit_application_template" />

View File

@@ -0,0 +1,8 @@
---
title: 外部调用 FastGPT
description: FastGPT 外部调用
---
import { Redirect } from '@/components/docs/Redirect';
<Redirect to="/docs/use-cases/external-integration/openapi" />

View File

@@ -25,6 +25,6 @@
}
]
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", "app/not-found.tsx"],
"exclude": ["node_modules"]
}

View File

@@ -28,21 +28,21 @@ export const ApiDatasetTypeMap: Record<
avatar: 'core/dataset/externalDatasetColor',
label: i18nT('dataset:api_file'),
collectionLabel: i18nT('common:File'),
courseUrl: '/docs/guide/knowledge_base/api_dataset/'
courseUrl: '/docs/introduction/guide/knowledge_base/api_dataset/'
},
[DatasetTypeEnum.feishu]: {
icon: 'core/dataset/feishuDatasetOutline',
avatar: 'core/dataset/feishuDatasetColor',
label: i18nT('dataset:feishu_dataset'),
collectionLabel: i18nT('common:File'),
courseUrl: '/docs/guide/knowledge_base/lark_dataset/'
courseUrl: '/docs/introduction/guide/knowledge_base/lark_dataset/'
},
[DatasetTypeEnum.yuque]: {
icon: 'core/dataset/yuqueDatasetOutline',
avatar: 'core/dataset/yuqueDatasetColor',
label: i18nT('dataset:yuque_dataset'),
collectionLabel: i18nT('common:File'),
courseUrl: '/docs/guide/knowledge_base/yuque_dataset/'
courseUrl: '/docs/introduction/guide/knowledge_base/yuque_dataset/'
}
};
export const DatasetTypeMap: Record<
@@ -73,7 +73,7 @@ export const DatasetTypeMap: Record<
avatar: 'core/dataset/websiteDatasetColor',
label: i18nT('dataset:website_dataset'),
collectionLabel: i18nT('common:Website'),
courseUrl: '/docs/guide/knowledge_base/websync/'
courseUrl: '/docs/introduction/guide/knowledge_base/websync/'
},
[DatasetTypeEnum.externalFile]: {
icon: 'core/dataset/externalDatasetOutline',

View File

@@ -33,7 +33,7 @@ export const AgentNode: FlowNodeTemplateType = {
intro: i18nT('workflow:template.agent_intro'),
showStatus: true,
catchError: false,
courseUrl: '/docs/guide/dashboard/workflow/tool/',
courseUrl: '/docs/introduction/guide/dashboard/workflow/tool/',
version: '4.9.2',
inputs: [
{

View File

@@ -53,7 +53,7 @@ export const AiChatModule: FlowNodeTemplateType = {
intro: i18nT('workflow:template.ai_chat_intro'),
showStatus: true,
isTool: true,
courseUrl: '/docs/guide/dashboard/workflow/ai_chat/',
courseUrl: '/docs/introduction/guide/dashboard/workflow/ai_chat/',
version: '4.9.7',
catchError: false,
inputs: [

View File

@@ -16,7 +16,7 @@ export const AssignedAnswerModule: FlowNodeTemplateType = {
avatar: 'core/workflow/template/reply',
name: i18nT('workflow:assigned_reply'),
intro: i18nT('workflow:intro_assigned_reply'),
courseUrl: '/docs/guide/dashboard/workflow/reply/',
courseUrl: '/docs/introduction/guide/dashboard/workflow/reply/',
isTool: true,
inputs: [
{

View File

@@ -30,7 +30,7 @@ export const ClassifyQuestionModule: FlowNodeTemplateType = {
intro: i18nT('workflow:intro_question_classification'),
showStatus: true,
version: '4.9.2',
courseUrl: '/docs/guide/dashboard/workflow/question_classify/',
courseUrl: '/docs/introduction/guide/dashboard/workflow/question_classify/',
inputs: [
{
...Input_Template_SelectAIModel,

View File

@@ -27,7 +27,7 @@ export const ContextExtractModule: FlowNodeTemplateType = {
showStatus: true,
isTool: true,
catchError: false,
courseUrl: '/docs/guide/dashboard/workflow/content_extract/',
courseUrl: '/docs/introduction/guide/dashboard/workflow/content_extract/',
version: '4.9.2',
inputs: [
{

View File

@@ -16,7 +16,7 @@ export const CustomFeedbackNode: FlowNodeTemplateType = {
avatar: 'core/workflow/template/customFeedback',
name: i18nT('workflow:custom_feedback'),
intro: i18nT('workflow:intro_custom_feedback'),
courseUrl: '/docs/guide/dashboard/workflow/custom_feedback/',
courseUrl: '/docs/introduction/guide/dashboard/workflow/custom_feedback/',
inputs: [
{
key: NodeInputKeyEnum.textareaInput,

View File

@@ -41,7 +41,7 @@ export const DatasetConcatModule: FlowNodeTemplateType = {
intro: i18nT('workflow:intro_knowledge_base_search_merge'),
showStatus: false,
courseUrl: '/docs/guide/dashboard/workflow/knowledge_base_search_merge/',
courseUrl: '/docs/introduction/guide/dashboard/workflow/knowledge_base_search_merge/',
inputs: [
{
key: NodeInputKeyEnum.datasetMaxTokens,

View File

@@ -31,7 +31,7 @@ export const DatasetSearchModule: FlowNodeTemplateType = {
showStatus: true,
isTool: true,
catchError: false,
courseUrl: '/docs/guide/dashboard/workflow/dataset_search/',
courseUrl: '/docs/introduction/guide/dashboard/workflow/dataset_search/',
version: '4.9.2',
inputs: [
{

View File

@@ -27,7 +27,7 @@ export const HttpNode468: FlowNodeTemplateType = {
showStatus: true,
isTool: true,
catchError: false,
courseUrl: '/docs/guide/dashboard/workflow/http/',
courseUrl: '/docs/introduction/guide/dashboard/workflow/http/',
inputs: [
{
...Input_Template_DynamicInput,

View File

@@ -22,7 +22,7 @@ export const IfElseNode: FlowNodeTemplateType = {
name: i18nT('workflow:condition_checker'),
intro: i18nT('workflow:execute_different_branches_based_on_conditions'),
showStatus: true,
courseUrl: '/docs/guide/dashboard/workflow/tfswitch/',
courseUrl: '/docs/introduction/guide/dashboard/workflow/tfswitch/',
inputs: [
{
key: NodeInputKeyEnum.ifElseList,

View File

@@ -23,7 +23,7 @@ export const UserSelectNode: FlowNodeTemplateType = {
name: i18nT('app:workflow.user_select'),
intro: i18nT(`app:workflow.user_select_tip`),
isTool: true,
courseUrl: '/docs/guide/dashboard/workflow/user-selection/',
courseUrl: '/docs/introduction/guide/dashboard/workflow/user-selection/',
inputs: [
{
key: NodeInputKeyEnum.description,

View File

@@ -32,7 +32,7 @@ export const LafModule: FlowNodeTemplateType = {
showStatus: true,
isTool: true,
catchError: false,
courseUrl: '/docs/guide/dashboard/workflow/laf/',
courseUrl: '/docs/introduction/guide/dashboard/workflow/laf/',
inputs: [
{
...Input_Template_DynamicInput,

View File

@@ -28,7 +28,7 @@ export const LoopNode: FlowNodeTemplateType = {
name: i18nT('workflow:loop'),
intro: i18nT('workflow:intro_loop'),
showStatus: true,
courseUrl: '/docs/guide/dashboard/workflow/loop/',
courseUrl: '/docs/introduction/guide/dashboard/workflow/loop/',
inputs: [
{
key: NodeInputKeyEnum.loopInputArray,

View File

@@ -25,7 +25,7 @@ export const ReadFilesNode: FlowNodeTemplateType = {
showStatus: true,
version: '4.9.2',
isTool: false,
courseUrl: '/docs/guide/course/fileinput/',
courseUrl: '/docs/introduction/guide/course/fileinput/',
inputs: [
{
key: NodeInputKeyEnum.fileUrlList,

View File

@@ -26,7 +26,7 @@ export const CodeNode: FlowNodeTemplateType = {
intro: i18nT('workflow:execute_a_simple_script_code_usually_for_complex_data_processing'),
showStatus: true,
catchError: false,
courseUrl: '/docs/guide/dashboard/workflow/sandbox/',
courseUrl: '/docs/introduction/guide/dashboard/workflow/sandbox/',
inputs: [
{
...Input_Template_DynamicInput,

View File

@@ -21,7 +21,7 @@ export const TextEditorNode: FlowNodeTemplateType = {
avatar: 'core/workflow/template/textConcat',
name: i18nT('workflow:text_concatenation'),
intro: i18nT('workflow:intro_text_concatenation'),
courseUrl: '/docs/guide/dashboard/workflow/text_editor/',
courseUrl: '/docs/introduction/guide/dashboard/workflow/text_editor/',
inputs: [
{
key: NodeInputKeyEnum.textareaInput,

View File

@@ -18,7 +18,7 @@ export const VariableUpdateNode: FlowNodeTemplateType = {
intro: i18nT('workflow:update_specified_node_output_or_global_variable'),
showStatus: false,
isTool: true,
courseUrl: '/docs/guide/dashboard/workflow/variable_update/',
courseUrl: '/docs/introduction/guide/dashboard/workflow/variable_update/',
inputs: [
{
key: NodeInputKeyEnum.updateList,

View File

@@ -193,7 +193,7 @@
"comfirm_import": "Confirm import",
"comfirm_leave_page": "Confirm to Leave This Page?",
"comfirn_create": "Confirm Creation",
"commercial_function_tip": "Please Upgrade to the Commercial Version to Use This Feature: https://doc.fastgpt.cn/docs/commercial/intro/",
"commercial_function_tip": "Please Upgrade to the Commercial Version to Use This Feature: https://doc.fastgpt.cn/docs/introduction/shopping_cart/intro/",
"comon.Continue_Adding": "Continue Adding",
"compliance.chat": "The content is generated by third-party AI and cannot be guaranteed to be true and accurate. It is for reference only.",
"compliance.dataset": "Please ensure that your content strictly complies with relevant laws and regulations and avoid containing any illegal or infringing content. \nPlease be careful when uploading materials that may contain sensitive information.",

View File

@@ -193,7 +193,7 @@
"comfirm_import": "确认导入",
"comfirm_leave_page": "确认离开该页面?",
"comfirn_create": "确认创建",
"commercial_function_tip": "请升级商业版后使用该功能https://doc.fastgpt.cn/docs/commercial/intro/",
"commercial_function_tip": "请升级商业版后使用该功能https://doc.fastgpt.cn/docs/introduction/shopping_cart/intro/",
"comon.Continue_Adding": "继续添加",
"compliance.chat": "内容由第三方 AI 生成,无法确保真实准确,仅供参考",
"compliance.dataset": "请确保您的内容严格遵守相关法律法规,避免包含任何违法或侵权的内容。请谨慎上传可能涉及敏感信息的资料。",

View File

@@ -193,7 +193,7 @@
"comfirm_import": "確認匯入",
"comfirm_leave_page": "確認離開此頁面?",
"comfirn_create": "確認建立",
"commercial_function_tip": "請升級為商業版後使用此功能https://doc.fastgpt.cn/docs/commercial/intro/",
"commercial_function_tip": "請升級為商業版後使用此功能https://doc.fastgpt.cn/docs/introduction/shopping_cart/intro/",
"comon.Continue_Adding": "繼續新增",
"compliance.chat": "內容由第三方 AI 產生,無法保證其真實性與準確性,僅供參考。",
"compliance.dataset": "請確保您的內容嚴格遵守相關法律法規,避免包含任何違法或侵權的內容。\n在上傳可能涉及敏感資訊的資料時請務必謹慎。",

View File

@@ -133,7 +133,7 @@ const AIChatSettingsModal = ({
w={'1rem'}
cursor={'pointer'}
onClick={() => {
window.open(getDocPath('/docs/guide/course/ai_settings/'), '_blank');
window.open(getDocPath('/docs/introduction/guide/course/ai_settings/'), '_blank');
}}
/>
)}

View File

@@ -144,7 +144,9 @@ const InputGuideConfig = ({
<Flex mt={8} alignItems={'center'}>
<FormLabel>{t('chat:custom_input_guide_url')}</FormLabel>
<Flex
onClick={() => window.open(getDocPath('/docs/guide/course/chat_input_guide/'))}
onClick={() =>
window.open(getDocPath('/docs/introduction/guide/course/chat_input_guide/'))
}
color={'primary.700'}
alignItems={'center'}
cursor={'pointer'}

View File

@@ -97,7 +97,9 @@ const ApiKeyTable = ({ tips, appId }: { tips: string; appId?: string }) => {
</Box>
{feConfigs?.docUrl && (
<Link
href={feConfigs.openAPIDocUrl || getDocPath('/docs/development/openapi')}
href={
feConfigs.openAPIDocUrl || getDocPath('/docs/introduction/development/openapi')
}
target={'_blank'}
ml={1}
color={'primary.500'}

View File

@@ -101,7 +101,7 @@ const LafAccountModal = ({
<Box fontSize={'sm'} color={'myGray.500'}>
<Box>{t('common:support.user.Laf account intro')}</Box>
<Box textDecoration={'underline'}>
<Link href={getDocPath('/docs/guide/dashboard/workflow/laf/')} isExternal>
<Link href={getDocPath('/docs/introduction/guide/dashboard/workflow/laf/')} isExternal>
{t('common:support.user.Laf account course')}
</Link>
</Box>

View File

@@ -395,7 +395,7 @@ function EditLinkModal({
/>
</Flex>
<Link
href={getDocPath('/docs/development/openapi/share')}
href={getDocPath('/docs/introduction/development/openapi/share')}
target={'_blank'}
fontSize={'xs'}
color={'myGray.500'}

View File

@@ -77,7 +77,7 @@ const TemplateImportModal = ({
display={'flex'}
alignItems={'center'}
gap={0.5}
href={getDocPath('/docs/guide/knowledge_base/template/')}
href={getDocPath('/docs/introduction/guide/knowledge_base/template/')}
color="primary.600"
target="_blank"
>

View File

@@ -125,7 +125,7 @@ const WebsiteConfigModal = ({
{t('common:core.dataset.website.Config Description')}
{feConfigs?.docUrl && (
<Link
href={getDocPath('/docs/guide/knowledge_base/websync/')}
href={getDocPath('/docs/introduction/guide/knowledge_base/websync/')}
target="_blank"
textDecoration={'underline'}
color={'blue.700'}

View File

@@ -83,7 +83,7 @@ const CustomLinkImport = () => {
<Box color={'myGray.500'} fontSize={'sm'}>
{feConfigs?.docUrl && (
<Link
href={getDocPath('/docs/guide/knowledge_base/websync/#选择器如何使用')}
href={getDocPath('/docs/introduction/guide/knowledge_base/websync/#选择器如何使用')}
target="_blank"
>
{t('common:core.dataset.website.Selector Course')}

View File

@@ -121,7 +121,7 @@ const LoginForm = ({ setPageType, loginSuccess }: Props) => {
{t('login:policy_tip')}
<Link
ml={1}
href={getDocPath('/docs/agreement/terms/')}
href={getDocPath('/docs/protocol/terms/')}
target={'_blank'}
color={'primary.700'}
>
@@ -129,7 +129,7 @@ const LoginForm = ({ setPageType, loginSuccess }: Props) => {
</Link>
<Box mx={1}>&</Box>
<Link
href={getDocPath('/docs/agreement/privacy/')}
href={getDocPath('/docs/protocol/privacy/')}
target={'_blank'}
color={'primary.700'}
>

View File

@@ -78,7 +78,7 @@ const CookiesModal = () => {
textDecorationLine={'underline'}
cursor={'pointer'}
w={'fit-content'}
onClick={() => window.open(getDocPath('/docs/agreement/privacy/'), '_blank')}
onClick={() => window.open(getDocPath('/docs/protocol/privacy/'), '_blank')}
>
{t('login:privacy_policy')}
</Box>

View File

@@ -710,7 +710,7 @@ const Other = ({ onOpenContact }: { onOpenContact: () => void }) => {
<Grid gridGap={4}>
{feConfigs?.docUrl && (
<Link
href={getDocPath('/docs/intro')}
href={getDocPath('/docs/introduction')}
target="_blank"
textDecoration={'none !important'}
{...ButtonStyles}

View File

@@ -23,7 +23,7 @@ const More = () => {
{
icon: 'common/courseLight',
label: t('common:core.app.tool_label.doc'),
link: getDocPath('/docs/intro')
link: getDocPath('/docs/introduction')
}
]
: []),