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

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

View File

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

View File

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