mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-16 16:04:34 +00:00
fix:change docs url (#5307)
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
---
|
||||
title: FastGPT 文档
|
||||
description: FastGPT 官方文档
|
||||
---
|
||||
---
|
||||
|
||||
import { Redirect } from '@/components/docs/Redirect';
|
||||
|
||||
<Redirect to="/docs/introduction" />
|
8
document/content/docs/introduction/FAQ/index.mdx
Normal file
8
document/content/docs/introduction/FAQ/index.mdx
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
title: FAQ
|
||||
description: FastGPT FAQ
|
||||
---
|
||||
|
||||
import { Redirect } from '@/components/docs/Redirect';
|
||||
|
||||
<Redirect to="/docs/introduction/FAQ/docker" />
|
@@ -0,0 +1,8 @@
|
||||
---
|
||||
title: 自定义模型
|
||||
description: FastGPT 自定义模型
|
||||
---
|
||||
|
||||
import { Redirect } from '@/components/docs/Redirect';
|
||||
|
||||
<Redirect to="/docs/introduction/development/custom-models/marker" />
|
@@ -50,7 +50,7 @@ description: FastGPT 系统插件设计方案
|
||||
- **src**: 运行时,express 服务
|
||||
- **test**: 测试相关
|
||||
|
||||
系统工具的结构可以参考 [如何开发系统工具](/docs/guide/plugins/dev_system_tool)。
|
||||
系统工具的结构可以参考 [如何开发系统工具](/docs/introduction/guide/plugins/dev_system_tool)。
|
||||
|
||||
## 技术细节
|
||||
|
||||
|
@@ -0,0 +1,8 @@
|
||||
---
|
||||
title: 设计文档
|
||||
description: FastGPT 设计文档
|
||||
---
|
||||
|
||||
import { Redirect } from '@/components/docs/Redirect';
|
||||
|
||||
<Redirect to="/docs/introduction/development/design/dataset" />
|
8
document/content/docs/introduction/development/index.mdx
Normal file
8
document/content/docs/introduction/development/index.mdx
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
title: 开发文档
|
||||
description: FastGPT 开发文档
|
||||
---
|
||||
|
||||
import { Redirect } from '@/components/docs/Redirect';
|
||||
|
||||
<Redirect to="/docs/introduction/development/intro" />
|
@@ -0,0 +1,8 @@
|
||||
---
|
||||
title: 迁移
|
||||
description: FastGPT 迁移
|
||||
---
|
||||
|
||||
import { Redirect } from '@/components/docs/Redirect';
|
||||
|
||||
<Redirect to="/docs/introduction/development/migration/docker_db" />
|
@@ -0,0 +1,8 @@
|
||||
---
|
||||
title: 模型配置
|
||||
description: FastGPT 模型配置
|
||||
---
|
||||
|
||||
import { Redirect } from '@/components/docs/Redirect';
|
||||
|
||||
<Redirect to="/docs/introduction/development/modelConfig/ai-proxy" />
|
@@ -0,0 +1,8 @@
|
||||
---
|
||||
title: OpenAPI
|
||||
description: FastGPT OpenAPI
|
||||
---
|
||||
|
||||
import { Redirect } from '@/components/docs/Redirect';
|
||||
|
||||
<Redirect to="/docs/introduction/development/openapi/intro" />
|
@@ -0,0 +1,8 @@
|
||||
---
|
||||
title: 代理
|
||||
description: FastGPT 代理
|
||||
---
|
||||
|
||||
import { Redirect } from '@/components/docs/Redirect';
|
||||
|
||||
<Redirect to="/docs/introduction/development/proxy/nginx" />
|
@@ -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/)。
|
@@ -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 无法更新
|
||||
|
@@ -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. 优化 - 高级编排连接线交互
|
||||
|
@@ -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. 修复 - 语音输入文件无法上传。
|
||||
|
@@ -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)
|
||||
|
||||
## 更新说明
|
||||
|
||||
|
@@ -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/)
|
||||
|
@@ -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. 优化 - 模型选择器。
|
||||
|
@@ -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/)
|
||||
|
||||
## ⚙️ 优化
|
||||
|
||||
|
@@ -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 服务,配置相关的环境变量
|
||||
|
@@ -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-获取文件详细信息用于获取文件信息)
|
||||
|
||||
## ⚙️ 优化
|
||||
|
||||
|
@@ -0,0 +1,8 @@
|
||||
---
|
||||
title: 版本更新
|
||||
description: FastGPT 版本更新
|
||||
---
|
||||
|
||||
import { Redirect } from '@/components/docs/Redirect';
|
||||
|
||||
<Redirect to="/docs/introduction/development/upgrading/4111" />
|
@@ -0,0 +1,8 @@
|
||||
---
|
||||
title: 对话框
|
||||
description: FastGPT 对话框
|
||||
---
|
||||
|
||||
import { Redirect } from '@/components/docs/Redirect';
|
||||
|
||||
<Redirect to="/docs/introduction/guide/DialogBoxes/htmlRendering" />
|
8
document/content/docs/introduction/guide/admin/index.mdx
Normal file
8
document/content/docs/introduction/guide/admin/index.mdx
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
title: 商业版管理
|
||||
description: FastGPT 商业版管理
|
||||
---
|
||||
|
||||
import { Redirect } from '@/components/docs/Redirect';
|
||||
|
||||
<Redirect to="/docs/introduction/guide/admin/sso" />
|
@@ -115,7 +115,7 @@ env:
|
||||
|
||||
#### 3. 开启成员同步(可选)
|
||||
|
||||
如果需要同步外部系统的成员,可以选择开启成员同步。团队模式具体可参考:[团队模式说明文档](/docs/guide/admin/teamMode)
|
||||
如果需要同步外部系统的成员,可以选择开启成员同步。团队模式具体可参考:[团队模式说明文档](/docs/introduction/guide/admin/teamMode)
|
||||
|
||||

|
||||
|
||||
|
@@ -71,7 +71,7 @@ description: FastGPT 团队模式说明文档
|
||||
|
||||
在完成系统配置,开启同步模式的情况下,外部成员系统的成员会自动同步到 FastGPT 中。
|
||||
|
||||
具体的同步方式和规则请参考 [SSO & 外部成员同步](/docs/guide/admin/sso.md)。
|
||||
具体的同步方式和规则请参考 [SSO & 外部成员同步](/docs/introduction/guide/admin/sso.md)。
|
||||
|
||||
|
||||
## 配置
|
||||
|
@@ -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/) 了解详细的知识库的结构。
|
||||
|
||||
#### 引用模板
|
||||
|
||||
|
@@ -0,0 +1,8 @@
|
||||
---
|
||||
title: 基础教程
|
||||
description: FastGPT 基础教程
|
||||
---
|
||||
|
||||
import { Redirect } from '@/components/docs/Redirect';
|
||||
|
||||
<Redirect to="/docs/introduction/guide/course/quick-start" />
|
@@ -0,0 +1,8 @@
|
||||
---
|
||||
title: 工作台
|
||||
description: FastGPT 工作台
|
||||
---
|
||||
|
||||
import { Redirect } from '@/components/docs/Redirect';
|
||||
|
||||
<Redirect to="/docs/introduction/guide/dashboard/basic-mode" />
|
@@ -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>
|
||||
|
@@ -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/#搜索参数)
|
||||
|
||||
### 输出 - 引用内容
|
||||
|
||||
|
@@ -0,0 +1,8 @@
|
||||
---
|
||||
title: 工作流
|
||||
description: FastGPT 工作流
|
||||
---
|
||||
|
||||
import { Redirect } from '@/components/docs/Redirect';
|
||||
|
||||
<Redirect to="/docs/introduction/guide/dashboard/workflow/ai_chat" />
|
8
document/content/docs/introduction/guide/index.mdx
Normal file
8
document/content/docs/introduction/guide/index.mdx
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
title: 使用指南
|
||||
description: FastGPT 使用指南
|
||||
---
|
||||
|
||||
import { Redirect } from '@/components/docs/Redirect';
|
||||
|
||||
<Redirect to="/docs/introduction/guide/course/quick-start" />
|
@@ -0,0 +1,8 @@
|
||||
---
|
||||
title: 知识库
|
||||
description: FastGPT 知识库
|
||||
---
|
||||
|
||||
import { Redirect } from '@/components/docs/Redirect';
|
||||
|
||||
<Redirect to="/docs/introduction/guide/knowledge_base/RAG" />
|
@@ -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>
|
||||
|
||||
|
@@ -0,0 +1,8 @@
|
||||
---
|
||||
title: 系统插件
|
||||
description: FastGPT 系统插件
|
||||
---
|
||||
|
||||
import { Redirect } from '@/components/docs/Redirect';
|
||||
|
||||
<Redirect to="/docs/introduction/guide/plugins/dev_system_tool" />
|
@@ -0,0 +1,8 @@
|
||||
---
|
||||
title: 团队与权限
|
||||
description: FastGPT 团队与权限
|
||||
---
|
||||
|
||||
import { Redirect } from '@/components/docs/Redirect';
|
||||
|
||||
<Redirect to="/docs/introduction/guide/team_permissions/team_roles_permissions" />
|
@@ -0,0 +1,8 @@
|
||||
---
|
||||
title: 收费说明
|
||||
description: FastGPT 收费说明
|
||||
---
|
||||
|
||||
import { Redirect } from '@/components/docs/Redirect';
|
||||
|
||||
<Redirect to="/docs/introduction/shopping_cart/saas" />
|
8
document/content/docs/use-cases/app-cases/index.mdx
Normal file
8
document/content/docs/use-cases/app-cases/index.mdx
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
title: 应用搭建案例
|
||||
description: FastGPT 应用搭建案例
|
||||
---
|
||||
|
||||
import { Redirect } from '@/components/docs/Redirect';
|
||||
|
||||
<Redirect to="/docs/use-cases/app-cases/submit_application_template" />
|
@@ -0,0 +1,8 @@
|
||||
---
|
||||
title: 外部调用 FastGPT
|
||||
description: FastGPT 外部调用
|
||||
---
|
||||
|
||||
import { Redirect } from '@/components/docs/Redirect';
|
||||
|
||||
<Redirect to="/docs/use-cases/external-integration/openapi" />
|
Reference in New Issue
Block a user