Skip to content

Commit 6ca8841

Browse files
committed
deploy: f9cecfd
1 parent a697fa4 commit 6ca8841

File tree

10 files changed

+213
-213
lines changed

10 files changed

+213
-213
lines changed

docs/development/docker/index.html

Lines changed: 8 additions & 8 deletions
Large diffs are not rendered by default.

docs/development/faq/index.html

Lines changed: 9 additions & 9 deletions
Large diffs are not rendered by default.

docs/development/openapi/chat/index.html

Lines changed: 75 additions & 75 deletions
Large diffs are not rendered by default.

docs/development/openapi/dataset/index.html

Lines changed: 85 additions & 85 deletions
Large diffs are not rendered by default.

docs/development/openapi/share/index.html

Lines changed: 15 additions & 15 deletions
Large diffs are not rendered by default.

docs/development/upgrading/491/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<code>curl --location --request POST &#39;https://{{host}}/api/admin/initv491&#39; \
3939
--header &#39;rootkey: {{rootkey}}&#39; \
4040
--header &#39;Content-Type: application/json&#39;</code>
41-
</pre></div><p><strong>脚本功能</strong></p><p>重新使用最新的 jieba 分词库进行分词处理。时间较长,可以从日志里查看进度。</p><h2 id=-新增内容>🚀 新增内容 <a href=#-%e6%96%b0%e5%a2%9e%e5%86%85%e5%ae%b9 class=anchor aria-hidden=true><i class="material-icons align-middle">link</i></a></h2><ol><li>商业版支持单团队模式,更好的管理内部成员。</li><li>知识库分块阅读器。</li><li>API 知识库支持 PDF 增强解析。</li><li>邀请团队成员,改为邀请链接模式。</li><li>支持混合检索权重设置。</li><li>支持重排模型选择和权重设置,同时调整了知识库搜索权重计算方式,改成 搜索权重 + 重排权重,而不是向量检索权重+全文检索权重+重排权重。</li></ol><h2 id=-优化>⚙️ 优化 <a href=#-%e4%bc%98%e5%8c%96 class=anchor aria-hidden=true><i class="material-icons align-middle">link</i></a></h2><ol><li>知识库数据输入框交互</li><li>应用拉取绑定知识库数据交由后端处理。</li><li>增加依赖包安全版本检测,并升级部分依赖包。</li><li>模型测试代码。</li><li>优化思考过程解析逻辑:只要配置了模型支持思考,均会解析 <think>标签,不会因为对话时,关闭思考而不解析。</li><li>载入最新 jieba 分词库,增强全文检索分词效果。</li></ol><h2 id=-修复>🐛 修复 <a href=#-%e4%bf%ae%e5%a4%8d class=anchor aria-hidden=true><i class="material-icons align-middle">link</i></a></h2><ol><li>最大响应 tokens 提示显示错误的问题。</li><li>HTTP Node 中,字符串包含换行符时,会解析失败。</li><li>知识库问题优化中,未传递历史记录。</li><li>错误提示翻译缺失。</li><li>内容提取节点,array 类型 schema 错误。</li><li>模型渠道测试时,实际未指定渠道测试。</li><li>新增自定义模型时,会把默认模型字段也保存,导致默认模型误判。</li><li>修复 promp 模式工具调用,未判空思考链,导致 UI 错误展示。</li><li>编辑应用信息导致头像丢失。</li><li>分享链接标题会被刷新掉。</li></ol></div><div class="gitinfo d-flex flex-wrap justify-content-between align-items-center opacity-85 pt-3"><div id=edit-this-page class=mt-1><a href=https://github.com/labring/FastGPT/blob/main/docSite/content/zh-cn/docs/development/upgrading/491.md alt=V4.9.1 rel="noopener noreferrer" target=_blank><span class="me-1 align-text-bottom"><svg width="20" height="20" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg" fill="currentcolor"><path d="M16 .396c-8.839.0-16 7.167-16 16 0 7.073 4.584 13.068 10.937 15.183.803.151 1.093-.344 1.093-.772.0-.38-.009-1.385-.015-2.719-4.453.964-5.391-2.151-5.391-2.151-.729-1.844-1.781-2.339-1.781-2.339-1.448-.989.115-.968.115-.968 1.604.109 2.448 1.645 2.448 1.645 1.427 2.448 3.744 1.74 4.661 1.328.14-1.031.557-1.74 1.011-2.135-3.552-.401-7.287-1.776-7.287-7.907.0-1.751.62-3.177 1.645-4.297-.177-.401-.719-2.031.141-4.235.0.0 1.339-.427 4.4 1.641 1.281-.355 2.641-.532 4-.541 1.36.009 2.719.187 4 .541 3.043-2.068 4.381-1.641 4.381-1.641.859 2.204.317 3.833.161 4.235 1.015 1.12 1.635 2.547 1.635 4.297.0 6.145-3.74 7.5-7.296 7.891.556.479 1.077 1.464 1.077 2.959.0 2.14-.02 3.864-.02 4.385.0.416.28.916 1.104.755 6.4-2.093 10.979-8.093 10.979-15.156.0-8.833-7.161-16-16-16z"/></svg></span>编辑此页面</a></div></div></div><div><hr class=doc-hr><div id=doc-nav class=d-print-none><div class="row flex-xl-nowrap"><div class="col-sm-6 pt-2 doc-next"><a href=/docs/development/migration/docker_db/><div class="card h-100 my-1"><div class="card-body py-2"><p class="card-title fs-5 fw-semibold lh-base mb-0"><i class="material-icons align-middle">navigate_before</i> Docker 数据库迁移(无脑操作)</p><p class="card-text ms-2">FastGPT Docker 数据库备份和迁移</p></div></div></a></div><div class="col-sm-6 pt-2 doc-prev"><a class=ms-auto href=/docs/development/upgrading/490/><div class="card h-100 my-1 text-end"><div class="card-body py-2"><p class="card-title fs-5 fw-semibold lh-base mb-0">V4.9.0(包含升级脚本) <i class="material-icons align-middle">navigate_next</i></p><p class="card-text me-2">FastGPT V4.9.0 更新说明</p></div></div></a></div></div></div></div></div></div></div></div><footer class="shadow py-3 d-print-none"><div class="row align-items-center" style=height:90px><div class=col><div class="text-sm-start text-center mx-md-2"><p class=mb-0>© 2025 the FastGPT Authors.</p><p class=github-badge><span class=badge-subject>云操作系统</span><span class="badge-value bg-blue"><a style=color:#fff href=https://sealos.io/ target=_blank>Sealos</a></span>
41+
</pre></div><p><strong>脚本功能</strong></p><p>重新使用最新的 jieba 分词库进行分词处理。时间较长,可以从日志里查看进度。</p><h2 id=-新增内容>🚀 新增内容 <a href=#-%e6%96%b0%e5%a2%9e%e5%86%85%e5%ae%b9 class=anchor aria-hidden=true><i class="material-icons align-middle">link</i></a></h2><ol><li>商业版支持单团队模式,更好的管理内部成员。</li><li>知识库分块阅读器。</li><li>API 知识库支持 PDF 增强解析。</li><li>邀请团队成员,改为邀请链接模式。</li><li>支持混合检索权重设置。</li><li>支持重排模型选择和权重设置,同时调整了知识库搜索权重计算方式,改成 搜索权重 + 重排权重,而不是向量检索权重+全文检索权重+重排权重。</li></ol><h2 id=-优化>⚙️ 优化 <a href=#-%e4%bc%98%e5%8c%96 class=anchor aria-hidden=true><i class="material-icons align-middle">link</i></a></h2><ol><li>知识库数据输入框交互</li><li>应用拉取绑定知识库数据交由后端处理。</li><li>增加依赖包安全版本检测,并升级部分依赖包。</li><li>模型测试代码。</li><li>优化思考过程解析逻辑:只要配置了模型支持思考,均会解析 <think>标签,不会因为对话时,关闭思考而不解析。</li><li>载入最新 jieba 分词库,增强全文检索分词效果。</li></ol><h2 id=-修复>🐛 修复 <a href=#-%e4%bf%ae%e5%a4%8d class=anchor aria-hidden=true><i class="material-icons align-middle">link</i></a></h2><ol><li>最大响应 tokens 提示显示错误的问题。</li><li>HTTP Node 中,字符串包含换行符时,会解析失败。</li><li>知识库问题优化中,未传递历史记录。</li><li>错误提示翻译缺失。</li><li>内容提取节点,array 类型 schema 错误。</li><li>模型渠道测试时,实际未指定渠道测试。</li><li>新增自定义模型时,会把默认模型字段也保存,导致默认模型误判。</li><li>修复 promp 模式工具调用,未判空思考链,导致 UI 错误展示。</li><li>编辑应用信息导致头像丢失。</li><li>分享链接标题会被刷新掉。</li><li>计算 parentPath 时,存在鉴权失败清空。</li></ol></div><div class="gitinfo d-flex flex-wrap justify-content-between align-items-center opacity-85 pt-3"><div id=edit-this-page class=mt-1><a href=https://github.com/labring/FastGPT/blob/main/docSite/content/zh-cn/docs/development/upgrading/491.md alt=V4.9.1 rel="noopener noreferrer" target=_blank><span class="me-1 align-text-bottom"><svg width="20" height="20" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg" fill="currentcolor"><path d="M16 .396c-8.839.0-16 7.167-16 16 0 7.073 4.584 13.068 10.937 15.183.803.151 1.093-.344 1.093-.772.0-.38-.009-1.385-.015-2.719-4.453.964-5.391-2.151-5.391-2.151-.729-1.844-1.781-2.339-1.781-2.339-1.448-.989.115-.968.115-.968 1.604.109 2.448 1.645 2.448 1.645 1.427 2.448 3.744 1.74 4.661 1.328.14-1.031.557-1.74 1.011-2.135-3.552-.401-7.287-1.776-7.287-7.907.0-1.751.62-3.177 1.645-4.297-.177-.401-.719-2.031.141-4.235.0.0 1.339-.427 4.4 1.641 1.281-.355 2.641-.532 4-.541 1.36.009 2.719.187 4 .541 3.043-2.068 4.381-1.641 4.381-1.641.859 2.204.317 3.833.161 4.235 1.015 1.12 1.635 2.547 1.635 4.297.0 6.145-3.74 7.5-7.296 7.891.556.479 1.077 1.464 1.077 2.959.0 2.14-.02 3.864-.02 4.385.0.416.28.916 1.104.755 6.4-2.093 10.979-8.093 10.979-15.156.0-8.833-7.161-16-16-16z"/></svg></span>编辑此页面</a></div></div></div><div><hr class=doc-hr><div id=doc-nav class=d-print-none><div class="row flex-xl-nowrap"><div class="col-sm-6 pt-2 doc-next"><a href=/docs/development/migration/docker_db/><div class="card h-100 my-1"><div class="card-body py-2"><p class="card-title fs-5 fw-semibold lh-base mb-0"><i class="material-icons align-middle">navigate_before</i> Docker 数据库迁移(无脑操作)</p><p class="card-text ms-2">FastGPT Docker 数据库备份和迁移</p></div></div></a></div><div class="col-sm-6 pt-2 doc-prev"><a class=ms-auto href=/docs/development/upgrading/490/><div class="card h-100 my-1 text-end"><div class="card-body py-2"><p class="card-title fs-5 fw-semibold lh-base mb-0">V4.9.0(包含升级脚本) <i class="material-icons align-middle">navigate_next</i></p><p class="card-text me-2">FastGPT V4.9.0 更新说明</p></div></div></a></div></div></div></div></div></div></div></div><footer class="shadow py-3 d-print-none"><div class="row align-items-center" style=height:90px><div class=col><div class="text-sm-start text-center mx-md-2"><p class=mb-0>© 2025 the FastGPT Authors.</p><p class=github-badge><span class=badge-subject>云操作系统</span><span class="badge-value bg-blue"><a style=color:#fff href=https://sealos.io/ target=_blank>Sealos</a></span>
4242
<span class=badge-subject>云开发</span><span class="badge-value bg-brightgreen"><a style=color:#fff href=https://laf.run target=_blank>Laf</a></span>
4343
<span class=badge-subject>云原生存储</span><span class="badge-value bg-orange"><a style=color:#fff href=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/labring/sealfs target=_blank>Sealfs</a></span></p><div id=fixed-box><div class=feedback-btn-wrapper><a href=https://fael3z0zfze.feishu.cn/share/base/form/shrcnRxj3utrzjywsom96Px4sud style=text-decoration:none target=_blank><button id=feedback-btn title="Give feedback"><svg class="inline w-5 h-5" viewBox="0 0 20 20" fill="currentcolor"><path fill-rule="evenodd" d="M18 13V5a2 2 0 00-2-2H4A2 2 0 002 5v8a2 2 0 002 2h3l3 3 3-3h3a2 2 0 002-2zM5 7a1 1 0 011-1h8a1 1 0 110 2H6A1 1 0 015 7zm1 3a1 1 0 100 2h3a1 1 0 100-2H6z" clip-rule="evenodd"/></svg>
4444
<span _msttexthash=6039839 _msthash=295>咨询合作</span></button></a></div></div></div></div></div></footer></main></div></div><button onclick=topFunction() id=back-to-top aria-label="Back to Top Button" class="back-to-top fs-5"><svg width="24" height="24"><path d="M12 10.224l-6.3 6.3-1.38-1.372L12 7.472l7.68 7.68-1.38 1.376z" style="fill:#fff"/></svg></button>

docs/development/upgrading/index.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Sealos 中,你可以在下图中找到你的域名:
1212
如何获取 rootkey link从docker-compose.yml中的environment中获取,对应的是ROOT_KEY的值。</description></item><item><title>V4.9.1</title><link>https://doc.tryfastgpt.ai/docs/development/upgrading/491/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.tryfastgpt.ai/docs/development/upgrading/491/</guid><description>更新指南 link1. 做好数据库备份 link2. 更新镜像 link 更新 FastGPT 镜像 tag: v4.9.1 更新 FastGPT 商业版镜像 tag: v4.9.1 Sandbox 镜像,可以不更新 AIProxy 镜像修改为: registry.cn-hangzhou.aliyuncs.com/labring/aiproxy:v0.1.3 3. 执行升级脚本 link从任意终端,发起 1 个 HTTP 请求。其中 {{rootkey}} 替换成环境变量里的 rootkey;{{host}} 替换成FastGPT 域名。
1313
curl --location --request POST &amp;#39;https://{{host}}/api/admin/initv491&amp;#39; \ --header &amp;#39;rootkey: {{rootkey}}&amp;#39; \ --header &amp;#39;Content-Type: application/json&amp;#39; 脚本功能
1414
重新使用最新的 jieba 分词库进行分词处理。时间较长,可以从日志里查看进度。
15-
🚀 新增内容 link 商业版支持单团队模式,更好的管理内部成员。 知识库分块阅读器。 API 知识库支持 PDF 增强解析。 邀请团队成员,改为邀请链接模式。 支持混合检索权重设置。 支持重排模型选择和权重设置,同时调整了知识库搜索权重计算方式,改成 搜索权重 + 重排权重,而不是向量检索权重+全文检索权重+重排权重。 ⚙️ 优化 link 知识库数据输入框交互 应用拉取绑定知识库数据交由后端处理。 增加依赖包安全版本检测,并升级部分依赖包。 模型测试代码。 优化思考过程解析逻辑:只要配置了模型支持思考,均会解析 标签,不会因为对话时,关闭思考而不解析。 载入最新 jieba 分词库,增强全文检索分词效果。 🐛 修复 link 最大响应 tokens 提示显示错误的问题。 HTTP Node 中,字符串包含换行符时,会解析失败。 知识库问题优化中,未传递历史记录。 错误提示翻译缺失。 内容提取节点,array 类型 schema 错误。 模型渠道测试时,实际未指定渠道测试。 新增自定义模型时,会把默认模型字段也保存,导致默认模型误判。 修复 promp 模式工具调用,未判空思考链,导致 UI 错误展示。 编辑应用信息导致头像丢失。 分享链接标题会被刷新掉。</description></item><item><title>V4.9.0(包含升级脚本)</title><link>https://doc.tryfastgpt.ai/docs/development/upgrading/490/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.tryfastgpt.ai/docs/development/upgrading/490/</guid><description>更新指南 link1. 做好数据库备份 link2. 更新镜像和 PG 容器 link 更新 FastGPT 镜像 tag: v4.9.0 更新 FastGPT 商业版镜像 tag: v4.9.0 Sandbox 镜像,可以不更新 更新 PG 容器为 v0.8.0-pg15, 可以查看最新的 yml 3. 替换 OneAPI(可选) link如果需要使用 AI Proxy 替换 OneAPI 的用户可执行该步骤。
15+
🚀 新增内容 link 商业版支持单团队模式,更好的管理内部成员。 知识库分块阅读器。 API 知识库支持 PDF 增强解析。 邀请团队成员,改为邀请链接模式。 支持混合检索权重设置。 支持重排模型选择和权重设置,同时调整了知识库搜索权重计算方式,改成 搜索权重 + 重排权重,而不是向量检索权重+全文检索权重+重排权重。 ⚙️ 优化 link 知识库数据输入框交互 应用拉取绑定知识库数据交由后端处理。 增加依赖包安全版本检测,并升级部分依赖包。 模型测试代码。 优化思考过程解析逻辑:只要配置了模型支持思考,均会解析 标签,不会因为对话时,关闭思考而不解析。 载入最新 jieba 分词库,增强全文检索分词效果。 🐛 修复 link 最大响应 tokens 提示显示错误的问题。 HTTP Node 中,字符串包含换行符时,会解析失败。 知识库问题优化中,未传递历史记录。 错误提示翻译缺失。 内容提取节点,array 类型 schema 错误。 模型渠道测试时,实际未指定渠道测试。 新增自定义模型时,会把默认模型字段也保存,导致默认模型误判。 修复 promp 模式工具调用,未判空思考链,导致 UI 错误展示。 编辑应用信息导致头像丢失。 分享链接标题会被刷新掉。 计算 parentPath 时,存在鉴权失败清空。</description></item><item><title>V4.9.0(包含升级脚本)</title><link>https://doc.tryfastgpt.ai/docs/development/upgrading/490/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.tryfastgpt.ai/docs/development/upgrading/490/</guid><description>更新指南 link1. 做好数据库备份 link2. 更新镜像和 PG 容器 link 更新 FastGPT 镜像 tag: v4.9.0 更新 FastGPT 商业版镜像 tag: v4.9.0 Sandbox 镜像,可以不更新 更新 PG 容器为 v0.8.0-pg15, 可以查看最新的 yml 3. 替换 OneAPI(可选) link如果需要使用 AI Proxy 替换 OneAPI 的用户可执行该步骤。
1616
1. 修改 yml 文件 link参考最新的 yml 文件。里面已移除 OneAPI 并添加了 AIProxy配置。包含一个服务和一个 PgSQL 数据库。将 aiproxy 的配置追加到 OneAPI 的配置后面(先不要删除 OneAPI,有一个初始化会自动同步 OneAPI 的配置)
1717
AI Proxy Yml 配置 # AI Proxy aiproxy: image: &amp;#39;ghcr.io/labring/aiproxy:latest&amp;#39; container_name: aiproxy restart: unless-stopped depends_on: aiproxy_pg: condition: service_healthy networks: - fastgpt environment: # 对应 fastgpt 里的AIPROXY_API_TOKEN - ADMIN_KEY=aiproxy # 错误日志详情保存时间(小时) - LOG_DETAIL_STORAGE_HOURS=1 # 数据库连接地址 - SQL_DSN=postgres://postgres:aiproxy@aiproxy_pg:5432/aiproxy # 最大重试次数 - RETRY_TIMES=3 # 不需要计费 - BILLING_ENABLED=false # 不需要严格检测模型 - DISABLE_MODEL_CONFIG=true healthcheck: test: [&amp;#39;CMD&amp;#39;, &amp;#39;curl&amp;#39;, &amp;#39;-f&amp;#39;, &amp;#39;http://localhost:3000/api/status&amp;#39;] interval: 5s timeout: 5s retries: 10 aiproxy_pg: image: pgvector/pgvector:0.</description></item><item><title>V4.8.23</title><link>https://doc.tryfastgpt.ai/docs/development/upgrading/4823/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.tryfastgpt.ai/docs/development/upgrading/4823/</guid><description>更新指南 link1. 做好数据库备份 link2. 更新镜像: link 更新 fastgpt 镜像 tag: v4.8.23-fix 更新 fastgpt-pro 商业版镜像 tag: v4.8.23-fix Sandbox 镜像无需更新 3. 运行升级脚本 link从任意终端,发起 1 个 HTTP 请求。其中 {{rootkey}} 替换成环境变量里的 rootkey;{{host}} 替换成FastGPT 域名。
1818
curl --location --request POST &amp;#39;https://{{host}}/api/admin/initv4823&amp;#39; \ --header &amp;#39;rootkey: {{rootkey}}&amp;#39; \ --header &amp;#39;Content-Type: application/json&amp;#39; 脚本会清理一些知识库脏数据,主要是多余的全文索引。

0 commit comments

Comments
 (0)