diff --git a/README.md b/README.md index b347b88c0..265aeba0e 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ FastGPT 是一个基于 LLM 大语言模型的知识库问答系统,提供开 - [x] 支持 url 读取导入 - [x] 支持 CSV 批量导入问答对 - [x] 支持知识库单独设置向量模型 - - [ ] 源文件存储 + - [x] 源文件存储 3. 多种效果测试渠道 - [x] 知识库单点搜索测试 - [x] 对话时反馈引用并可修改与删除 diff --git a/client/public/docs/versionIntro.md b/client/public/docs/versionIntro.md index f3f0650ad..a2e582faf 100644 --- a/client/public/docs/versionIntro.md +++ b/client/public/docs/versionIntro.md @@ -1,7 +1,7 @@ -### Fast GPT V4.2.2 +### Fast GPT V4.3 -1. **新增 - 用户反馈和管理员标注预期答案,以不断提高模型回复准确率。** 该功能为测试版,未来交互可能会有变化,欢迎大家提出宝贵意见。 -2. 优化 - 知识库搜索提示词,更适配问答场景。 -3. 新增 - 好友邀请链接,[点击查看](/account?currentTab=promotion) -4. 优化 - [使用文档](https://doc.fastgpt.run/docs/intro/) -5. [点击查看高级编排介绍文档](https://doc.fastgpt.run/docs/workflow) +1. 新增 - 知识库源文件存储,可以从引用窗口点击文件名,查看源文件。 +2. 新增 - 用户反馈和管理员标注预期答案,以不断提高模型回复准确率。 该功能为测试版,未来交互可能会有变化,欢迎大家提出宝贵意见。 +3. 优化 - [使用文档](https://doc.fastgpt.run/docs/intro/) +4. [点击查看高级编排介绍文档](https://doc.fastgpt.run/docs/workflow) +5. [点击查看商业版](https://fael3z0zfze.feishu.cn/docx/F155dbirfo8vDDx2WgWc6extnwf) diff --git a/docSite/content/docs/installation/upgrading/40.md b/docSite/content/docs/installation/upgrading/40.md index b59595ecd..172e894dd 100644 --- a/docSite/content/docs/installation/upgrading/40.md +++ b/docSite/content/docs/installation/upgrading/40.md @@ -1,10 +1,10 @@ --- -title: "升级到 V4.0" -description: "FastGPT 从旧版本升级到 V4.0 操作指南" -icon: "upgrade" +title: '升级到 V4.0' +description: 'FastGPT 从旧版本升级到 V4.0 操作指南' +icon: 'upgrade' draft: false toc: true -weight: 761 +weight: 1000 --- 如果您是**从旧版本升级到 V4**,由于新版 MongoDB 表变更比较大,需要按照本文档的说明执行一些初始化脚本。 @@ -63,4 +63,4 @@ db.outlinks.find({shareId: {$exists: false}}).forEach(function(item){ 2. https://xxxxx/api/admin/initChat 3. https://xxxxx/api/admin/initOutlink -1 和 2 有可能会因为内存不足挂掉,可以重复执行。 \ No newline at end of file +1 和 2 有可能会因为内存不足挂掉,可以重复执行。 diff --git a/docSite/content/docs/installation/upgrading/41.md b/docSite/content/docs/installation/upgrading/41.md index 10f188457..4d121d4d8 100644 --- a/docSite/content/docs/installation/upgrading/41.md +++ b/docSite/content/docs/installation/upgrading/41.md @@ -4,7 +4,7 @@ description: 'FastGPT 从旧版本升级到 V4.1 操作指南' icon: 'upgrade' draft: false toc: true -weight: 762 +weight: 999 --- 如果您是**从旧版本升级到 V4.1**,由于新版重新设置了对话存储结构,需要初始化原来的存储内容。 diff --git a/docSite/content/docs/installation/upgrading/42.md b/docSite/content/docs/installation/upgrading/42.md index cb1fd4f08..c1e4a1d86 100644 --- a/docSite/content/docs/installation/upgrading/42.md +++ b/docSite/content/docs/installation/upgrading/42.md @@ -4,7 +4,7 @@ description: 'FastGPT 从旧版本升级到 V4.2 操作指南' icon: 'upgrade' draft: false toc: true -weight: 763 +weight: 998 --- 99.9%用户不影响,升级 4.2 主要是修改了配置文件中 QAModel 的格式。从原先的数组改成对象: diff --git a/docSite/content/docs/installation/upgrading/421.md b/docSite/content/docs/installation/upgrading/421.md index dd34b338a..cf8b184ce 100644 --- a/docSite/content/docs/installation/upgrading/421.md +++ b/docSite/content/docs/installation/upgrading/421.md @@ -4,7 +4,7 @@ description: 'FastGPT 从旧版本升级到 V4.2.1 操作指南' icon: 'upgrade' draft: false toc: true -weight: 763 +weight: 997 --- 私有部署,如果添加了配置文件,需要在配置文件中修改 `VectorModels` 字段。增加 defaultToken 和 maxToken,分别对应直接分段时的默认 token 数量和该模型支持的 token 上限(通常不建议超过 3000) diff --git a/docSite/content/docs/installation/upgrading/43.md b/docSite/content/docs/installation/upgrading/43.md new file mode 100644 index 000000000..3294c9e87 --- /dev/null +++ b/docSite/content/docs/installation/upgrading/43.md @@ -0,0 +1,16 @@ +--- +title: '升级到 V4.3' +description: 'FastGPT 从旧版本升级到 V4.3 操作指南' +icon: 'upgrade' +draft: false +toc: true +weight: 996 +--- + +## 执行初始化 API + +发起 1 个 HTTP 请求(记得携带 `headers.rootkey`,这个值是环境变量里的) + +1. https://xxxxx/api/admin/initv43 + +会给 PG 数据库的 modeldata 表插入一个新列 file_id,用于存储文件 ID。