article,
+#nd-toc {
+ padding-top: 2rem;
+}
+
button[data-search-full] {
background-color: var(--color-fd-background);
}
@@ -492,8 +497,18 @@ button[role='tab'] {
/* 去掉 viewport 内部的顶部渐变遮罩 */
#nd-sidebar-mobile [data-radix-scroll-area-viewport] > div {
- mask-image: linear-gradient(transparent, #fff 0px, #fff calc(100% - 12px), transparent) !important;
- -webkit-mask-image: linear-gradient(transparent, #fff 0px, #fff calc(100% - 12px), transparent) !important;
+ mask-image: linear-gradient(
+ transparent,
+ #fff 0px,
+ #fff calc(100% - 12px),
+ transparent
+ ) !important;
+ -webkit-mask-image: linear-gradient(
+ transparent,
+ #fff 0px,
+ #fff calc(100% - 12px),
+ transparent
+ ) !important;
}
}
@@ -512,6 +527,12 @@ button[role='tab'] {
justify-content: center;
}
+/* RootToggle sidebar tab selector: remove bottom margin */
+#nd-sidebar .mb-2,
+#nd-sidebar-mobile .mb-2 {
+ margin-bottom: 0 !important;
+}
+
/* RootToggle 下拉菜单:增加两侧 padding + 选中项浅蓝背景 */
[data-radix-popper-content-wrapper] > div {
padding: 6px 8px !important;
@@ -528,12 +549,12 @@ button[role='tab'] {
/* 移动端目录下拉框(TOC Popover Trigger):文本溢出省略号 */
@media (max-width: 767px) {
- button[class*="tocnav"] {
+ button[class*='tocnav'] {
max-width: 100vw;
overflow: hidden;
}
- button[class*="tocnav"] > span.grid {
+ button[class*='tocnav'] > span.grid {
overflow: hidden;
min-width: 0;
}
diff --git a/document/app/robots.txt/route.ts b/document/app/robots.txt/route.ts
new file mode 100644
index 0000000000..dbdd4a6553
--- /dev/null
+++ b/document/app/robots.txt/route.ts
@@ -0,0 +1,36 @@
+import { NextResponse } from 'next/server';
+
+export const dynamic = 'force-static';
+
+export function GET() {
+ const homeDomain = process.env.FASTGPT_HOME_DOMAIN ?? 'https://fastgpt.io';
+ const domain = homeDomain.replace('https://', 'https://doc.');
+ const isCN = homeDomain.includes('.cn');
+
+ let content: string;
+
+ if (isCN) {
+ content = `User-Agent: Googlebot
+Disallow: /
+
+User-Agent: *
+Allow: /
+
+Host: ${domain}
+Sitemap: ${domain}/sitemap.xml
+`;
+ } else {
+ content = `User-Agent: bingbot
+Disallow: /
+
+User-Agent: *
+Allow: /
+
+Sitemap: ${domain}/sitemap.xml
+`;
+ }
+
+ return new NextResponse(content, {
+ headers: { 'Content-Type': 'text/plain; charset=utf-8' }
+ });
+}
diff --git a/document/app/sitemap.xml/route.ts b/document/app/sitemap.xml/route.ts
new file mode 100644
index 0000000000..a54652bad6
--- /dev/null
+++ b/document/app/sitemap.xml/route.ts
@@ -0,0 +1,34 @@
+import { source } from '@/lib/source';
+import { NextResponse } from 'next/server';
+import docLastModifiedData from '@/data/doc-last-modified.json';
+
+export const dynamic = 'force-static';
+
+export function GET() {
+ const homeDomain = process.env.FASTGPT_HOME_DOMAIN ?? 'https://fastgpt.io';
+ const domain = homeDomain.replace('https://', 'https://doc.');
+
+ const pages = source.getPages();
+
+ const urlEntries = pages
+ .map((page) => {
+ const filePath = `document/content/docs/${page.file.path}`;
+ // @ts-ignore
+ const lastModified = docLastModifiedData[filePath] || page.data.lastModified;
+
+ return `
+ ${domain}${page.url}${lastModified ? `
+ ${lastModified}` : ''}
+ `;
+ })
+ .join('\n');
+
+ const xml = `
+
+${urlEntries}
+`;
+
+ return new NextResponse(xml, {
+ headers: { 'Content-Type': 'application/xml; charset=utf-8' }
+ });
+}
diff --git a/document/components/sideBar.tsx b/document/components/sideBar.tsx
index 95a0f376bb..2e1f83cbb1 100644
--- a/document/components/sideBar.tsx
+++ b/document/components/sideBar.tsx
@@ -1,7 +1,7 @@
'use client';
import { usePathname } from 'next/navigation';
-import { useEffect, type FC, type ReactNode } from 'react';
+import { createContext, useContext, useEffect, type FC, type ReactNode } from 'react';
import {
SidebarItem,
SidebarFolder,
@@ -11,6 +11,8 @@ import {
import { type SidebarComponents } from 'fumadocs-ui/components/layout/sidebar';
import { type PageTree } from 'fumadocs-core/server';
+const NestingLevelContext = createContext(0);
+
const isInFolder = (folder: PageTree.Folder, pathname: string): boolean => {
const check = (item: PageTree.Item | PageTree.Folder): boolean => {
if ('children' in item) {
@@ -61,18 +63,27 @@ const CustomFolder: FC<{ item: PageTree.Folder; level: number; children: ReactNo
const shouldExpand = isInFolder(item, pathname);
return (
-
- {item.name}
-
- {children}
-
-
+
+
+ {item.name}
+
+ {children}
+
+
+
);
};
-const CustomSeparator: FC<{ item: PageTree.Separator }> = ({ item }) => (
- {item.name}
-);
+const CustomSeparator: FC<{ item: PageTree.Separator }> = ({ item }) => {
+ const level = useContext(NestingLevelContext);
+ return (
+ 0 ? 'pl-6' : 'px-2'} pr-2 py-1.5 mt-1 mb-1 first:mt-0`}
+ >
+ {item.name}
+
+ );
+};
export const CustomSidebarComponents: SidebarComponents = {
Item: CustomItem,
diff --git a/document/content/docs/introduction/cloud/faq.en.mdx b/document/content/docs/introduction/cloud/faq.en.mdx
new file mode 100644
index 0000000000..d4fe66c402
--- /dev/null
+++ b/document/content/docs/introduction/cloud/faq.en.mdx
@@ -0,0 +1,9 @@
+---
+title: FAQ
+description: FastGPT Cloud Service FAQ
+---
+
+
+## Does FastGPT Cloud Service support integrating your own models?
+
+Currently, FastGPT Cloud Service does not support integrating your own models, only the unified models provided by the official are supported.
\ No newline at end of file
diff --git a/document/content/docs/introduction/cloud/faq.mdx b/document/content/docs/introduction/cloud/faq.mdx
new file mode 100644
index 0000000000..408b1a815e
--- /dev/null
+++ b/document/content/docs/introduction/cloud/faq.mdx
@@ -0,0 +1,9 @@
+---
+title: 常见问题
+description: FastGPT 云服务常见问题
+---
+
+
+## 是否支持接入自己的模型
+
+目前 FastGPT 云服务暂不支持接入自己的模型,只能使用官方提供的统一模型。
\ No newline at end of file
diff --git a/document/content/docs/introduction/cloud.en.mdx b/document/content/docs/introduction/cloud/intro.en.mdx
similarity index 100%
rename from document/content/docs/introduction/cloud.en.mdx
rename to document/content/docs/introduction/cloud/intro.en.mdx
diff --git a/document/content/docs/introduction/cloud.mdx b/document/content/docs/introduction/cloud/intro.mdx
similarity index 77%
rename from document/content/docs/introduction/cloud.mdx
rename to document/content/docs/introduction/cloud/intro.mdx
index bc8748239b..35fa4aea93 100644
--- a/document/content/docs/introduction/cloud.mdx
+++ b/document/content/docs/introduction/cloud/intro.mdx
@@ -1,6 +1,6 @@
---
-title: FastGPT 云服务
-description: FastGPT 云服务
+title: 介绍
+description: FastGPT 云服务介绍
---
## 服务地址
diff --git a/document/content/docs/introduction/cloud/meta.en.json b/document/content/docs/introduction/cloud/meta.en.json
new file mode 100644
index 0000000000..fedacdd2c7
--- /dev/null
+++ b/document/content/docs/introduction/cloud/meta.en.json
@@ -0,0 +1,6 @@
+{
+ "title": "FastGPT Cloud",
+ "description": "FastGPT Cloud Service",
+ "icon": "🌐",
+ "pages": ["intro", "faq", "terms", "privacy"]
+}
diff --git a/document/content/docs/introduction/cloud/meta.json b/document/content/docs/introduction/cloud/meta.json
new file mode 100644
index 0000000000..c016f823d2
--- /dev/null
+++ b/document/content/docs/introduction/cloud/meta.json
@@ -0,0 +1,6 @@
+{
+ "title": "FastGPT 云服务",
+ "description": "FastGPT 云服务",
+ "icon": "🌐",
+ "pages": ["intro", "faq", "terms", "privacy"]
+}
diff --git a/document/content/docs/protocol/privacy.en.mdx b/document/content/docs/introduction/cloud/privacy.en.mdx
similarity index 100%
rename from document/content/docs/protocol/privacy.en.mdx
rename to document/content/docs/introduction/cloud/privacy.en.mdx
diff --git a/document/content/docs/protocol/privacy.mdx b/document/content/docs/introduction/cloud/privacy.mdx
similarity index 100%
rename from document/content/docs/protocol/privacy.mdx
rename to document/content/docs/introduction/cloud/privacy.mdx
diff --git a/document/content/docs/protocol/terms.en.mdx b/document/content/docs/introduction/cloud/terms.en.mdx
similarity index 100%
rename from document/content/docs/protocol/terms.en.mdx
rename to document/content/docs/introduction/cloud/terms.en.mdx
diff --git a/document/content/docs/protocol/terms.mdx b/document/content/docs/introduction/cloud/terms.mdx
similarity index 100%
rename from document/content/docs/protocol/terms.mdx
rename to document/content/docs/introduction/cloud/terms.mdx
diff --git a/document/content/docs/introduction/commercial.en.mdx b/document/content/docs/introduction/commercial.en.mdx
index ad1b01b479..dc4483c23f 100644
--- a/document/content/docs/introduction/commercial.en.mdx
+++ b/document/content/docs/introduction/commercial.en.mdx
@@ -36,7 +36,7 @@ FastGPT Commercial Edition is an enhanced version built on top of the Community
| Team spaces & permissions | ❌ | ✅ | ✅ |
| Admin dashboard | ❌ | ✅ | Not needed |
| SSO login | ❌ | ✅ | In design |
-| Commercial license | [View open source license](/docs/protocol/open-source) | Full | Full |
+| Commercial license | [View open source license](/docs/introduction/opensource/license) | Full | Full |
## Pricing
diff --git a/document/content/docs/introduction/commercial.mdx b/document/content/docs/introduction/commercial.mdx
index 901c70112c..2e900577df 100644
--- a/document/content/docs/introduction/commercial.mdx
+++ b/document/content/docs/introduction/commercial.mdx
@@ -36,7 +36,7 @@ FastGPT 商业版是基于 FastGPT 社区版的增强版本,增加了一些独
| 团队空间 & 权限 | ❌ | ✅ | ✅ |
| 管理后台 | ❌ | ✅ | 不需要 |
| SSO 登录 | ❌ | ✅ | 设计中 |
-| 商业授权 | [查看开源协议](/docs/protocol/open-source) | 完整 | 完整 |
+| 商业授权 | [查看开源协议](/docs/introduction/opensource/license) | 完整 | 完整 |
## 商业版软件价格
diff --git a/document/content/docs/introduction/development/custom-models/meta.en.json b/document/content/docs/introduction/development/custom-models/meta.en.json
deleted file mode 100644
index 36a55a1d1c..0000000000
--- a/document/content/docs/introduction/development/custom-models/meta.en.json
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "title": "Local Model Usage",
- "pages": [
- "marker",
- "mineru",
- "xinference",
- "bge-rerank",
- "chatglm2",
- "m3e",
- "chatglm2-m3e",
- "ollama"
- ]
-}
diff --git a/document/content/docs/introduction/development/design/meta.en.json b/document/content/docs/introduction/development/design/meta.en.json
deleted file mode 100644
index 26a4fbfff3..0000000000
--- a/document/content/docs/introduction/development/design/meta.en.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "title": "Design Solutions",
- "pages": [
- "dataset",
- "design_plugin"
- ]
-}
diff --git a/document/content/docs/introduction/development/meta.en.json b/document/content/docs/introduction/development/meta.en.json
deleted file mode 100644
index 3cb5286ffa..0000000000
--- a/document/content/docs/introduction/development/meta.en.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "title": "Community Edition",
- "description": "FastGPT Community Edition",
- "icon": "🔧",
- "pages": [
- "sealos",
- "docker",
- "faq",
- "intro",
- "configuration",
- "object-storage",
- "signoz",
- "modelConfig",
- "custom-models",
- "proxy",
- "migration",
- "design"
- ]
-}
diff --git a/document/content/docs/introduction/development/meta.json b/document/content/docs/introduction/development/meta.json
deleted file mode 100644
index 70b6ff54d3..0000000000
--- a/document/content/docs/introduction/development/meta.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "title": "FastGPT 社区版",
- "description": "FastGPT 社区版",
- "icon": "🔧",
- "pages": [
- "sealos",
- "docker",
- "faq",
- "intro",
- "configuration",
- "object-storage",
- "signoz",
- "modelConfig",
- "custom-models",
- "proxy",
- "migration",
- "design"
- ]
-}
diff --git a/document/content/docs/introduction/development/migration/meta.en.json b/document/content/docs/introduction/development/migration/meta.en.json
deleted file mode 100644
index 0acb9cbc83..0000000000
--- a/document/content/docs/introduction/development/migration/meta.en.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "title": "Migration & Backup",
- "pages": [
- "docker_db",
- "docker_mongo"
- ]
-}
diff --git a/document/content/docs/introduction/development/modelConfig/meta.en.json b/document/content/docs/introduction/development/modelConfig/meta.en.json
deleted file mode 100644
index 61a466af72..0000000000
--- a/document/content/docs/introduction/development/modelConfig/meta.en.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "title": "Model Configuration Solutions",
- "pages": [
- "ai-proxy",
- "intro",
- "one-api",
- "siliconCloud",
- "ppio"
- ]
-}
diff --git a/document/content/docs/introduction/development/modelConfig/meta.json b/document/content/docs/introduction/development/modelConfig/meta.json
deleted file mode 100644
index 586c28c747..0000000000
--- a/document/content/docs/introduction/development/modelConfig/meta.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "title": "模型配置方案",
- "pages": ["ai-proxy","intro","one-api","siliconCloud","ppio"]
-}
\ No newline at end of file
diff --git a/document/content/docs/introduction/development/proxy/cloudflare.en.mdx b/document/content/docs/introduction/development/proxy/cloudflare.en.mdx
deleted file mode 100644
index ee0ca6c045..0000000000
--- a/document/content/docs/introduction/development/proxy/cloudflare.en.mdx
+++ /dev/null
@@ -1,50 +0,0 @@
----
-title: Cloudflare Worker Proxy
-description: Use Cloudflare Worker as a Proxy
----
-
-[Reference tutorial by "不做了睡觉"](https://gravel-twister-d32.notion.site/FastGPT-API-ba7bb261d5fd4fd9bbb2f0607dacdc9e)
-
-**Workers configuration file**
-
-```js
-const TELEGRAPH_URL = 'https://api.openai.com';
-
-addEventListener('fetch', (event) => {
- event.respondWith(handleRequest(event.request));
-});
-
-async function handleRequest(request) {
- // Security check
- if (request.headers.get('auth') !== 'auth_code') {
- return new Response('UnAuthorization', { status: 403 });
- }
-
- const url = new URL(request.url);
- url.host = TELEGRAPH_URL.replace(/^https?:\/\//, '');
-
- const modifiedRequest = new Request(url.toString(), {
- headers: request.headers,
- method: request.method,
- body: request.body,
- redirect: 'follow'
- });
-
- const response = await fetch(modifiedRequest);
- const modifiedResponse = new Response(response.body, response);
-
- // Add CORS headers
- modifiedResponse.headers.set('Access-Control-Allow-Origin', '*');
-
- return modifiedResponse;
-}
-```
-
-**Update FastGPT environment variables**
-
-> Don't forget to include v1!
-
-```bash
-OPENAI_BASE_URL=https://xxxxxx/v1
-OPENAI_BASE_URL_AUTH=auth_code
-```
diff --git a/document/content/docs/introduction/development/proxy/cloudflare.mdx b/document/content/docs/introduction/development/proxy/cloudflare.mdx
deleted file mode 100644
index e49c30231e..0000000000
--- a/document/content/docs/introduction/development/proxy/cloudflare.mdx
+++ /dev/null
@@ -1,50 +0,0 @@
----
-title: Cloudflare Worker 中转
-description: 使用 Cloudflare Worker 实现中转
----
-
-[参考 "不做了睡觉" 的教程](https://gravel-twister-d32.notion.site/FastGPT-API-ba7bb261d5fd4fd9bbb2f0607dacdc9e)
-
-**workers 配置文件**
-
-```js
-const TELEGRAPH_URL = 'https://api.openai.com';
-
-addEventListener('fetch', (event) => {
- event.respondWith(handleRequest(event.request));
-});
-
-async function handleRequest(request) {
- // 安全校验
- if (request.headers.get('auth') !== 'auth_code') {
- return new Response('UnAuthorization', { status: 403 });
- }
-
- const url = new URL(request.url);
- url.host = TELEGRAPH_URL.replace(/^https?:\/\//, '');
-
- const modifiedRequest = new Request(url.toString(), {
- headers: request.headers,
- method: request.method,
- body: request.body,
- redirect: 'follow'
- });
-
- const response = await fetch(modifiedRequest);
- const modifiedResponse = new Response(response.body, response);
-
- // 添加允许跨域访问的响应头
- modifiedResponse.headers.set('Access-Control-Allow-Origin', '*');
-
- return modifiedResponse;
-}
-```
-
-**修改 FastGPT 的环境变量**
-
-> 务必别忘了填 v1!
-
-```bash
-OPENAI_BASE_URL=https://xxxxxx/v1
-OPENAI_BASE_URL_AUTH=auth_code
-```
diff --git a/document/content/docs/introduction/development/proxy/http_proxy.en.mdx b/document/content/docs/introduction/development/proxy/http_proxy.en.mdx
deleted file mode 100644
index 29fa2b5ec4..0000000000
--- a/document/content/docs/introduction/development/proxy/http_proxy.en.mdx
+++ /dev/null
@@ -1,42 +0,0 @@
----
-title: HTTP Proxy
-description: Use an HTTP Proxy for Routing
----
-
-If you have a proxy tool (like [Clash](https://github.com/Dreamacro/clash) or [sing-box](https://github.com/SagerNet/sing-box)), you can use an HTTP proxy to access OpenAI. Just add these two environment variables:
-
-```bash
-AXIOS_PROXY_HOST=
-AXIOS_PROXY_PORT=
-```
-
-Using Clash as an example, it's recommended to route only `api.openai.com` through the proxy and direct-connect everything else. Example configuration:
-
-```yaml
-mixed-port: 7890
-allow-lan: false
-bind-address: '*'
-mode: rule
-log-level: warning
-dns:
- enable: true
- ipv6: false
- nameserver:
- - 8.8.8.8
- - 8.8.4.4
- cache-size: 400
-proxies:
- -
-proxy-groups:
- - { name: '♻️ Auto Select', type: url-test, proxies: [HK-V01×1.5], url: 'https://api.openai.com', interval: 3600}
-rules:
- - 'DOMAIN-SUFFIX,api.openai.com,♻️ Auto Select'
- - 'MATCH,DIRECT'
-```
-
-Then add these two environment variables to FastGPT:
-
-```bash
-AXIOS_PROXY_HOST=127.0.0.1
-AXIOS_PROXY_PORT=7890
-```
diff --git a/document/content/docs/introduction/development/proxy/http_proxy.mdx b/document/content/docs/introduction/development/proxy/http_proxy.mdx
deleted file mode 100644
index 89537074cb..0000000000
--- a/document/content/docs/introduction/development/proxy/http_proxy.mdx
+++ /dev/null
@@ -1,43 +0,0 @@
----
-title: HTTP 代理中转
-description: 使用 HTTP 代理实现中转
----
-
-如果你有代理工具(例如 [Clash](https://github.com/Dreamacro/clash) 或者 [sing-box](https://github.com/SagerNet/sing-box)),也可以使用 HTTP 代理来访问 OpenAI。只需要添加以下两个环境变量即可:
-
-```bash
-AXIOS_PROXY_HOST=
-AXIOS_PROXY_PORT=
-```
-
-以 Clash 为例,建议指定 `api.openai.com` 走代理,其他请求都直连。示例配置如下:
-
-```yaml
-mixed-port: 7890
-allow-lan: false
-bind-address: '*'
-mode: rule
-log-level: warning
-dns:
- enable: true
- ipv6: false
- nameserver:
- - 8.8.8.8
- - 8.8.4.4
- cache-size: 400
-proxies:
- -
-proxy-groups:
- - { name: '♻️ 自动选择', type: url-test, proxies: [香港V01×1.5], url: 'https://api.openai.com', interval: 3600}
-rules:
- - 'DOMAIN-SUFFIX,api.openai.com,♻️ 自动选择'
- - 'MATCH,DIRECT'
-```
-
-然后给 FastGPT 添加两个环境变量:
-
-```bash
-AXIOS_PROXY_HOST=127.0.0.1
-AXIOS_PROXY_PORT=7890
-```
-
diff --git a/document/content/docs/introduction/development/proxy/meta.en.json b/document/content/docs/introduction/development/proxy/meta.en.json
deleted file mode 100644
index 200bdc9d85..0000000000
--- a/document/content/docs/introduction/development/proxy/meta.en.json
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "title": "Proxy Solutions",
- "description": "FastGPT private deployment proxy solutions",
- "pages": [
- "nginx",
- "http_proxy",
- "cloudflare"
- ]
-}
diff --git a/document/content/docs/introduction/development/proxy/meta.json b/document/content/docs/introduction/development/proxy/meta.json
deleted file mode 100644
index f9add64437..0000000000
--- a/document/content/docs/introduction/development/proxy/meta.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "title": "代理方案",
- "description": "FastGPT 私有化部署代理方案",
- "pages": ["nginx","http_proxy","cloudflare"]
-}
\ No newline at end of file
diff --git a/document/content/docs/introduction/development/proxy/nginx.en.mdx b/document/content/docs/introduction/development/proxy/nginx.en.mdx
deleted file mode 100644
index 58ac028b0e..0000000000
--- a/document/content/docs/introduction/development/proxy/nginx.en.mdx
+++ /dev/null
@@ -1,101 +0,0 @@
----
-title: Nginx Proxy
-description: Deploy Nginx on Sealos as a Proxy
----
-
-## Log in to Sealos
-
-[Sealos](https://cloud.sealos.io?uid=fnWRt09fZP)
-
-## Create an Application
-
-Open "App Launchpad" and click "New Application":
-
-
-
-
-### Fill in Basic Configuration
-
-Make sure to enable external access and copy the provided external access address.
-
-
-
-### Add Configuration File
-
-1. Copy the configuration below. Replace the content after `server_name` with the external access address from step 2.
-
- ```nginx
- user nginx;
- worker_processes auto;
- worker_rlimit_nofile 51200;
-
- events {
- worker_connections 1024;
- }
-
- http {
- resolver 8.8.8.8;
- proxy_ssl_server_name on;
-
- access_log off;
- server_names_hash_bucket_size 512;
- client_header_buffer_size 64k;
- large_client_header_buffers 4 64k;
- client_max_body_size 50M;
-
- proxy_connect_timeout 240s;
- proxy_read_timeout 240s;
- proxy_buffer_size 128k;
- proxy_buffers 4 256k;
-
- server {
- listen 80;
- server_name tgohwtdlrmer.cloud.sealos.io; # Replace with the Sealos external address
-
- location ~ /openai/(.*) {
- proxy_pass https://api.openai.com/$1$is_args$args;
- proxy_set_header Host api.openai.com;
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- # For streaming responses
- proxy_set_header Connection '';
- proxy_http_version 1.1;
- chunked_transfer_encoding off;
- proxy_buffering off;
- proxy_cache off;
- # For regular responses
- proxy_buffer_size 128k;
- proxy_buffers 4 256k;
- proxy_busy_buffers_size 256k;
- }
- }
- }
- ```
-
-2. Open Advanced Configuration.
-3. Click "Add Config File".
-4. File name: `/etc/nginx/nginx.conf`.
-5. File value: the code you just copied.
-6. Click Confirm.
-
- 
-
-### Deploy the Application
-
-After filling everything in, click "Deploy" in the upper right corner to complete deployment.
-
-## Update FastGPT Environment Variables
-
-1. Go to the deployed app's details and copy the external address.
-
- > Note: This is an API address — opening it directly in a browser won't work. To verify, visit: `*.cloud.sealos.io/openai/api`. If you see `Invalid URL (GET /api)`, it's working correctly.
-
- 
-
-2. Update the environment variable (this is FastGPT's environment variable, not Sealos'):
-
- ```bash
- OPENAI_BASE_URL=https://tgohwtdlrmer.cloud.sealos.io/openai/v1
- ```
-
-**Done!**
diff --git a/document/content/docs/introduction/development/proxy/nginx.mdx b/document/content/docs/introduction/development/proxy/nginx.mdx
deleted file mode 100644
index b13746d4b0..0000000000
--- a/document/content/docs/introduction/development/proxy/nginx.mdx
+++ /dev/null
@@ -1,101 +0,0 @@
----
-title: Nginx 中转
-description: 使用 Sealos 部署 Nginx 实现中转
----
-
-## 登录 Sealos
-
-[Sealos](https://cloud.sealos.io?uid=fnWRt09fZP)
-
-## 创建应用
-
-打开 「应用管理」,点击「新建应用」:
-
-
-
-
-### 填写基本配置
-
-务必开启外网访问,复制外网访问提供的地址。
-
-
-
-### 添加配置文件
-
-1. 复制下面这段配置文件,注意 `server_name` 后面的内容替换成第二步的外网访问地址。
-
- ```nginx
- user nginx;
- worker_processes auto;
- worker_rlimit_nofile 51200;
-
- events {
- worker_connections 1024;
- }
-
- http {
- resolver 8.8.8.8;
- proxy_ssl_server_name on;
-
- access_log off;
- server_names_hash_bucket_size 512;
- client_header_buffer_size 64k;
- large_client_header_buffers 4 64k;
- client_max_body_size 50M;
-
- proxy_connect_timeout 240s;
- proxy_read_timeout 240s;
- proxy_buffer_size 128k;
- proxy_buffers 4 256k;
-
- server {
- listen 80;
- server_name tgohwtdlrmer.cloud.sealos.io; # 这个地方替换成 Sealos 提供的外网地址
-
- location ~ /openai/(.*) {
- proxy_pass https://api.openai.com/$1$is_args$args;
- proxy_set_header Host api.openai.com;
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- # 如果响应是流式的
- proxy_set_header Connection '';
- proxy_http_version 1.1;
- chunked_transfer_encoding off;
- proxy_buffering off;
- proxy_cache off;
- # 如果响应是一般的
- proxy_buffer_size 128k;
- proxy_buffers 4 256k;
- proxy_busy_buffers_size 256k;
- }
- }
- }
- ```
-
-2. 点开高级配置。
-3. 点击「新增配置文件」。
-4. 文件名写: `/etc/nginx/nginx.conf`。
-5. 文件值为刚刚复制的那段代码。
-6. 点击确认。
-
- 
-
-### 部署应用
-
-填写完毕后,点击右上角的「部署」,即可完成部署。
-
-## 修改 FastGPT 环境变量
-
-1. 进入刚刚部署应用的详情,复制外网地址
-
- > 注意:这是个 API 地址,点击打开是无效的。如需验证,可以访问: `*.cloud.sealos.io/openai/api`,如果提示 `Invalid URL (GET /api)` 则代表成功。
-
- 
-
-2. 修改环境变量(是 FastGPT 的环境变量,不是 Sealos 的):
-
- ```bash
- OPENAI_BASE_URL=https://tgohwtdlrmer.cloud.sealos.io/openai/v1
- ```
-
-**Done!**
diff --git a/document/content/docs/introduction/guide/dashboard/workflow/ai_chat.en.mdx b/document/content/docs/introduction/guide/dashboard/workflow/ai_chat.en.mdx
index 26ac4492b2..3870ae4442 100644
--- a/document/content/docs/introduction/guide/dashboard/workflow/ai_chat.en.mdx
+++ b/document/content/docs/introduction/guide/dashboard/workflow/ai_chat.en.mdx
@@ -17,7 +17,7 @@ import { Alert } from '@/components/docs/Alert';
## AI Model
-Configure available chat models via [config.json](/docs/introduction/development/configuration/) and connect multiple models through [one-api](/docs/introduction/development/modelConfig/one-api).
+Configure available chat models via [config.json](/docs/self-host/config/model/intro)。
Click the AI model to configure its parameters.
diff --git a/document/content/docs/introduction/guide/dashboard/workflow/ai_chat.mdx b/document/content/docs/introduction/guide/dashboard/workflow/ai_chat.mdx
index 2c1fa7f1e7..53ec603d50 100644
--- a/document/content/docs/introduction/guide/dashboard/workflow/ai_chat.mdx
+++ b/document/content/docs/introduction/guide/dashboard/workflow/ai_chat.mdx
@@ -17,7 +17,7 @@ import { Alert } from '@/components/docs/Alert';
## AI模型
-可以通过 [config.json](/docs/introduction/development/configuration/) 配置可选的对话模型,通过 [one-api](/docs/introduction/development/modelConfig/one-api) 来实现多模型接入。
+可以通过 [config.json](/docs/self-host/config/model/intro) 配置可选的对话模型。
点击AI模型后,可以配置模型的相关参数。
diff --git a/document/content/docs/introduction/guide/plugins/dev_system_tool.en.mdx b/document/content/docs/introduction/guide/plugins/dev_system_tool.en.mdx
index d374644efd..44caea9088 100644
--- a/document/content/docs/introduction/guide/plugins/dev_system_tool.en.mdx
+++ b/document/content/docs/introduction/guide/plugins/dev_system_tool.en.mdx
@@ -322,7 +322,7 @@ Simple tools may not need E2E testing. For complex tools, the review team may re
### 6.1 Deploy the E2E Test Environment
-1. Follow [Quick Start Local Development](/docs/introduction/development/intro) to set up a local FastGPT development environment
+1. Follow [Quick Start Local Development](/docs/self-host/dev) to set up a local FastGPT development environment
2. Run `cd runtime && cp .env.template .env.local` to copy the environment variable template, then connect to the Minio, Mongo, and Redis instances from step 1
3. Run `bun run dev` to start the development environment, then update FastGPT's environment variables to connect to your fastgpt-plugin instance
diff --git a/document/content/docs/introduction/guide/plugins/dev_system_tool.mdx b/document/content/docs/introduction/guide/plugins/dev_system_tool.mdx
index e8267557a5..813228043b 100644
--- a/document/content/docs/introduction/guide/plugins/dev_system_tool.mdx
+++ b/document/content/docs/introduction/guide/plugins/dev_system_tool.mdx
@@ -323,7 +323,7 @@ FastGPT-plugin 使用 Vitest 作为单测框架。
### 6.1 部署 E2E 测试环境
-1. 参考 [快速开始本地开发](/docs/introduction/development/intro),在本地部署一套 FastGPT 开发环境
+1. 参考 [快速开始本地开发](/docs/self-host/dev),在本地部署一套 FastGPT 开发环境
2. `cd runtime && cp .env.template .env.local` 复制环境变量样例文件,连接到上一步部署的 Minio, Mongo, Redis 中
3. `bun run dev` 运行开发环境,修改 FastGPT 的环境变量,连接到你刚刚启动的 fastgpt-plugin
diff --git a/document/content/docs/introduction/meta.en.json b/document/content/docs/introduction/meta.en.json
index 57d1e6c2fb..a8a24418ef 100644
--- a/document/content/docs/introduction/meta.en.json
+++ b/document/content/docs/introduction/meta.en.json
@@ -1,14 +1,14 @@
{
- "title": "Documentation",
+ "title": "User Guide",
"root": true,
"pages": [
- "---Getting Started---",
+ "---Tutorials---",
"index",
+ "...guide",
+ "---Editions---",
"cloud",
"commercial",
- "development",
- "---Features---",
- "...guide"
+ "opensource"
],
"order": 1
}
diff --git a/document/content/docs/introduction/meta.json b/document/content/docs/introduction/meta.json
index de9ccc65c4..7d07f725ba 100644
--- a/document/content/docs/introduction/meta.json
+++ b/document/content/docs/introduction/meta.json
@@ -2,13 +2,13 @@
"title": "使用文档",
"root": true,
"pages": [
- "---入门---",
+ "---教程---",
"index",
+ "...guide",
+ "---版本介绍---",
"cloud",
"commercial",
- "development",
- "---功能介绍---",
- "...guide"
+ "opensource"
],
"order": 1
}
diff --git a/document/content/docs/introduction/opensource/intro.en.mdx b/document/content/docs/introduction/opensource/intro.en.mdx
new file mode 100644
index 0000000000..5965caa84e
--- /dev/null
+++ b/document/content/docs/introduction/opensource/intro.en.mdx
@@ -0,0 +1,12 @@
+---
+title: Introduction
+description: FastGPT Community Edition Introduction
+---
+
+FastGPT Community Edition is the free version of FastGPT, designed for individual developers and small delivery teams. It includes all core FastGPT features: Agent building, workflows, and knowledge bases. Please use it in compliance with the [FastGPT Open Source License](/docs/introduction/opensource/license).
+
+**Related Links**
+
+* [GitHub Repository](https://github.com/labring/FastGPT)
+* [Deployment Guide](https://doc.fastgpt.io/docs/self-host/intro/)
+* [Local Development Guide](https://doc.fastgpt.io/docs/self-host/intro/)
\ No newline at end of file
diff --git a/document/content/docs/introduction/opensource/intro.mdx b/document/content/docs/introduction/opensource/intro.mdx
new file mode 100644
index 0000000000..0a4db0525b
--- /dev/null
+++ b/document/content/docs/introduction/opensource/intro.mdx
@@ -0,0 +1,12 @@
+---
+title: 介绍
+description: FastGPT 社区版介绍
+---
+
+FastGPT 社区版是 FastGPT 的免费版本,适合于个人开发者或小型交付团队使用。包含了 FastGPT 所有核心功能:Agent 构建、工作流、知识库,请在遵守[FastGPT 开源协议](/docs/introduction/opensource/license)的前提下使用。
+
+**相关链接**
+
+* [GitHub 仓库](https://github.com/labring/FastGPT)
+* [部署教程](https://doc.fastgpt.io/docs/self-host/intro/)
+* [本地开发介绍](https://doc.fastgpt.io/docs/self-host/intro/)
\ No newline at end of file
diff --git a/document/content/docs/protocol/open-source.en.mdx b/document/content/docs/introduction/opensource/license.en.mdx
similarity index 100%
rename from document/content/docs/protocol/open-source.en.mdx
rename to document/content/docs/introduction/opensource/license.en.mdx
diff --git a/document/content/docs/protocol/open-source.mdx b/document/content/docs/introduction/opensource/license.mdx
similarity index 100%
rename from document/content/docs/protocol/open-source.mdx
rename to document/content/docs/introduction/opensource/license.mdx
diff --git a/document/content/docs/introduction/opensource/meta.en.json b/document/content/docs/introduction/opensource/meta.en.json
new file mode 100644
index 0000000000..acaaf39427
--- /dev/null
+++ b/document/content/docs/introduction/opensource/meta.en.json
@@ -0,0 +1,6 @@
+{
+ "title": "FastGPT Community Edition",
+ "description": "FastGPT Community Edition",
+ "icon": "🔧",
+ "pages": ["intro", "license"]
+}
diff --git a/document/content/docs/introduction/opensource/meta.json b/document/content/docs/introduction/opensource/meta.json
new file mode 100644
index 0000000000..fd3f6819f2
--- /dev/null
+++ b/document/content/docs/introduction/opensource/meta.json
@@ -0,0 +1,6 @@
+{
+ "title": "FastGPT 社区版",
+ "description": "FastGPT 社区版",
+ "icon": "🔧",
+ "pages": ["intro", "license"]
+}
diff --git a/document/content/docs/protocol/index.en.mdx b/document/content/docs/protocol/index.en.mdx
deleted file mode 100644
index 0e1d469064..0000000000
--- a/document/content/docs/protocol/index.en.mdx
+++ /dev/null
@@ -1,8 +0,0 @@
----
-title: Protocols
-description: FastGPT Protocols
----
-
-import { Redirect } from '@/components/docs/Redirect';
-
-
diff --git a/document/content/docs/protocol/index.mdx b/document/content/docs/protocol/index.mdx
deleted file mode 100644
index dbd01c87e5..0000000000
--- a/document/content/docs/protocol/index.mdx
+++ /dev/null
@@ -1,8 +0,0 @@
----
-title: 协议
-description: FastGPT 协议
----
-
-import { Redirect } from '@/components/docs/Redirect';
-
-
\ No newline at end of file
diff --git a/document/content/docs/protocol/meta.en.json b/document/content/docs/protocol/meta.en.json
deleted file mode 100644
index 5f5856811c..0000000000
--- a/document/content/docs/protocol/meta.en.json
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "title": "Legal",
- "root": true,
- "description": "Legal",
- "pages": [
- "open-source",
- "terms",
- "privacy"
- ],
- "order": 3
-}
diff --git a/document/content/docs/protocol/meta.json b/document/content/docs/protocol/meta.json
deleted file mode 100644
index e3f150b12f..0000000000
--- a/document/content/docs/protocol/meta.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "title": "协议",
- "root": true,
- "description": "协议",
- "pages": ["open-source", "terms", "privacy"],
- "order": 3
-}
diff --git a/document/content/docs/introduction/development/configuration.en.mdx b/document/content/docs/self-host/config/json.en.mdx
similarity index 94%
rename from document/content/docs/introduction/development/configuration.en.mdx
rename to document/content/docs/self-host/config/json.en.mdx
index 057e0c7132..8d28df10a6 100644
--- a/document/content/docs/introduction/development/configuration.en.mdx
+++ b/document/content/docs/self-host/config/json.en.mdx
@@ -3,7 +3,7 @@ title: Configuration File Guide
description: FastGPT configuration parameters explained
---
-Since environment variables aren't ideal for complex configurations, newer versions of FastGPT use ConfigMap-style mounted configuration files. You can find the default config at `projects/app/data/config.json`. See the [Docker Compose deployment guide](/docs/introduction/development/docker/) for how to mount the config file.
+Since environment variables aren't ideal for complex configurations, newer versions of FastGPT use ConfigMap-style mounted configuration files. You can find the default config at `projects/app/data/config.json`. See the [Docker Compose deployment guide](/docs/self-host/deploy/docker/) for how to mount the config file.
**In development**, copy the example config `config.json` to `config.local.json` for it to take effect.
@@ -70,4 +70,4 @@ When importing data to your knowledge base or configuring file uploads in your a
### Using Marker for PDF Parsing
-[View the Marker integration tutorial](/docs/introduction/development/custom-models/marker)
+[View the Marker integration tutorial](/docs/self-host/custom-models/marker)
diff --git a/document/content/docs/introduction/development/configuration.mdx b/document/content/docs/self-host/config/json.mdx
similarity index 89%
rename from document/content/docs/introduction/development/configuration.mdx
rename to document/content/docs/self-host/config/json.mdx
index 9228d49097..7da059acc1 100644
--- a/document/content/docs/introduction/development/configuration.mdx
+++ b/document/content/docs/self-host/config/json.mdx
@@ -1,9 +1,11 @@
---
-title: 配置文件介绍
-description: FastGPT 配置参数介绍
+title: config.json 文件配置
+description: FastGPT config.json 文件配置
---
-由于环境变量不利于配置复杂的内容,新版 FastGPT 采用了 ConfigMap 的形式挂载配置文件,你可以在 `projects/app/data/config.json` 看到默认的配置文件。可以参考 [docker-compose 快速部署](/docs/introduction/development/docker/) 来挂载配置文件。
+**该配置仅适用于社区版,商业版用户该配置已集成至后台。**
+
+由于环境变量不利于配置复杂的内容,新版 FastGPT 采用了 ConfigMap 的形式挂载配置文件,你可以在 `projects/app/data/config.json` 看到默认的配置文件。可以参考 [docker-compose 快速部署](/docs/self-host/deploy/docker/) 来挂载配置文件。
**开发环境下**,你需要将示例配置文件 `config.json` 复制成 `config.local.json` 文件才会生效。
@@ -70,4 +72,4 @@ description: FastGPT 配置参数介绍
### 使用 Marker 解析 PDF 文件
-[点击查看 Marker 接入教程](/docs/introduction/development/custom-models/marker)
+[点击查看 Marker 接入教程](/docs/self-host/custom-models/marker)
diff --git a/document/content/docs/introduction/development/modelConfig/ai-proxy.en.mdx b/document/content/docs/self-host/config/model/ai-proxy.en.mdx
similarity index 96%
rename from document/content/docs/introduction/development/modelConfig/ai-proxy.en.mdx
rename to document/content/docs/self-host/config/model/ai-proxy.en.mdx
index 30dda8a994..39e489cf08 100644
--- a/document/content/docs/introduction/development/modelConfig/ai-proxy.en.mdx
+++ b/document/content/docs/self-host/config/model/ai-proxy.en.mdx
@@ -47,7 +47,7 @@ Using Alibaba Cloud models as an example:
1. Channel Name: The display name for the channel, used for identification only;
2. Provider: The provider corresponding to the model. Different providers have different default addresses and API key formats;
-3. Models: The specific models available for this channel. The system includes mainstream models by default. If the desired option is not in the dropdown, click "Add Model" to [add a custom model](/docs/introduction/development/modelconfig/intro/#add-custom-models);
+3. Models: The specific models available for this channel. The system includes mainstream models by default. If the desired option is not in the dropdown, click "Add Model" to [add a custom model](/docs/self-host/config/model/intro/#add-custom-models);
4. Model Mapping: Map the model requested by FastGPT to the actual model provided. For example:
```json
@@ -81,7 +81,7 @@ After the test completes, the results and request duration for each model will b
### 3. Enable Models
-Finally, in `Model Configuration`, you can enable the corresponding models to use them on the platform. For more model configuration details, see [Model Configuration](/docs/introduction/development/modelconfig/intro).
+Finally, in `Model Configuration`, you can enable the corresponding models to use them on the platform. For more model configuration details, see [Model Configuration](/docs/self-host/config/model/intro).

diff --git a/document/content/docs/introduction/development/modelConfig/ai-proxy.mdx b/document/content/docs/self-host/config/model/ai-proxy.mdx
similarity index 96%
rename from document/content/docs/introduction/development/modelConfig/ai-proxy.mdx
rename to document/content/docs/self-host/config/model/ai-proxy.mdx
index a44cf9194b..6033a4ae3a 100644
--- a/document/content/docs/introduction/development/modelConfig/ai-proxy.mdx
+++ b/document/content/docs/self-host/config/model/ai-proxy.mdx
@@ -47,7 +47,7 @@ AI proxy 相关功能,可以在`账号-模型提供商`页面找到。
1. 渠道名:展示在外部的渠道名称,仅作标识;
2. 厂商:模型对应的厂商,不同厂商对应不同的默认地址和 API 密钥格式;
-3. 模型:当前渠道具体可以使用的模型,系统内置了主流的一些模型,如果下拉框中没有想要的选项,可以点击“新增模型”,[增加自定义模型](/docs/introduction/development/modelconfig/intro/#新增自定义模型);
+3. 模型:当前渠道具体可以使用的模型,系统内置了主流的一些模型,如果下拉框中没有想要的选项,可以点击“新增模型”,[增加自定义模型](/docs/self-host/config/model/intro/#新增自定义模型);
4. 模型映射:将 FastGPT 请求的模型,映射到具体提供的模型上。例如:
```json
@@ -81,7 +81,7 @@ FatGPT 中的模型为 `gpt-4o-test`,向 AI Proxy 发起请求时也是 `gpt-4
### 3. 启用模型
-最后在`模型配置`中,可以选择启用对应的模型,这样就能在平台中使用了,更多模型配置可以参考[模型配置](/docs/introduction/development/modelconfig/intro)
+最后在`模型配置`中,可以选择启用对应的模型,这样就能在平台中使用了,更多模型配置可以参考[模型配置](/docs/self-host/config/model/intro)

diff --git a/document/content/docs/introduction/development/modelConfig/intro.en.mdx b/document/content/docs/self-host/config/model/intro.en.mdx
similarity index 95%
rename from document/content/docs/introduction/development/modelConfig/intro.en.mdx
rename to document/content/docs/self-host/config/model/intro.en.mdx
index 2c7174a60f..327d4f7418 100644
--- a/document/content/docs/introduction/development/modelConfig/intro.en.mdx
+++ b/document/content/docs/self-host/config/model/intro.en.mdx
@@ -15,11 +15,11 @@ Starting from version 4.8.20, you can configure models directly in the FastGPT U
#### AI Proxy
-Starting from version 4.8.23, FastGPT supports configuring model providers directly in the UI using [AI Proxy](/docs/introduction/development/modelconfig/ai-proxy) for model aggregation, enabling connections to more providers.
+Starting from version 4.8.23, FastGPT supports configuring model providers directly in the UI using [AI Proxy](/docs/self-host/config/model/ai-proxy) for model aggregation, enabling connections to more providers.
#### One API
-You can also use the [OneAPI Integration Guide](/docs/introduction/development/modelconfig/one-api). You'll need to apply for API access from each provider and add them to OneAPI before using them in FastGPT. Example flow:
+You can also use the [OneAPI Integration Guide](/docs/self-host/config/model/one-api). You'll need to apply for API access from each provider and add them to OneAPI before using them in FastGPT. Example flow:

@@ -223,7 +223,7 @@ A free `bge-reranker-v2-m3` model is available.
#### Self-Hosted Rerank Models
-[View the ReRank model deployment tutorial](/docs/introduction/development/custom-models/bge-rerank/)
+[View the ReRank model deployment tutorial](/docs/self-host/custom-models/bge-rerank/)
### Integrating Speech Recognition Models
@@ -253,7 +253,7 @@ The custom request key is sent as a request header: `Authorization: Bearer xxx`.
All interfaces follow OpenAI's model format. See the [OpenAI API documentation](https://platform.openai.com/docs/api-reference/introduction) for details.
-Since OpenAI doesn't provide a ReRank model, the Cohere format is used instead. [View request examples](/docs/introduction/development/faq/#how-to-check-model-issues)
+Since OpenAI doesn't provide a ReRank model, the Cohere format is used instead. [View request examples](/docs/self-host/faq/#how-to-check-model-issues)
### Model Pricing Configuration
@@ -276,13 +276,13 @@ To add a model provider, modify the following:
### Adding Models
-In the `FastGPT-plugin` project, find the corresponding provider's config file under the `modules/model/provider` directory and add the model configuration. Make sure the `model` field is unique across all models. For field descriptions, see [Model Configuration Field Descriptions](/docs/introduction/development/modelconfig/intro/#configuration-via-config-file).
+In the `FastGPT-plugin` project, find the corresponding provider's config file under the `modules/model/provider` directory and add the model configuration. Make sure the `model` field is unique across all models. For field descriptions, see [Model Configuration Field Descriptions](/docs/self-host/config/model/intro/#configuration-via-config-file).
## Legacy Model Configuration
After configuring OneAPI, you need to manually add model configuration to the `config.json` file and restart.
-Since environment variables aren't ideal for complex configuration, FastGPT uses ConfigMap to mount config files. You can find the default config file at `projects/app/data/config.json`. See [docker-compose Quick Deployment](/docs/introduction/development/docker/) for how to mount config files.
+Since environment variables aren't ideal for complex configuration, FastGPT uses ConfigMap to mount config files. You can find the default config file at `projects/app/data/config.json`. See [docker-compose Quick Deployment](/docs/self-host/deploy/docker/) for how to mount config files.
**In development**, copy the example config file `config.json` to `config.local.json` for it to take effect.
**In Docker deployment**, modifying `config.json` requires restarting the container.
diff --git a/document/content/docs/introduction/development/modelConfig/intro.mdx b/document/content/docs/self-host/config/model/intro.mdx
similarity index 95%
rename from document/content/docs/introduction/development/modelConfig/intro.mdx
rename to document/content/docs/self-host/config/model/intro.mdx
index f3a883b9e8..dc2bd64ed0 100644
--- a/document/content/docs/introduction/development/modelConfig/intro.mdx
+++ b/document/content/docs/self-host/config/model/intro.mdx
@@ -15,11 +15,11 @@ import { Alert } from '@/components/docs/Alert';
#### AI Proxy
-从 4.8.23 版本开始, FastGPT 支持在页面上配置模型提供商,即使用 [AI Proxy 接入教程](/docs/introduction/development/modelconfig/ai-proxy) 来进行模型聚合,从而可以对接更多模型提供商。
+从 4.8.23 版本开始, FastGPT 支持在页面上配置模型提供商,即使用 [AI Proxy 接入教程](/docs/self-host/config/model/ai-proxy) 来进行模型聚合,从而可以对接更多模型提供商。
#### One API
-也可以使用 [OneAPI 接入教程](/docs/introduction/development/modelconfig/one-api)。你需要先在各服务商申请好 API 接入 OneAPI 后,才能在 FastGPT 中使用这些模型。示例流程如下:
+也可以使用 [OneAPI 接入教程](/docs/self-host/config/model/one-api)。你需要先在各服务商申请好 API 接入 OneAPI 后,才能在 FastGPT 中使用这些模型。示例流程如下:

@@ -223,7 +223,7 @@ FastGPT 页面上提供了每类模型的简单测试,可以初步检查模型
#### 私有部署模型
-[点击查看部署 ReRank 模型教程](/docs/introduction/development/custom-models/bge-rerank/)
+[点击查看部署 ReRank 模型教程](/docs/self-host/custom-models/bge-rerank/)
### 接入语音识别模型
@@ -253,7 +253,7 @@ OneAPI 的语言识别接口,无法正确的识别其他模型(会始终识
所有接口均遵循 OpenAI 提供的模型格式,可参考 [OpenAI API 文档](https://platform.openai.com/docs/api-reference/introduction) 进行配置。
-由于 OpenAI 没有提供 ReRank 模型,遵循的是 Cohere 的格式。[点击查看接口请求示例](/docs/introduction/development/faq/#如何检查模型问题)
+由于 OpenAI 没有提供 ReRank 模型,遵循的是 Cohere 的格式。[点击查看接口请求示例](/docs/self-host/faq/#如何检查模型问题)
### 模型价格配置
@@ -276,13 +276,13 @@ OneAPI 的语言识别接口,无法正确的识别其他模型(会始终识
### 添加模型
-你可以在`FastGPT-plugin`项目中`modules/model/provider`目录下,找对应模型提供商的配置文件,并追加模型配置。请自行全文检查,`model`字段,必须在所有模型中唯一。具体配置字段说明,参考[模型配置字段说明](/docs/introduction/development/modelconfig/intro/#通过配置文件配置)
+你可以在`FastGPT-plugin`项目中`modules/model/provider`目录下,找对应模型提供商的配置文件,并追加模型配置。请自行全文检查,`model`字段,必须在所有模型中唯一。具体配置字段说明,参考[模型配置字段说明](/docs/self-host/config/model/intro/#通过配置文件配置)
## 旧版模型配置说明
配置好 OneAPI 后,需要在`config.json`文件中,手动的增加模型配置,并重启。
-由于环境变量不利于配置复杂的内容,FastGPT 采用了 ConfigMap 的形式挂载配置文件,你可以在 `projects/app/data/config.json` 看到默认的配置文件。可以参考 [docker-compose 快速部署](/docs/introduction/development/docker/) 来挂载配置文件。
+由于环境变量不利于配置复杂的内容,FastGPT 采用了 ConfigMap 的形式挂载配置文件,你可以在 `projects/app/data/config.json` 看到默认的配置文件。可以参考 [docker-compose 快速部署](/docs/self-host/deploy/docker/) 来挂载配置文件。
**开发环境下**,你需要将示例配置文件 `config.json` 复制成 `config.local.json` 文件才会生效。
**Docker部署**,修改`config.json` 文件,需要重启容器。
diff --git a/document/content/docs/self-host/config/model/meta.en.json b/document/content/docs/self-host/config/model/meta.en.json
new file mode 100644
index 0000000000..7415b7c3b8
--- /dev/null
+++ b/document/content/docs/self-host/config/model/meta.en.json
@@ -0,0 +1,4 @@
+{
+ "title": "Model Configuration",
+ "pages": ["intro", "ai-proxy", "one-api", "siliconCloud", "ppio"]
+}
diff --git a/document/content/docs/self-host/config/model/meta.json b/document/content/docs/self-host/config/model/meta.json
new file mode 100644
index 0000000000..984ba19685
--- /dev/null
+++ b/document/content/docs/self-host/config/model/meta.json
@@ -0,0 +1,4 @@
+{
+ "title": "模型配置方案",
+ "pages": ["intro", "ai-proxy", "one-api", "siliconCloud", "ppio"]
+}
diff --git a/document/content/docs/introduction/development/modelConfig/one-api.en.mdx b/document/content/docs/self-host/config/model/one-api.en.mdx
similarity index 100%
rename from document/content/docs/introduction/development/modelConfig/one-api.en.mdx
rename to document/content/docs/self-host/config/model/one-api.en.mdx
diff --git a/document/content/docs/introduction/development/modelConfig/one-api.mdx b/document/content/docs/self-host/config/model/one-api.mdx
similarity index 100%
rename from document/content/docs/introduction/development/modelConfig/one-api.mdx
rename to document/content/docs/self-host/config/model/one-api.mdx
diff --git a/document/content/docs/introduction/development/modelConfig/ppio.en.mdx b/document/content/docs/self-host/config/model/ppio.en.mdx
similarity index 99%
rename from document/content/docs/introduction/development/modelConfig/ppio.en.mdx
rename to document/content/docs/self-host/config/model/ppio.en.mdx
index 228b59127a..04a4e69ccf 100644
--- a/document/content/docs/introduction/development/modelConfig/ppio.en.mdx
+++ b/document/content/docs/self-host/config/model/ppio.en.mdx
@@ -65,7 +65,7 @@ For other model IDs, max context, and pricing, see: [Model List](https://ppinfra
## 2. Deploy the Latest FastGPT to Your Local Environment
- Please use version v4.8.22 or above. Deployment reference: [Deploy FastGPT](/docs/introduction/development/intro/)
+ Please use version v4.8.22 or above. Deployment reference: [Deploy FastGPT](/docs/self-host/dev/)
## 3. Model Configuration (Choose One of the Two Methods Below)
diff --git a/document/content/docs/introduction/development/modelConfig/ppio.mdx b/document/content/docs/self-host/config/model/ppio.mdx
similarity index 99%
rename from document/content/docs/introduction/development/modelConfig/ppio.mdx
rename to document/content/docs/self-host/config/model/ppio.mdx
index 9a085314b6..ec1783fcdc 100644
--- a/document/content/docs/introduction/development/modelConfig/ppio.mdx
+++ b/document/content/docs/self-host/config/model/ppio.mdx
@@ -66,7 +66,7 @@ deepseek 系列:
## 2. 部署最新版 FastGPT 到本地环境
- 请使用 v4.8.22 以上版本,部署参考: [部署 FastGPT](/docs/introduction/development/intro/)
+ 请使用 v4.8.22 以上版本,部署参考: [部署 FastGPT](/docs/self-host/dev/)
## 3. 模型配置(下面两种方式二选其一)
diff --git a/document/content/docs/introduction/development/modelConfig/siliconCloud.en.mdx b/document/content/docs/self-host/config/model/siliconCloud.en.mdx
similarity index 97%
rename from document/content/docs/introduction/development/modelConfig/siliconCloud.en.mdx
rename to document/content/docs/self-host/config/model/siliconCloud.en.mdx
index 37f4709579..a6f94f8e57 100644
--- a/document/content/docs/introduction/development/modelConfig/siliconCloud.en.mdx
+++ b/document/content/docs/self-host/config/model/siliconCloud.en.mdx
@@ -5,7 +5,7 @@ description: Try Open Source Models with SiliconCloud
[SiliconCloud](https://cloud.siliconflow.cn/i/TR9Ym0c4) is a platform focused on providing open source model inference, with its own acceleration engine. It helps users test and use open source models quickly at low cost. In our experience, their models offer solid speed and stability, with a wide variety covering language, embedding, reranking, TTS, STT, image generation, and video generation models — meeting all model requirements in FastGPT.
-If you want to use SiliconCloud for only some models, see [OneAPI Integration with SiliconCloud](/docs/introduction/development/modelconfig/one-api/#siliconcloud--open-source-model-collection).
+If you want to use SiliconCloud for only some models, see [OneAPI Integration with SiliconCloud](/docs/self-host/config/model/one-api/#siliconcloud--open-source-model-collection).
This guide covers deploying FastGPT entirely with SiliconCloud models.
diff --git a/document/content/docs/introduction/development/modelConfig/siliconCloud.mdx b/document/content/docs/self-host/config/model/siliconCloud.mdx
similarity index 97%
rename from document/content/docs/introduction/development/modelConfig/siliconCloud.mdx
rename to document/content/docs/self-host/config/model/siliconCloud.mdx
index fe23cb6d10..8867833885 100644
--- a/document/content/docs/introduction/development/modelConfig/siliconCloud.mdx
+++ b/document/content/docs/self-host/config/model/siliconCloud.mdx
@@ -5,7 +5,7 @@ description: 通过 SiliconCloud 体验开源模型
[SiliconCloud(硅基流动)](https://cloud.siliconflow.cn/i/TR9Ym0c4) 是一个以提供开源模型调用为主的平台,并拥有自己的加速引擎。帮助用户低成本、快速的进行开源模型的测试和使用。实际体验下来,他们家模型的速度和稳定性都非常不错,并且种类丰富,覆盖语言、向量、重排、TTS、STT、绘图、视频生成模型,可以满足 FastGPT 中所有模型需求。
-如果你想部分模型使用 SiliconCloud 的模型,可额外参考[OneAPI接入硅基流动](/docs/introduction/development/modelconfig/one-api/#硅基流动--开源模型大合集)。
+如果你想部分模型使用 SiliconCloud 的模型,可额外参考[OneAPI接入硅基流动](/docs/self-host/config/model/one-api/#硅基流动--开源模型大合集)。
本文会介绍完全使用 SiliconCloud 模型来部署 FastGPT 的方案。
diff --git a/document/content/docs/introduction/development/object-storage.en.mdx b/document/content/docs/self-host/config/object-storage.en.mdx
similarity index 98%
rename from document/content/docs/introduction/development/object-storage.en.mdx
rename to document/content/docs/self-host/config/object-storage.en.mdx
index 1290791205..7b2d341f60 100644
--- a/document/content/docs/introduction/development/object-storage.en.mdx
+++ b/document/content/docs/self-host/config/object-storage.en.mdx
@@ -1,5 +1,5 @@
---
-title: Object Storage Configuration & Common Issues
+title: Object Storage Configuration
description: How to configure and connect to various object storage providers via environment variables, and common configuration issues
---
diff --git a/document/content/docs/introduction/development/object-storage.mdx b/document/content/docs/self-host/config/object-storage.mdx
similarity index 98%
rename from document/content/docs/introduction/development/object-storage.mdx
rename to document/content/docs/self-host/config/object-storage.mdx
index 716c881183..ec17f2942f 100644
--- a/document/content/docs/introduction/development/object-storage.mdx
+++ b/document/content/docs/self-host/config/object-storage.mdx
@@ -1,6 +1,6 @@
---
-title: 对象存储配置及常见问题
-description: 如何通过环境变量配置并连接个各厂商的对象存储,以及常见的配置问题
+title: 对象存储配置
+description: 如何通过环境变量配置并连接个各厂商的对象存储
---
import { Alert } from '@/components/docs/Alert';
diff --git a/document/content/docs/introduction/development/signoz.en.mdx b/document/content/docs/self-host/config/signoz.en.mdx
similarity index 100%
rename from document/content/docs/introduction/development/signoz.en.mdx
rename to document/content/docs/self-host/config/signoz.en.mdx
diff --git a/document/content/docs/introduction/development/signoz.mdx b/document/content/docs/self-host/config/signoz.mdx
similarity index 97%
rename from document/content/docs/introduction/development/signoz.mdx
rename to document/content/docs/self-host/config/signoz.mdx
index 7ec635d5a1..78056c0ec4 100644
--- a/document/content/docs/introduction/development/signoz.mdx
+++ b/document/content/docs/self-host/config/signoz.mdx
@@ -1,6 +1,6 @@
---
-title: 接入 Signoz 服务监控
-description: FastGPT 接入 Signoz 服务监控
+title: Signoz 监控服务
+description: FastGPT 接入 Signoz 监控服务
---
## 介绍
diff --git a/document/content/docs/introduction/development/custom-models/bge-rerank.en.mdx b/document/content/docs/self-host/custom-models/bge-rerank.en.mdx
similarity index 100%
rename from document/content/docs/introduction/development/custom-models/bge-rerank.en.mdx
rename to document/content/docs/self-host/custom-models/bge-rerank.en.mdx
diff --git a/document/content/docs/introduction/development/custom-models/bge-rerank.mdx b/document/content/docs/self-host/custom-models/bge-rerank.mdx
similarity index 100%
rename from document/content/docs/introduction/development/custom-models/bge-rerank.mdx
rename to document/content/docs/self-host/custom-models/bge-rerank.mdx
diff --git a/document/content/docs/introduction/development/custom-models/chatglm2-m3e.en.mdx b/document/content/docs/self-host/custom-models/chatglm2-m3e.en.mdx
similarity index 97%
rename from document/content/docs/introduction/development/custom-models/chatglm2-m3e.en.mdx
rename to document/content/docs/self-host/custom-models/chatglm2-m3e.en.mdx
index 3291566f71..6ebb908dcd 100644
--- a/document/content/docs/introduction/development/custom-models/chatglm2-m3e.en.mdx
+++ b/document/content/docs/self-host/custom-models/chatglm2-m3e.en.mdx
@@ -21,7 +21,7 @@ You can also set it via the environment variable: sk-key. Refer to Docker docume
## Connect to OneAPI
-Documentation: [One API](/docs/introduction/development/modelconfig/one-api/)
+Documentation: [One API](/docs/self-host/config/model/one-api/)
Add a channel for chatglm2 and m3e-large respectively, with the following parameters:
diff --git a/document/content/docs/introduction/development/custom-models/chatglm2-m3e.mdx b/document/content/docs/self-host/custom-models/chatglm2-m3e.mdx
similarity index 97%
rename from document/content/docs/introduction/development/custom-models/chatglm2-m3e.mdx
rename to document/content/docs/self-host/custom-models/chatglm2-m3e.mdx
index 1aab448c59..b1487cc596 100644
--- a/document/content/docs/introduction/development/custom-models/chatglm2-m3e.mdx
+++ b/document/content/docs/self-host/custom-models/chatglm2-m3e.mdx
@@ -21,7 +21,7 @@ FastGPT 默认使用了 OpenAI 的 LLM 模型和向量模型,如果想要私
## 接入 OneAPI
-文档链接:[One API](/docs/introduction/development/modelconfig/one-api/)
+文档链接:[One API](/docs/self-host/config/model/one-api/)
为 chatglm2 和 m3e-large 各添加一个渠道,参数如下:
diff --git a/document/content/docs/introduction/development/custom-models/chatglm2.en.mdx b/document/content/docs/self-host/custom-models/chatglm2.en.mdx
similarity index 100%
rename from document/content/docs/introduction/development/custom-models/chatglm2.en.mdx
rename to document/content/docs/self-host/custom-models/chatglm2.en.mdx
diff --git a/document/content/docs/introduction/development/custom-models/chatglm2.mdx b/document/content/docs/self-host/custom-models/chatglm2.mdx
similarity index 100%
rename from document/content/docs/introduction/development/custom-models/chatglm2.mdx
rename to document/content/docs/self-host/custom-models/chatglm2.mdx
diff --git a/document/content/docs/introduction/development/custom-models/m3e.en.mdx b/document/content/docs/self-host/custom-models/m3e.en.mdx
similarity index 100%
rename from document/content/docs/introduction/development/custom-models/m3e.en.mdx
rename to document/content/docs/self-host/custom-models/m3e.en.mdx
diff --git a/document/content/docs/introduction/development/custom-models/m3e.mdx b/document/content/docs/self-host/custom-models/m3e.mdx
similarity index 100%
rename from document/content/docs/introduction/development/custom-models/m3e.mdx
rename to document/content/docs/self-host/custom-models/m3e.mdx
diff --git a/document/content/docs/introduction/development/custom-models/marker.en.mdx b/document/content/docs/self-host/custom-models/marker.en.mdx
similarity index 100%
rename from document/content/docs/introduction/development/custom-models/marker.en.mdx
rename to document/content/docs/self-host/custom-models/marker.en.mdx
diff --git a/document/content/docs/introduction/development/custom-models/marker.mdx b/document/content/docs/self-host/custom-models/marker.mdx
similarity index 100%
rename from document/content/docs/introduction/development/custom-models/marker.mdx
rename to document/content/docs/self-host/custom-models/marker.mdx
diff --git a/document/content/docs/self-host/custom-models/meta.en.json b/document/content/docs/self-host/custom-models/meta.en.json
new file mode 100644
index 0000000000..6b4bc530c0
--- /dev/null
+++ b/document/content/docs/self-host/custom-models/meta.en.json
@@ -0,0 +1,4 @@
+{
+ "title": "Local Models",
+ "pages": ["marker","mineru","xinference","bge-rerank","chatglm2","m3e","chatglm2-m3e","ollama"]
+}
diff --git a/document/content/docs/introduction/development/custom-models/meta.json b/document/content/docs/self-host/custom-models/meta.json
similarity index 100%
rename from document/content/docs/introduction/development/custom-models/meta.json
rename to document/content/docs/self-host/custom-models/meta.json
diff --git a/document/content/docs/introduction/development/custom-models/mineru.en.mdx b/document/content/docs/self-host/custom-models/mineru.en.mdx
similarity index 100%
rename from document/content/docs/introduction/development/custom-models/mineru.en.mdx
rename to document/content/docs/self-host/custom-models/mineru.en.mdx
diff --git a/document/content/docs/introduction/development/custom-models/mineru.mdx b/document/content/docs/self-host/custom-models/mineru.mdx
similarity index 100%
rename from document/content/docs/introduction/development/custom-models/mineru.mdx
rename to document/content/docs/self-host/custom-models/mineru.mdx
diff --git a/document/content/docs/introduction/development/custom-models/ollama.en.mdx b/document/content/docs/self-host/custom-models/ollama.en.mdx
similarity index 97%
rename from document/content/docs/introduction/development/custom-models/ollama.en.mdx
rename to document/content/docs/self-host/custom-models/ollama.en.mdx
index b192712cd6..44fe0da804 100644
--- a/document/content/docs/introduction/development/custom-models/ollama.en.mdx
+++ b/document/content/docs/self-host/custom-models/ollama.en.mdx
@@ -107,7 +107,7 @@ ollama ls
### 2. AI Proxy Integration
-If you're using FastGPT's default configuration from [here](/docs/introduction/development/docker.md), AI Proxy is enabled by default.
+If you're using FastGPT's default configuration from [here](/docs/self-host/deploy/docker), AI Proxy is enabled by default.

@@ -115,7 +115,7 @@ Make sure your FastGPT can access the Ollama container. If not, refer to the [in

-In FastGPT, go to Account -> Model Providers -> Model Configuration -> Add Model. Make sure the model ID matches the model name in OneAPI. See details [here](/docs/introduction/development/modelConfig/intro.md).
+In FastGPT, go to Account -> Model Providers -> Model Configuration -> Add Model. Make sure the model ID matches the model name in OneAPI. See details [here](/docs/self-host/config/model/intro).

diff --git a/document/content/docs/introduction/development/custom-models/ollama.mdx b/document/content/docs/self-host/custom-models/ollama.mdx
similarity index 98%
rename from document/content/docs/introduction/development/custom-models/ollama.mdx
rename to document/content/docs/self-host/custom-models/ollama.mdx
index 66c9a9032c..a4cdf0202c 100644
--- a/document/content/docs/introduction/development/custom-models/ollama.mdx
+++ b/document/content/docs/self-host/custom-models/ollama.mdx
@@ -107,7 +107,7 @@ ollama ls
### 2. AI Proxy 接入
-如果你采用的是 FastGPT 中的默认配置文件部署[这里](/docs/introduction/development/docker.md),即默认采用 AI Proxy 进行启动。
+如果你采用的是 FastGPT 中的默认配置文件部署[这里](/docs/self-host/deploy/docker.md),即默认采用 AI Proxy 进行启动。

@@ -115,7 +115,7 @@ ollama ls

-在 FastGPT 中点击账号->模型提供商->模型配置->新增模型,添加自己的模型即可,添加模型时需要保证模型ID和 OneAPI 中的模型名称一致。详细参考[这里](/docs/introduction/development/modelConfig/intro.md)
+在 FastGPT 中点击账号->模型提供商->模型配置->新增模型,添加自己的模型即可,添加模型时需要保证模型ID和 OneAPI 中的模型名称一致。详细参考[这里](/docs/self-host/config/model/intro.md)

diff --git a/document/content/docs/introduction/development/custom-models/xinference.en.mdx b/document/content/docs/self-host/custom-models/xinference.en.mdx
similarity index 98%
rename from document/content/docs/introduction/development/custom-models/xinference.en.mdx
rename to document/content/docs/self-host/custom-models/xinference.en.mdx
index 6263741680..cbee3a808d 100644
--- a/document/content/docs/introduction/development/custom-models/xinference.en.mdx
+++ b/document/content/docs/self-host/custom-models/xinference.en.mdx
@@ -98,7 +98,7 @@ Beyond WebUI and CLI, Xinference also provides Python SDK and RESTful API. For m
## Integrate Local Models with One API
-For One API deployment and setup, refer to [here](/docs/introduction/development/modelconfig/one-api/).
+For One API deployment and setup, refer to [here](/docs/self-host/config/model/one-api/).
Add a channel for qwen1.5-chat. Set the Base URL to the Xinference service endpoint and register qwen-chat (the model's UID).
diff --git a/document/content/docs/introduction/development/custom-models/xinference.mdx b/document/content/docs/self-host/custom-models/xinference.mdx
similarity index 98%
rename from document/content/docs/introduction/development/custom-models/xinference.mdx
rename to document/content/docs/self-host/custom-models/xinference.mdx
index 04269343db..9295a315f3 100644
--- a/document/content/docs/introduction/development/custom-models/xinference.mdx
+++ b/document/content/docs/self-host/custom-models/xinference.mdx
@@ -98,7 +98,7 @@ xinference launch -n qwen-chat -s 14 -f pytorch
## 将本地模型接入 One API
-One API 的部署和接入请参考[这里](/docs/introduction/development/modelconfig/one-api/)。
+One API 的部署和接入请参考[这里](/docs/self-host/config/model/one-api/)。
为 qwen1.5-chat 添加一个渠道,这里的 Base URL 需要填 Xinference 服务的端点,并且注册 qwen-chat (模型的 UID) 。
diff --git a/document/content/docs/introduction/development/docker.en.mdx b/document/content/docs/self-host/deploy/docker.en.mdx
similarity index 95%
rename from document/content/docs/introduction/development/docker.en.mdx
rename to document/content/docs/self-host/deploy/docker.en.mdx
index 380e21f03b..bd1f7b8692 100644
--- a/document/content/docs/introduction/development/docker.en.mdx
+++ b/document/content/docs/self-host/deploy/docker.en.mdx
@@ -1,5 +1,5 @@
---
-title: Deploy with Docker
+title: Deploy with Docker-compose
description: Quickly deploy FastGPT using Docker Compose
---
@@ -74,11 +74,7 @@ SeekDB uses MySQL protocol, fully compatible with OceanBase:
## Preparation
-### 1. Ensure Network Access
-
-If using `OpenAI` or other international model APIs, make sure you can access them, or you'll get `Connection error`. See: [Proxy Solutions](/docs/introduction/development/proxy/nginx)
-
-### 2. Prepare Docker Environment
+### Prepare Docker Environment
@@ -189,7 +185,7 @@ Each container restart automatically initializes the root user with password `12
### 6. Configure Models
- After first login, the system prompts that `Language Model` and `Index Model` are not configured and automatically redirects to the model configuration page. At least these two model types are required.
-- If the redirect doesn't happen, go to `Account - Model Providers` to configure models. [View tutorial](/docs/introduction/development/modelConfig/ai-proxy)
+- If the redirect doesn't happen, go to `Account - Model Providers` to configure models. [View tutorial](/docs/self-host/config/model/ai-proxy)
- Known issue: after first entering the system, the browser tab may become unresponsive. Close the tab and reopen it.
### 7. Install System Plugins as Needed
@@ -219,7 +215,7 @@ Check the `STORAGE_EXTERNAL_ENDPOINT` variable — it must be accessible by both
> Don't use `127.0.0.1` or `localhost` or other loopback addresses. Use the host machine's local IP when deploying with Docker, but set it to a static IP; or use a fixed domain name. This prevents 403 errors caused by URL mismatches when signing object storage URLs.
>
-> See [Object Storage Configuration & Common Issues](/docs/introduction/development/object-storage)
+> See [Object Storage Configuration & Common Issues](/docs/self-host/config/object-storage)
### Browser Unresponsive After Login
@@ -306,7 +302,7 @@ docker-compose up -d
### How to Update Versions?
-1. Check the [update documentation](/docs/upgrading) to confirm the target version — avoid skipping versions.
+1. Check the [update documentation](/docs/self-host/upgrading/upgrade-intruction) to confirm the target version — avoid skipping versions.
2. Change the image tag to the target version
3. Run these commands to pull and restart:
@@ -319,7 +315,7 @@ docker-compose up -d
### How to Customize Configuration Files?
-Modify `config.json`, then run `docker-compose down` followed by `docker-compose up -d` to restart. For details, see [Configuration Guide](/docs/introduction/development/configuration).
+Modify `config.json`, then run `docker-compose down` followed by `docker-compose up -d` to restart. For details, see [Configuration Guide](/docs/self-host/config/json).
### How to Check if Custom Config File is Mounted
diff --git a/document/content/docs/introduction/development/docker.mdx b/document/content/docs/self-host/deploy/docker.mdx
similarity index 96%
rename from document/content/docs/introduction/development/docker.mdx
rename to document/content/docs/self-host/deploy/docker.mdx
index cd2a47bee2..f6d79cd779 100644
--- a/document/content/docs/introduction/development/docker.mdx
+++ b/document/content/docs/self-host/deploy/docker.mdx
@@ -1,5 +1,5 @@
---
-title: 通过 Docker 部署
+title: Docker-compose 部署
description: 使用 Docker Compose 快速部署 FastGPT
---
@@ -74,11 +74,7 @@ SeekDB 使用 MySQL 协议,与 OceanBase 完全兼容:
## 前置工作
-### 1. 确保网络环境
-
-如果使用`OpenAI`等国外模型接口,请确保可以正常访问,否则会报错:`Connection error` 等。 方案可以参考:[代理方案](/docs/introduction/development/proxy/nginx)
-
-### 2. 准备 Docker 环境
+### 准备 Docker-compose 环境
@@ -189,7 +185,7 @@ docker-compose up -d
### 6. 配置模型
- 首次登录FastGPT后,系统会提示未配置`语言模型`和`索引模型`,并自动跳转模型配置页面。系统必须至少有这两类模型才能正常使用。
-- 如果系统未正常跳转,可以在`账号-模型提供商`页面,进行模型配置。[点击查看相关教程](/docs/introduction/development/modelConfig/ai-proxy)
+- 如果系统未正常跳转,可以在`账号-模型提供商`页面,进行模型配置。[点击查看相关教程](/docs/self-host/config/model/ai-proxy)
- 目前已知可能问题:首次进入系统后,整个浏览器 tab 无法响应。此时需要删除该tab,重新打开一次即可。
### 7. 按需安装系统插件
@@ -220,7 +216,7 @@ docker-compose up -d
> 填入的地址不可为`127.0.0.1`或者`localhost`等本地回环地址,可填 Docker 部署时的宿主机本地IP,但是需要把宿主机固定为静态 IP;或者统一为一个固定域名;目的是为了避免对象存储签名 URL 时,签发与上传的 URL 不一致导致的 403 错误。
>
-> 具体查看 [对象存储配置及常见问题](/docs/introduction/development/object-storage)
+> 具体查看 [对象存储配置及常见问题](/docs/self-host/config/object-storage)
### 登录系统后,浏览器无法响应
@@ -307,7 +303,7 @@ docker-compose up -d
### 如何更新版本?
-1. 查看[更新文档](/docs/upgrading),确认要升级的版本,避免跨版本升级。
+1. 查看[更新文档](/docs/self-host/upgrading/upgrade-intruction),确认要升级的版本,避免跨版本升级。
2. 修改镜像 tag 到指定版本
3. 执行下面命令会自动拉取镜像:
@@ -320,7 +316,7 @@ docker-compose up -d
### 如何自定义配置文件?
-修改`config.json`文件,并执行`docker-compose down`再执行`docker-compose up -d`重起容器。具体配置,参考[配置详解](/docs/introduction/development/configuration)。
+修改`config.json`文件,并执行`docker-compose down`再执行`docker-compose up -d`重起容器。具体配置,参考[配置详解](/docs/self-host/config/json)。
### 如何检查自定义配置文件是否挂载
diff --git a/document/content/docs/introduction/development/sealos.en.mdx b/document/content/docs/self-host/deploy/sealos.en.mdx
similarity index 90%
rename from document/content/docs/introduction/development/sealos.en.mdx
rename to document/content/docs/self-host/deploy/sealos.en.mdx
index 1e77a5ea4a..a52d495062 100644
--- a/document/content/docs/introduction/development/sealos.en.mdx
+++ b/document/content/docs/self-host/deploy/sealos.en.mdx
@@ -13,7 +13,7 @@ import { Alert } from '@/components/docs/Alert';
FastGPT uses the one-api project to manage model pools, supporting OpenAI, Azure, mainstream domestic models, and local models.
-See: [Quick OneAPI Deployment on Sealos](/docs/introduction/development/modelconfig/one-api)
+See: [Quick OneAPI Deployment on Sealos](/docs/self-host/config/model/one-api)
## One-Click Deployment
@@ -79,7 +79,7 @@ Password: the `root_password` you set during one-click deployment
You must configure at least one model set, or the system won't work properly.
-[View model configuration tutorial](./modelConfig/intro/)
+[View model configuration tutorial](/docs/self-host/config/model/intro)
## Pricing
@@ -109,13 +109,13 @@ In **App Launchpad**, select FastGPT, click **Change**, and you'll see environme
### How to Update/Upgrade FastGPT
-[Upgrade script documentation](./upgrading/) — read the docs first to determine which version to upgrade to. Do not skip versions.
+[Upgrade script documentation](/docs/self-host/upgrading/upgrade-intruction) — read the docs first to determine which version to upgrade to. Do not skip versions.
For example, if you're on version 4.5 and want to upgrade to 4.5.1: change the image version to v4.5.1, run the upgrade script, wait for completion, then continue upgrading. If the target version doesn't require initialization, skip it.
Upgrade steps:
-1. Check the [update documentation](./upgrading/index/) to confirm the target version — avoid skipping versions.
+1. Check the [update documentation](/docs/self-host/upgrading/upgrade-intruction) to confirm the target version — avoid skipping versions.
2. Open Sealos app management
3. There are 2 apps: fastgpt, fastgpt-pro
4. Click the 3 dots on the right side of the app, then **Change**. Or click details, then **Change** in the top right.
@@ -144,7 +144,7 @@ Open Sealos app management -> find the app -> **Change** -> scroll down to advan

-[Config file reference](./configuration/)
+[Config file reference](/docs/self-host/config/json)
### Modify Site Name and Favicon
@@ -184,4 +184,4 @@ Add a mounted file with path: `/app/projects/app/public/icon/logo.svg`, with the
### Using OneAPI
-[See OneAPI usage guide](/docs/introduction/development/modelconfig/one-api/)
+[See OneAPI usage guide](/docs/self-host/config/model/one-api/)
diff --git a/document/content/docs/introduction/development/sealos.mdx b/document/content/docs/self-host/deploy/sealos.mdx
similarity index 90%
rename from document/content/docs/introduction/development/sealos.mdx
rename to document/content/docs/self-host/deploy/sealos.mdx
index 9771f0767c..739cb378d3 100644
--- a/document/content/docs/introduction/development/sealos.mdx
+++ b/document/content/docs/self-host/deploy/sealos.mdx
@@ -1,5 +1,5 @@
---
-title: 通过 Sealos 部署
+title: Sealos 部署
description: 使用 Sealos 一键部署 FastGPT
---
@@ -13,7 +13,7 @@ import { Alert } from '@/components/docs/Alert';
FastGPT 使用了 one-api 项目来管理模型池,其可以兼容 OpenAI 、Azure 、国内主流模型和本地模型等。
-可参考:[Sealos 快速部署 OneAPI](/docs/introduction/development/modelconfig/one-api)
+可参考:[Sealos 快速部署 OneAPI](/docs/self-host/config/model/one-api)
## 一键部署
@@ -79,7 +79,7 @@ FastGPT 使用了 one-api 项目来管理模型池,其可以兼容 OpenAI 、A
务必先配置至少一组模型,否则系统无法正常使用。
-[点击查看模型配置教程](./modelConfig/intro/)
+[点击查看模型配置教程](/docs/self-host/config/model/intro)
## 收费
@@ -110,13 +110,13 @@ FastGPT 商业版共包含了2个应用(fastgpt, fastgpt-plus)和2个数据
### 如何更新/升级 FastGPT
-[升级脚本文档](./upgrading/)先看下文档,看下需要升级哪个版本。注意,不要跨版本升级!!!!!
+[升级脚本文档](/docs/self-host/upgrading/upgrade-intruction)先看下文档,看下需要升级哪个版本。注意,不要跨版本升级!!!!!
例如,目前是4.5 版本,要升级到4.5.1,就先把镜像版本改成v4.5.1,执行一下升级脚本,等待完成后再继续升级。如果目标版本不需要执行初始化,则可以跳过。
升级步骤:
-1. 查看[更新文档](./upgrading/index/),确认要升级的版本,避免跨版本升级。
+1. 查看[更新文档](/docs/self-host/upgrading/upgrade-intruction),确认要升级的版本,避免跨版本升级。
2. 打开 sealos 的应用管理
3. 有2个应用 fastgpt , fastgpt-pro
4. 点击对应应用右边3个点,变更。或者点详情后右上角的变更。
@@ -145,7 +145,7 @@ FastGPT 商业版共包含了2个应用(fastgpt, fastgpt-plus)和2个数据

-[配置文件参考](./configuration/)
+[配置文件参考](/docs/self-host/config/json)
### 修改站点名称以及 favicon
@@ -184,4 +184,4 @@ SYSTEM_FAVICON 可以是一个网络地址
### One API 使用
-[参考 OneAPI 使用步骤](/docs/introduction/development/modelconfig/one-api/)
+[参考 OneAPI 使用步骤](/docs/self-host/config/model/one-api/)
diff --git a/document/content/docs/introduction/development/design/dataset.en.mdx b/document/content/docs/self-host/design/dataset.en.mdx
similarity index 100%
rename from document/content/docs/introduction/development/design/dataset.en.mdx
rename to document/content/docs/self-host/design/dataset.en.mdx
diff --git a/document/content/docs/introduction/development/design/dataset.mdx b/document/content/docs/self-host/design/dataset.mdx
similarity index 100%
rename from document/content/docs/introduction/development/design/dataset.mdx
rename to document/content/docs/self-host/design/dataset.mdx
diff --git a/document/content/docs/introduction/development/design/design_plugin.en.mdx b/document/content/docs/self-host/design/design_plugin.en.mdx
similarity index 100%
rename from document/content/docs/introduction/development/design/design_plugin.en.mdx
rename to document/content/docs/self-host/design/design_plugin.en.mdx
diff --git a/document/content/docs/introduction/development/design/design_plugin.mdx b/document/content/docs/self-host/design/design_plugin.mdx
similarity index 100%
rename from document/content/docs/introduction/development/design/design_plugin.mdx
rename to document/content/docs/self-host/design/design_plugin.mdx
diff --git a/document/content/docs/self-host/design/meta.en.json b/document/content/docs/self-host/design/meta.en.json
new file mode 100644
index 0000000000..0660712069
--- /dev/null
+++ b/document/content/docs/self-host/design/meta.en.json
@@ -0,0 +1,4 @@
+{
+ "title": "Design Documentation",
+ "pages": ["dataset","design_plugin"]
+}
diff --git a/document/content/docs/introduction/development/design/meta.json b/document/content/docs/self-host/design/meta.json
similarity index 100%
rename from document/content/docs/introduction/development/design/meta.json
rename to document/content/docs/self-host/design/meta.json
diff --git a/document/content/docs/introduction/development/intro.en.mdx b/document/content/docs/self-host/dev.en.mdx
similarity index 98%
rename from document/content/docs/introduction/development/intro.en.mdx
rename to document/content/docs/self-host/dev.en.mdx
index e5918c5b85..a1da66e85b 100644
--- a/document/content/docs/introduction/development/intro.en.mdx
+++ b/document/content/docs/self-host/dev.en.mdx
@@ -72,7 +72,7 @@ cp .env.template .env.local
**2. config.json Configuration File**
-Copy `data/config.json` to create `data/config.local.json`. For detailed parameters, see [Configuration Guide](/docs/introduction/development/configuration).
+Copy `data/config.json` to create `data/config.local.json`. For detailed parameters, see [Configuration Guide](/docs/self-host/config/model/intro).
```bash
cp data/config.json data/config.local.json
diff --git a/document/content/docs/introduction/development/intro.mdx b/document/content/docs/self-host/dev.mdx
similarity index 98%
rename from document/content/docs/introduction/development/intro.mdx
rename to document/content/docs/self-host/dev.mdx
index b2ddfd0014..01c8116462 100644
--- a/document/content/docs/introduction/development/intro.mdx
+++ b/document/content/docs/self-host/dev.mdx
@@ -1,5 +1,5 @@
---
-title: 开始本地开发
+title: 本地开发
description: 对 FastGPT 进行开发调试
---
@@ -73,7 +73,7 @@ cp .env.template .env.local
**2. config.json 配置文件**
-复制 `data/config.json` 文件,生成一个 `data/config.local.json` 配置文件,具体配置参数说明,可参考 [config 配置说明](/docs/introduction/development/configuration)
+复制 `data/config.json` 文件,生成一个 `data/config.local.json` 配置文件,具体配置参数说明,可参考 [config 配置说明](/docs/self-host/config/model/intro)
```bash
cp data/config.json data/config.local.json
diff --git a/document/content/docs/introduction/development/faq.en.mdx b/document/content/docs/self-host/faq.en.mdx
similarity index 98%
rename from document/content/docs/introduction/development/faq.en.mdx
rename to document/content/docs/self-host/faq.en.mdx
index 6e12bd34ab..b8f1fc71fb 100644
--- a/document/content/docs/introduction/development/faq.en.mdx
+++ b/document/content/docs/self-host/faq.en.mdx
@@ -18,7 +18,7 @@ When the frontend crashes, the page will display an error prompting you to check
### OneAPI Errors
-Errors with `requestId` are from OneAPI, usually caused by model API issues. See [Common OneAPI Errors](/docs/introduction/development/faq/#3-common-oneapi-errors)
+Errors with `requestId` are from OneAPI, usually caused by model API issues. See [Common OneAPI Errors](/docs/self-host/faq/#3-common-oneapi-errors)
## 2. General Issues
@@ -122,7 +122,7 @@ If OneAPI doesn't have the model configured, don't add it to `config.json` eithe
### Model Test Click Fails
-OneAPI only tests the first model in a channel, and only chat models. Vector models can't be auto-tested — send manual requests. [View test command examples](/docs/introduction/development/faq/#how-to-check-model-issues)
+OneAPI only tests the first model in a channel, and only chat models. Vector models can't be auto-tested — send manual requests. [View test command examples](/docs/self-host/faq/#how-to-check-model-issues)
### get request url failed: Post `"https://xxx"` dial tcp: xxxx
diff --git a/document/content/docs/introduction/development/faq.mdx b/document/content/docs/self-host/faq.mdx
similarity index 98%
rename from document/content/docs/introduction/development/faq.mdx
rename to document/content/docs/self-host/faq.mdx
index 37f8e5cbfa..d934aab740 100644
--- a/document/content/docs/introduction/development/faq.mdx
+++ b/document/content/docs/self-host/faq.mdx
@@ -18,7 +18,7 @@ description: FastGPT 私有部署常见问题
### OneAPI 错误
-带有`requestId`的,都是 OneAPI 提示错误,大部分都是因为模型接口报错。可以参考 [OneAPI 常见错误](/docs/introduction/development/faq/#三常见的-oneapi-错误)
+带有`requestId`的,都是 OneAPI 提示错误,大部分都是因为模型接口报错。可以参考 [OneAPI 常见错误](/docs/self-host/faq/#三常见的-oneapi-错误)
## 二、通用问题
@@ -122,7 +122,7 @@ FastGPT 模型配置文件中的 model 必须与 OneAPI 渠道中的模型对应
### 点击模型测试失败
-OneAPI 只会测试渠道的第一个模型,并且只会测试对话模型,向量模型无法自动测试,需要手动发起请求进行测试。[查看测试模型命令示例](/docs/introduction/development/faq/#如何检查模型问题)
+OneAPI 只会测试渠道的第一个模型,并且只会测试对话模型,向量模型无法自动测试,需要手动发起请求进行测试。[查看测试模型命令示例](/docs/self-host/faq/#如何检查模型问题)
### get request url failed: Post `"https://xxx"` dial tcp: xxxx
diff --git a/document/content/docs/self-host/index.en.mdx b/document/content/docs/self-host/index.en.mdx
new file mode 100644
index 0000000000..b1ae269611
--- /dev/null
+++ b/document/content/docs/self-host/index.en.mdx
@@ -0,0 +1,8 @@
+---
+title: Self-Host
+description: FastGPT Self-Host
+---
+
+import { Redirect } from '@/components/docs/Redirect';
+
+
diff --git a/document/content/docs/self-host/index.mdx b/document/content/docs/self-host/index.mdx
new file mode 100644
index 0000000000..dcb86f3c28
--- /dev/null
+++ b/document/content/docs/self-host/index.mdx
@@ -0,0 +1,8 @@
+---
+title: 自部署
+description: FastGPT 自部署
+---
+
+import { Redirect } from '@/components/docs/Redirect';
+
+
\ No newline at end of file
diff --git a/document/content/docs/self-host/meta.en.json b/document/content/docs/self-host/meta.en.json
new file mode 100644
index 0000000000..7a0c67b533
--- /dev/null
+++ b/document/content/docs/self-host/meta.en.json
@@ -0,0 +1,26 @@
+{
+ "title": "Self-Hosting",
+ "description": "FastGPT self-hosting guide",
+ "root": true,
+ "pages": [
+ "---Getting Started---",
+ "deploy/docker",
+ "deploy/sealos",
+ "dev",
+ "---Configuration---",
+ "config/model",
+ "config/object-storage",
+ "config/json",
+ "config/signoz",
+ "---Troubleshooting---",
+ "faq",
+ "troubleshooting/object-storage",
+ "---Version Upgrades---",
+ "upgrading/upgrade-intruction",
+ "...upgrading",
+ "---Other---",
+ "migration",
+ "custom-models",
+ "design"
+ ]
+}
diff --git a/document/content/docs/self-host/meta.json b/document/content/docs/self-host/meta.json
new file mode 100644
index 0000000000..b08ed94cf7
--- /dev/null
+++ b/document/content/docs/self-host/meta.json
@@ -0,0 +1,25 @@
+{
+ "title": "自部署",
+ "description": "FastGPT 自部署使用案例",
+ "root": true,
+ "pages": [
+ "---开始---",
+ "deploy/docker",
+ "deploy/sealos",
+ "dev",
+ "---配置说明---",
+ "config/model",
+ "config/object-storage",
+ "config/json",
+ "config/signoz",
+ "---故障排查---",
+ "faq",
+ "---版本升级---",
+ "upgrading/upgrade-intruction",
+ "...upgrading",
+ "---其他---",
+ "migration",
+ "custom-models",
+ "design"
+ ]
+}
diff --git a/document/content/docs/introduction/development/migration/docker_db.en.mdx b/document/content/docs/self-host/migration/docker_db.en.mdx
similarity index 100%
rename from document/content/docs/introduction/development/migration/docker_db.en.mdx
rename to document/content/docs/self-host/migration/docker_db.en.mdx
diff --git a/document/content/docs/introduction/development/migration/docker_db.mdx b/document/content/docs/self-host/migration/docker_db.mdx
similarity index 100%
rename from document/content/docs/introduction/development/migration/docker_db.mdx
rename to document/content/docs/self-host/migration/docker_db.mdx
diff --git a/document/content/docs/introduction/development/migration/docker_mongo.en.mdx b/document/content/docs/self-host/migration/docker_mongo.en.mdx
similarity index 100%
rename from document/content/docs/introduction/development/migration/docker_mongo.en.mdx
rename to document/content/docs/self-host/migration/docker_mongo.en.mdx
diff --git a/document/content/docs/introduction/development/migration/docker_mongo.mdx b/document/content/docs/self-host/migration/docker_mongo.mdx
similarity index 100%
rename from document/content/docs/introduction/development/migration/docker_mongo.mdx
rename to document/content/docs/self-host/migration/docker_mongo.mdx
diff --git a/document/content/docs/self-host/migration/meta.en.json b/document/content/docs/self-host/migration/meta.en.json
new file mode 100644
index 0000000000..ab0f8875eb
--- /dev/null
+++ b/document/content/docs/self-host/migration/meta.en.json
@@ -0,0 +1,4 @@
+{
+ "title": "Migration & Backup",
+ "pages": ["docker_db","docker_mongo"]
+}
diff --git a/document/content/docs/introduction/development/migration/meta.json b/document/content/docs/self-host/migration/meta.json
similarity index 100%
rename from document/content/docs/introduction/development/migration/meta.json
rename to document/content/docs/self-host/migration/meta.json
diff --git a/document/content/docs/upgrading/4-12/4120.en.mdx b/document/content/docs/self-host/upgrading/4-12/4120.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-12/4120.en.mdx
rename to document/content/docs/self-host/upgrading/4-12/4120.en.mdx
diff --git a/document/content/docs/upgrading/4-12/4120.mdx b/document/content/docs/self-host/upgrading/4-12/4120.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-12/4120.mdx
rename to document/content/docs/self-host/upgrading/4-12/4120.mdx
diff --git a/document/content/docs/upgrading/4-12/4121.en.mdx b/document/content/docs/self-host/upgrading/4-12/4121.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-12/4121.en.mdx
rename to document/content/docs/self-host/upgrading/4-12/4121.en.mdx
diff --git a/document/content/docs/upgrading/4-12/4121.mdx b/document/content/docs/self-host/upgrading/4-12/4121.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-12/4121.mdx
rename to document/content/docs/self-host/upgrading/4-12/4121.mdx
diff --git a/document/content/docs/upgrading/4-12/4122.en.mdx b/document/content/docs/self-host/upgrading/4-12/4122.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-12/4122.en.mdx
rename to document/content/docs/self-host/upgrading/4-12/4122.en.mdx
diff --git a/document/content/docs/upgrading/4-12/4122.mdx b/document/content/docs/self-host/upgrading/4-12/4122.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-12/4122.mdx
rename to document/content/docs/self-host/upgrading/4-12/4122.mdx
diff --git a/document/content/docs/upgrading/4-12/4123.en.mdx b/document/content/docs/self-host/upgrading/4-12/4123.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-12/4123.en.mdx
rename to document/content/docs/self-host/upgrading/4-12/4123.en.mdx
diff --git a/document/content/docs/upgrading/4-12/4123.mdx b/document/content/docs/self-host/upgrading/4-12/4123.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-12/4123.mdx
rename to document/content/docs/self-host/upgrading/4-12/4123.mdx
diff --git a/document/content/docs/upgrading/4-12/4124.en.mdx b/document/content/docs/self-host/upgrading/4-12/4124.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-12/4124.en.mdx
rename to document/content/docs/self-host/upgrading/4-12/4124.en.mdx
diff --git a/document/content/docs/upgrading/4-12/4124.mdx b/document/content/docs/self-host/upgrading/4-12/4124.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-12/4124.mdx
rename to document/content/docs/self-host/upgrading/4-12/4124.mdx
diff --git a/document/content/docs/upgrading/4-12/meta.json b/document/content/docs/self-host/upgrading/4-12/meta.en.json
similarity index 100%
rename from document/content/docs/upgrading/4-12/meta.json
rename to document/content/docs/self-host/upgrading/4-12/meta.en.json
diff --git a/document/content/docs/self-host/upgrading/4-12/meta.json b/document/content/docs/self-host/upgrading/4-12/meta.json
new file mode 100644
index 0000000000..30c62716d0
--- /dev/null
+++ b/document/content/docs/self-host/upgrading/4-12/meta.json
@@ -0,0 +1,5 @@
+{
+ "title": "4.12.x",
+ "description": "",
+ "pages": ["4124", "4123", "4122", "4121", "4120"]
+}
diff --git a/document/content/docs/upgrading/4-13/4130.en.mdx b/document/content/docs/self-host/upgrading/4-13/4130.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-13/4130.en.mdx
rename to document/content/docs/self-host/upgrading/4-13/4130.en.mdx
diff --git a/document/content/docs/upgrading/4-13/4130.mdx b/document/content/docs/self-host/upgrading/4-13/4130.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-13/4130.mdx
rename to document/content/docs/self-host/upgrading/4-13/4130.mdx
diff --git a/document/content/docs/upgrading/4-13/4131.en.mdx b/document/content/docs/self-host/upgrading/4-13/4131.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-13/4131.en.mdx
rename to document/content/docs/self-host/upgrading/4-13/4131.en.mdx
diff --git a/document/content/docs/upgrading/4-13/4131.mdx b/document/content/docs/self-host/upgrading/4-13/4131.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-13/4131.mdx
rename to document/content/docs/self-host/upgrading/4-13/4131.mdx
diff --git a/document/content/docs/upgrading/4-13/4132.en.mdx b/document/content/docs/self-host/upgrading/4-13/4132.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-13/4132.en.mdx
rename to document/content/docs/self-host/upgrading/4-13/4132.en.mdx
diff --git a/document/content/docs/upgrading/4-13/4132.mdx b/document/content/docs/self-host/upgrading/4-13/4132.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-13/4132.mdx
rename to document/content/docs/self-host/upgrading/4-13/4132.mdx
diff --git a/document/content/docs/upgrading/4-13/meta.json b/document/content/docs/self-host/upgrading/4-13/meta.en.json
similarity index 100%
rename from document/content/docs/upgrading/4-13/meta.json
rename to document/content/docs/self-host/upgrading/4-13/meta.en.json
diff --git a/document/content/docs/self-host/upgrading/4-13/meta.json b/document/content/docs/self-host/upgrading/4-13/meta.json
new file mode 100644
index 0000000000..2d9d377705
--- /dev/null
+++ b/document/content/docs/self-host/upgrading/4-13/meta.json
@@ -0,0 +1,5 @@
+{
+ "title": "4.13.x",
+ "description": "",
+ "pages": ["4132", "4131", "4130"]
+}
diff --git a/document/content/docs/upgrading/4-14/4140.en.mdx b/document/content/docs/self-host/upgrading/4-14/4140.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-14/4140.en.mdx
rename to document/content/docs/self-host/upgrading/4-14/4140.en.mdx
diff --git a/document/content/docs/upgrading/4-14/4140.mdx b/document/content/docs/self-host/upgrading/4-14/4140.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-14/4140.mdx
rename to document/content/docs/self-host/upgrading/4-14/4140.mdx
diff --git a/document/content/docs/upgrading/4-14/4141.en.mdx b/document/content/docs/self-host/upgrading/4-14/4141.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-14/4141.en.mdx
rename to document/content/docs/self-host/upgrading/4-14/4141.en.mdx
diff --git a/document/content/docs/upgrading/4-14/4141.mdx b/document/content/docs/self-host/upgrading/4-14/4141.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-14/4141.mdx
rename to document/content/docs/self-host/upgrading/4-14/4141.mdx
diff --git a/document/content/docs/upgrading/4-14/4142.en.mdx b/document/content/docs/self-host/upgrading/4-14/4142.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-14/4142.en.mdx
rename to document/content/docs/self-host/upgrading/4-14/4142.en.mdx
diff --git a/document/content/docs/upgrading/4-14/4142.mdx b/document/content/docs/self-host/upgrading/4-14/4142.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-14/4142.mdx
rename to document/content/docs/self-host/upgrading/4-14/4142.mdx
diff --git a/document/content/docs/upgrading/4-14/4143.en.mdx b/document/content/docs/self-host/upgrading/4-14/4143.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-14/4143.en.mdx
rename to document/content/docs/self-host/upgrading/4-14/4143.en.mdx
diff --git a/document/content/docs/upgrading/4-14/4143.mdx b/document/content/docs/self-host/upgrading/4-14/4143.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-14/4143.mdx
rename to document/content/docs/self-host/upgrading/4-14/4143.mdx
diff --git a/document/content/docs/upgrading/4-14/4144.en.mdx b/document/content/docs/self-host/upgrading/4-14/4144.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-14/4144.en.mdx
rename to document/content/docs/self-host/upgrading/4-14/4144.en.mdx
diff --git a/document/content/docs/upgrading/4-14/4144.mdx b/document/content/docs/self-host/upgrading/4-14/4144.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-14/4144.mdx
rename to document/content/docs/self-host/upgrading/4-14/4144.mdx
diff --git a/document/content/docs/upgrading/4-14/4145.en.mdx b/document/content/docs/self-host/upgrading/4-14/4145.en.mdx
similarity index 98%
rename from document/content/docs/upgrading/4-14/4145.en.mdx
rename to document/content/docs/self-host/upgrading/4-14/4145.en.mdx
index d6c2b79306..58868bef11 100644
--- a/document/content/docs/upgrading/4-14/4145.en.mdx
+++ b/document/content/docs/self-host/upgrading/4-14/4145.en.mdx
@@ -7,7 +7,7 @@ description: 'FastGPT V4.14.5 Release Notes'
### 1. Update Storage Bucket Environment Variables
-This version adds native support for OSS and COS in addition to MinIO, so the related environment variables need to be renamed. Below is the configuration for MinIO. For other providers, refer to [Object Storage Configuration](/docs/introduction/development/object-storage).
+This version adds native support for OSS and COS in addition to MinIO, so the related environment variables need to be renamed. Below is the configuration for MinIO. For other providers, refer to [Object Storage Configuration](/docs/self-host/config/object-storage).
**New Variables**
diff --git a/document/content/docs/upgrading/4-14/4145.mdx b/document/content/docs/self-host/upgrading/4-14/4145.mdx
similarity index 98%
rename from document/content/docs/upgrading/4-14/4145.mdx
rename to document/content/docs/self-host/upgrading/4-14/4145.mdx
index c719cb7371..c5aceaee82 100644
--- a/document/content/docs/upgrading/4-14/4145.mdx
+++ b/document/content/docs/self-host/upgrading/4-14/4145.mdx
@@ -7,7 +7,7 @@ description: 'FastGPT V4.14.5 更新说明'
### 1. 修改存储桶环境变量
-该版本除了支持 minio 以外,还增加支持了原生 OSS 和 COS, 所以需要修改相关环境变量修改成新的命名。下面是 Minio 的配置参数,其他厂商配置,可参考[对象存储配置问题](/docs/introduction/development/object-storage)
+该版本除了支持 minio 以外,还增加支持了原生 OSS 和 COS, 所以需要修改相关环境变量修改成新的命名。下面是 Minio 的配置参数,其他厂商配置,可参考[对象存储配置问题](/docs/self-host/config/object-storage)
**新增变量**
diff --git a/document/content/docs/upgrading/4-14/41451.en.mdx b/document/content/docs/self-host/upgrading/4-14/41451.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-14/41451.en.mdx
rename to document/content/docs/self-host/upgrading/4-14/41451.en.mdx
diff --git a/document/content/docs/upgrading/4-14/41451.mdx b/document/content/docs/self-host/upgrading/4-14/41451.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-14/41451.mdx
rename to document/content/docs/self-host/upgrading/4-14/41451.mdx
diff --git a/document/content/docs/upgrading/4-14/4146.en.mdx b/document/content/docs/self-host/upgrading/4-14/4146.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-14/4146.en.mdx
rename to document/content/docs/self-host/upgrading/4-14/4146.en.mdx
diff --git a/document/content/docs/upgrading/4-14/4146.mdx b/document/content/docs/self-host/upgrading/4-14/4146.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-14/4146.mdx
rename to document/content/docs/self-host/upgrading/4-14/4146.mdx
diff --git a/document/content/docs/upgrading/4-14/4147.en.mdx b/document/content/docs/self-host/upgrading/4-14/4147.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-14/4147.en.mdx
rename to document/content/docs/self-host/upgrading/4-14/4147.en.mdx
diff --git a/document/content/docs/upgrading/4-14/4147.mdx b/document/content/docs/self-host/upgrading/4-14/4147.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-14/4147.mdx
rename to document/content/docs/self-host/upgrading/4-14/4147.mdx
diff --git a/document/content/docs/upgrading/4-14/4148.en.mdx b/document/content/docs/self-host/upgrading/4-14/4148.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-14/4148.en.mdx
rename to document/content/docs/self-host/upgrading/4-14/4148.en.mdx
diff --git a/document/content/docs/upgrading/4-14/4148.mdx b/document/content/docs/self-host/upgrading/4-14/4148.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-14/4148.mdx
rename to document/content/docs/self-host/upgrading/4-14/4148.mdx
diff --git a/document/content/docs/upgrading/4-14/meta.en.json b/document/content/docs/self-host/upgrading/4-14/meta.en.json
similarity index 100%
rename from document/content/docs/upgrading/4-14/meta.en.json
rename to document/content/docs/self-host/upgrading/4-14/meta.en.json
diff --git a/document/content/docs/upgrading/4-14/meta.json b/document/content/docs/self-host/upgrading/4-14/meta.json
similarity index 100%
rename from document/content/docs/upgrading/4-14/meta.json
rename to document/content/docs/self-host/upgrading/4-14/meta.json
diff --git a/document/content/docs/self-host/upgrading/meta.en.json b/document/content/docs/self-host/upgrading/meta.en.json
new file mode 100644
index 0000000000..64eb6a2b89
--- /dev/null
+++ b/document/content/docs/self-host/upgrading/meta.en.json
@@ -0,0 +1,5 @@
+{
+ "title": "Version History",
+ "description": "FastGPT version history",
+ "pages": ["4-14", "4-13", "4-12", "outdated"]
+}
diff --git a/document/content/docs/self-host/upgrading/meta.json b/document/content/docs/self-host/upgrading/meta.json
new file mode 100644
index 0000000000..e73955a160
--- /dev/null
+++ b/document/content/docs/self-host/upgrading/meta.json
@@ -0,0 +1,5 @@
+{
+ "title": "版本列表",
+ "description": "FastGPT 版本列表",
+ "pages": ["4-14", "4-13", "4-12", "outdated"]
+}
diff --git a/document/content/docs/upgrading/4-8/40.en.mdx b/document/content/docs/self-host/upgrading/outdated/40.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/40.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/40.en.mdx
diff --git a/document/content/docs/upgrading/4-8/40.mdx b/document/content/docs/self-host/upgrading/outdated/40.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/40.mdx
rename to document/content/docs/self-host/upgrading/outdated/40.mdx
diff --git a/document/content/docs/upgrading/4-8/41.en.mdx b/document/content/docs/self-host/upgrading/outdated/41.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/41.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/41.en.mdx
diff --git a/document/content/docs/upgrading/4-8/41.mdx b/document/content/docs/self-host/upgrading/outdated/41.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/41.mdx
rename to document/content/docs/self-host/upgrading/outdated/41.mdx
diff --git a/document/content/docs/upgrading/4-10/4100.en.mdx b/document/content/docs/self-host/upgrading/outdated/4100.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-10/4100.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/4100.en.mdx
diff --git a/document/content/docs/upgrading/4-10/4100.mdx b/document/content/docs/self-host/upgrading/outdated/4100.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-10/4100.mdx
rename to document/content/docs/self-host/upgrading/outdated/4100.mdx
diff --git a/document/content/docs/upgrading/4-10/4101.en.mdx b/document/content/docs/self-host/upgrading/outdated/4101.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-10/4101.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/4101.en.mdx
diff --git a/document/content/docs/upgrading/4-10/4101.mdx b/document/content/docs/self-host/upgrading/outdated/4101.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-10/4101.mdx
rename to document/content/docs/self-host/upgrading/outdated/4101.mdx
diff --git a/document/content/docs/upgrading/4-11/4110.en.mdx b/document/content/docs/self-host/upgrading/outdated/4110.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-11/4110.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/4110.en.mdx
diff --git a/document/content/docs/upgrading/4-11/4110.mdx b/document/content/docs/self-host/upgrading/outdated/4110.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-11/4110.mdx
rename to document/content/docs/self-host/upgrading/outdated/4110.mdx
diff --git a/document/content/docs/upgrading/4-11/4111.en.mdx b/document/content/docs/self-host/upgrading/outdated/4111.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-11/4111.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/4111.en.mdx
diff --git a/document/content/docs/upgrading/4-11/4111.mdx b/document/content/docs/self-host/upgrading/outdated/4111.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-11/4111.mdx
rename to document/content/docs/self-host/upgrading/outdated/4111.mdx
diff --git a/document/content/docs/upgrading/4-8/42.en.mdx b/document/content/docs/self-host/upgrading/outdated/42.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/42.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/42.en.mdx
diff --git a/document/content/docs/upgrading/4-8/42.mdx b/document/content/docs/self-host/upgrading/outdated/42.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/42.mdx
rename to document/content/docs/self-host/upgrading/outdated/42.mdx
diff --git a/document/content/docs/upgrading/4-8/421.en.mdx b/document/content/docs/self-host/upgrading/outdated/421.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/421.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/421.en.mdx
diff --git a/document/content/docs/upgrading/4-8/421.mdx b/document/content/docs/self-host/upgrading/outdated/421.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/421.mdx
rename to document/content/docs/self-host/upgrading/outdated/421.mdx
diff --git a/document/content/docs/upgrading/4-8/43.en.mdx b/document/content/docs/self-host/upgrading/outdated/43.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/43.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/43.en.mdx
diff --git a/document/content/docs/upgrading/4-8/43.mdx b/document/content/docs/self-host/upgrading/outdated/43.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/43.mdx
rename to document/content/docs/self-host/upgrading/outdated/43.mdx
diff --git a/document/content/docs/upgrading/4-8/44.en.mdx b/document/content/docs/self-host/upgrading/outdated/44.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/44.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/44.en.mdx
diff --git a/document/content/docs/upgrading/4-8/44.mdx b/document/content/docs/self-host/upgrading/outdated/44.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/44.mdx
rename to document/content/docs/self-host/upgrading/outdated/44.mdx
diff --git a/document/content/docs/upgrading/4-8/441.en.mdx b/document/content/docs/self-host/upgrading/outdated/441.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/441.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/441.en.mdx
diff --git a/document/content/docs/upgrading/4-8/441.mdx b/document/content/docs/self-host/upgrading/outdated/441.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/441.mdx
rename to document/content/docs/self-host/upgrading/outdated/441.mdx
diff --git a/document/content/docs/upgrading/4-8/442.en.mdx b/document/content/docs/self-host/upgrading/outdated/442.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/442.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/442.en.mdx
diff --git a/document/content/docs/upgrading/4-8/442.mdx b/document/content/docs/self-host/upgrading/outdated/442.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/442.mdx
rename to document/content/docs/self-host/upgrading/outdated/442.mdx
diff --git a/document/content/docs/upgrading/4-8/445.en.mdx b/document/content/docs/self-host/upgrading/outdated/445.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/445.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/445.en.mdx
diff --git a/document/content/docs/upgrading/4-8/445.mdx b/document/content/docs/self-host/upgrading/outdated/445.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/445.mdx
rename to document/content/docs/self-host/upgrading/outdated/445.mdx
diff --git a/document/content/docs/upgrading/4-8/446.en.mdx b/document/content/docs/self-host/upgrading/outdated/446.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/446.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/446.en.mdx
diff --git a/document/content/docs/upgrading/4-8/446.mdx b/document/content/docs/self-host/upgrading/outdated/446.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/446.mdx
rename to document/content/docs/self-host/upgrading/outdated/446.mdx
diff --git a/document/content/docs/upgrading/4-8/447.en.mdx b/document/content/docs/self-host/upgrading/outdated/447.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/447.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/447.en.mdx
diff --git a/document/content/docs/upgrading/4-8/447.mdx b/document/content/docs/self-host/upgrading/outdated/447.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/447.mdx
rename to document/content/docs/self-host/upgrading/outdated/447.mdx
diff --git a/document/content/docs/upgrading/4-8/45.en.mdx b/document/content/docs/self-host/upgrading/outdated/45.en.mdx
similarity index 98%
rename from document/content/docs/upgrading/4-8/45.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/45.en.mdx
index 49a39d76f4..749c51f28e 100644
--- a/document/content/docs/upgrading/4-8/45.en.mdx
+++ b/document/content/docs/self-host/upgrading/outdated/45.en.mdx
@@ -84,4 +84,4 @@ CREATE INDEX CONCURRENTLY vector_index ON modeldata USING hnsw (vector vector_ip
## Configuration File Changes Required
-For the latest configuration, refer to: [V4.5 Latest config.json](/docs/introduction/development/configuration)
+For the latest configuration, refer to: [V4.5 Latest config.json](/docs/self-host/config/json)
diff --git a/document/content/docs/upgrading/4-8/45.mdx b/document/content/docs/self-host/upgrading/outdated/45.mdx
similarity index 97%
rename from document/content/docs/upgrading/4-8/45.mdx
rename to document/content/docs/self-host/upgrading/outdated/45.mdx
index de79892edb..0b5d57af54 100644
--- a/document/content/docs/upgrading/4-8/45.mdx
+++ b/document/content/docs/self-host/upgrading/outdated/45.mdx
@@ -84,4 +84,4 @@ CREATE INDEX CONCURRENTLY vector_index ON modeldata USING hnsw (vector vector_ip
## 该版本需要修改 `config.json` 文件
-最新配置可参考: [V45版本最新 config.json](/docs/introduction/development/configuration)
+最新配置可参考: [V45版本最新 config.json](/docs/self-host/config/json)
diff --git a/document/content/docs/upgrading/4-8/451.en.mdx b/document/content/docs/self-host/upgrading/outdated/451.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/451.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/451.en.mdx
diff --git a/document/content/docs/upgrading/4-8/451.mdx b/document/content/docs/self-host/upgrading/outdated/451.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/451.mdx
rename to document/content/docs/self-host/upgrading/outdated/451.mdx
diff --git a/document/content/docs/upgrading/4-8/452.en.mdx b/document/content/docs/self-host/upgrading/outdated/452.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/452.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/452.en.mdx
diff --git a/document/content/docs/upgrading/4-8/452.mdx b/document/content/docs/self-host/upgrading/outdated/452.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/452.mdx
rename to document/content/docs/self-host/upgrading/outdated/452.mdx
diff --git a/document/content/docs/upgrading/4-8/46.en.mdx b/document/content/docs/self-host/upgrading/outdated/46.en.mdx
similarity index 93%
rename from document/content/docs/upgrading/4-8/46.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/46.en.mdx
index 8e47f00aa4..0a2b96b55d 100644
--- a/document/content/docs/upgrading/4-8/46.en.mdx
+++ b/document/content/docs/self-host/upgrading/outdated/46.en.mdx
@@ -9,7 +9,7 @@ description: FastGPT V4.6 Update
Update the image to the latest or V4.6 version. For the commercial edition, update to V0.2.1.
-For the latest configuration, refer to: [V4.6 Latest config.json](/docs/introduction/development/configuration). The commercial edition configuration file has also been updated — refer to the latest Lark documentation.
+For the latest configuration, refer to: [V4.6 Latest config.json](/docs/self-host/config/json). The commercial edition configuration file has also been updated — refer to the latest Lark documentation.
## 2. Run the Initialization APIs
diff --git a/document/content/docs/upgrading/4-8/46.mdx b/document/content/docs/self-host/upgrading/outdated/46.mdx
similarity index 91%
rename from document/content/docs/upgrading/4-8/46.mdx
rename to document/content/docs/self-host/upgrading/outdated/46.mdx
index d597490af5..62e8e2df75 100644
--- a/document/content/docs/upgrading/4-8/46.mdx
+++ b/document/content/docs/self-host/upgrading/outdated/46.mdx
@@ -9,7 +9,7 @@ description: FastGPT V4.6 更新
更新镜像至 latest 或者 v4.6 版本。商业版镜像更新至 V0.2.1
-最新配置可参考:[V46 版本最新 config.json](/docs/introduction/development/configuration),商业镜像配置文件也更新,参考最新的飞书文档。
+最新配置可参考:[V46 版本最新 config.json](/docs/self-host/config/json),商业镜像配置文件也更新,参考最新的飞书文档。
## 2。执行初始化 API
diff --git a/document/content/docs/upgrading/4-8/461.en.mdx b/document/content/docs/self-host/upgrading/outdated/461.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/461.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/461.en.mdx
diff --git a/document/content/docs/upgrading/4-8/461.mdx b/document/content/docs/self-host/upgrading/outdated/461.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/461.mdx
rename to document/content/docs/self-host/upgrading/outdated/461.mdx
diff --git a/document/content/docs/upgrading/4-8/462.en.mdx b/document/content/docs/self-host/upgrading/outdated/462.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/462.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/462.en.mdx
diff --git a/document/content/docs/upgrading/4-8/462.mdx b/document/content/docs/self-host/upgrading/outdated/462.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/462.mdx
rename to document/content/docs/self-host/upgrading/outdated/462.mdx
diff --git a/document/content/docs/upgrading/4-8/463.en.mdx b/document/content/docs/self-host/upgrading/outdated/463.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/463.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/463.en.mdx
diff --git a/document/content/docs/upgrading/4-8/463.mdx b/document/content/docs/self-host/upgrading/outdated/463.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/463.mdx
rename to document/content/docs/self-host/upgrading/outdated/463.mdx
diff --git a/document/content/docs/upgrading/4-8/464.en.mdx b/document/content/docs/self-host/upgrading/outdated/464.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/464.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/464.en.mdx
diff --git a/document/content/docs/upgrading/4-8/464.mdx b/document/content/docs/self-host/upgrading/outdated/464.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/464.mdx
rename to document/content/docs/self-host/upgrading/outdated/464.mdx
diff --git a/document/content/docs/upgrading/4-8/465.en.mdx b/document/content/docs/self-host/upgrading/outdated/465.en.mdx
similarity index 94%
rename from document/content/docs/upgrading/4-8/465.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/465.en.mdx
index bd8e274ecb..183b6469a9 100644
--- a/document/content/docs/upgrading/4-8/465.en.mdx
+++ b/document/content/docs/self-host/upgrading/outdated/465.en.mdx
@@ -7,7 +7,7 @@ description: FastGPT V4.6.5
Since OpenAI has begun deprecating function calls in favor of tool choice, FastGPT has updated its configuration and invocation methods accordingly. You'll need to make some changes to your configuration file:
-[View the latest configuration file](/docs/introduction/development/configuration/)
+[View the latest configuration file](/docs/self-host/config/json/)
1. The main change is renaming the `functionCall` field to `toolChoice` in your model configuration. Models with this set to `true` will use OpenAI's tools mode by default; models without it or with it set to `false` will use prompt-based generation.
diff --git a/document/content/docs/upgrading/4-8/465.mdx b/document/content/docs/self-host/upgrading/outdated/465.mdx
similarity index 93%
rename from document/content/docs/upgrading/4-8/465.mdx
rename to document/content/docs/self-host/upgrading/outdated/465.mdx
index 643793d54a..388c4b2811 100644
--- a/document/content/docs/upgrading/4-8/465.mdx
+++ b/document/content/docs/self-host/upgrading/outdated/465.mdx
@@ -7,7 +7,7 @@ description: FastGPT V4.6.5
由于 openai 已开始弃用 function call,改为 toolChoice。FastGPT 同步的修改了对于的配置和调用方式,需要对配置文件做一些修改:
-[点击查看最新的配置文件](/docs/introduction/development/configuration/)
+[点击查看最新的配置文件](/docs/self-host/config/json/)
1. 主要是修改模型的`functionCall`字段,改成`toolChoice`即可。设置为`true`的模型,会默认走 openai 的 tools 模式;未设置或设置为`false`的,会走提示词生成模式。
diff --git a/document/content/docs/upgrading/4-8/466.en.mdx b/document/content/docs/self-host/upgrading/outdated/466.en.mdx
similarity index 89%
rename from document/content/docs/upgrading/4-8/466.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/466.en.mdx
index 9d402524b5..1e65f3efb2 100644
--- a/document/content/docs/upgrading/4-8/466.en.mdx
+++ b/document/content/docs/self-host/upgrading/outdated/466.en.mdx
@@ -5,7 +5,7 @@ description: FastGPT V4.6.6
## Configuration Changes
-To reduce code duplication, we've made some changes to the configuration file: [View the latest configuration file](/docs/introduction/development/configuration/)
+To reduce code duplication, we've made some changes to the configuration file: [View the latest configuration file](/docs/self-host/config/json/)
## Commercial Edition Changes
@@ -21,7 +21,7 @@ To reduce code duplication, we've made some changes to the configuration file: [
1. Check out the [FastGPT 2024 RoadMap](https://github.com/labring/FastGPT?tab=readme-ov-file#-%E5%9C%A8%E7%BA%BF%E4%BD%BF%E7%94%A8).
2. New - HTTP node now supports a JSON editor for request headers.
-3. New - [ReRank Model Deployment](/docs/introduction/development/custom-models/bge-rerank/)
+3. New - [ReRank Model Deployment](/docs/self-host/custom-models/bge-rerank/)
4. New - Search modes: separated vector semantic search, full-text search, and reranking, with RRF (Reciprocal Rank Fusion) for merging results.
5. Improved - Question classifier prompts with ID-guided classification. Tested with Chinese commercial API models (Baidu, Alibaba, Zhipu, iFlytek) — all work correctly in Prompt mode.
6. UI improvements — the interface will be gradually updated with a new design going forward.
diff --git a/document/content/docs/upgrading/4-8/466.mdx b/document/content/docs/self-host/upgrading/outdated/466.mdx
similarity index 88%
rename from document/content/docs/upgrading/4-8/466.mdx
rename to document/content/docs/self-host/upgrading/outdated/466.mdx
index f72836480b..f47c8364d9 100644
--- a/document/content/docs/upgrading/4-8/466.mdx
+++ b/document/content/docs/self-host/upgrading/outdated/466.mdx
@@ -5,7 +5,7 @@ description: FastGPT V4.6.6
## 配置文件变更
-为了减少代码重复度,我们对配置文件做了一些修改:[点击查看最新的配置文件](/docs/introduction/development/configuration/)
+为了减少代码重复度,我们对配置文件做了一些修改:[点击查看最新的配置文件](/docs/self-host/config/json/)
## 商业版变更
@@ -21,7 +21,7 @@ description: FastGPT V4.6.6
1. 查看 [FastGPT 2024 RoadMap](https://github.com/labring/FastGPT?tab=readme-ov-file#-%E5%9C%A8%E7%BA%BF%E4%BD%BF%E7%94%A8)
2. 新增 - Http 模块请求头支持 Json 编辑器。
-3. 新增 - [ReRank模型部署](/docs/introduction/development/custom-models/bge-rerank/)
+3. 新增 - [ReRank模型部署](/docs/self-host/custom-models/bge-rerank/)
4. 新增 - 搜索方式:分离向量语义检索,全文检索和重排,通过 RRF 进行排序合并。
5. 优化 - 问题分类提示词,id引导。测试国产商用 api 模型(百度阿里智谱讯飞)使用 Prompt 模式均可分类。
6. UI 优化,未来将逐步替换新的UI设计。
diff --git a/document/content/docs/upgrading/4-8/467.en.mdx b/document/content/docs/self-host/upgrading/outdated/467.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/467.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/467.en.mdx
diff --git a/document/content/docs/upgrading/4-8/467.mdx b/document/content/docs/self-host/upgrading/outdated/467.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/467.mdx
rename to document/content/docs/self-host/upgrading/outdated/467.mdx
diff --git a/document/content/docs/upgrading/4-8/468.en.mdx b/document/content/docs/self-host/upgrading/outdated/468.en.mdx
similarity index 98%
rename from document/content/docs/upgrading/4-8/468.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/468.en.mdx
index efdad00bd5..1abf735f30 100644
--- a/document/content/docs/upgrading/4-8/468.en.mdx
+++ b/document/content/docs/self-host/upgrading/outdated/468.en.mdx
@@ -67,7 +67,7 @@ docker-compose up -d
## Update Configuration File
-Removed duplicate model configurations. All LLM models are now consolidated into a single property. [View the latest configuration file](/docs/introduction/development/configuration/)
+Removed duplicate model configurations. All LLM models are now consolidated into a single property. [View the latest configuration file](/docs/self-host/config/json/)
## Commercial Edition Initialization
diff --git a/document/content/docs/upgrading/4-8/468.mdx b/document/content/docs/self-host/upgrading/outdated/468.mdx
similarity index 97%
rename from document/content/docs/upgrading/4-8/468.mdx
rename to document/content/docs/self-host/upgrading/outdated/468.mdx
index b0e6e8e90d..34a5e7ef27 100644
--- a/document/content/docs/upgrading/4-8/468.mdx
+++ b/document/content/docs/self-host/upgrading/outdated/468.mdx
@@ -67,7 +67,7 @@ docker-compose up -d
## 修改配置文件
-去除了重复的模型配置,LLM模型都合并到一个属性中:[点击查看最新的配置文件](/docs/introduction/development/configuration/)
+去除了重复的模型配置,LLM模型都合并到一个属性中:[点击查看最新的配置文件](/docs/self-host/config/json/)
## 商业版初始化
diff --git a/document/content/docs/upgrading/4-8/469.en.mdx b/document/content/docs/self-host/upgrading/outdated/469.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/469.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/469.en.mdx
diff --git a/document/content/docs/upgrading/4-8/469.mdx b/document/content/docs/self-host/upgrading/outdated/469.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/469.mdx
rename to document/content/docs/self-host/upgrading/outdated/469.mdx
diff --git a/document/content/docs/upgrading/4-8/47.en.mdx b/document/content/docs/self-host/upgrading/outdated/47.en.mdx
similarity index 97%
rename from document/content/docs/upgrading/4-8/47.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/47.en.mdx
index e86f3f5327..26f80d6537 100644
--- a/document/content/docs/upgrading/4-8/47.en.mdx
+++ b/document/content/docs/self-host/upgrading/outdated/47.en.mdx
@@ -5,7 +5,7 @@ description: FastGPT V4.7 Release Notes
## 1. Update Configuration File
-Added Boolean values to control which models are available for different feature modules, and added model logos. [View the latest configuration file](/docs/introduction/development/configuration/)
+Added Boolean values to control which models are available for different feature modules, and added model logos. [View the latest configuration file](/docs/self-host/config/json/)
## 2. Initialization Script
diff --git a/document/content/docs/upgrading/4-8/47.mdx b/document/content/docs/self-host/upgrading/outdated/47.mdx
similarity index 97%
rename from document/content/docs/upgrading/4-8/47.mdx
rename to document/content/docs/self-host/upgrading/outdated/47.mdx
index ad8571ce9d..c649067dbe 100644
--- a/document/content/docs/upgrading/4-8/47.mdx
+++ b/document/content/docs/self-host/upgrading/outdated/47.mdx
@@ -5,7 +5,7 @@ description: FastGPT V4.7更新说明
## 1. 修改配置文件
-增加一些 Boolean 值,用于决定不同功能块可以使用哪些模型,同时增加了模型的 logo:[点击查看最新的配置文件](/docs/introduction/development/configuration/)
+增加一些 Boolean 值,用于决定不同功能块可以使用哪些模型,同时增加了模型的 logo:[点击查看最新的配置文件](/docs/self-host/config/json/)
## 2. 初始化脚本
diff --git a/document/content/docs/upgrading/4-8/471.en.mdx b/document/content/docs/self-host/upgrading/outdated/471.en.mdx
similarity index 97%
rename from document/content/docs/upgrading/4-8/471.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/471.en.mdx
index 197a695fe0..5b053b435d 100644
--- a/document/content/docs/upgrading/4-8/471.en.mdx
+++ b/document/content/docs/self-host/upgrading/outdated/471.en.mdx
@@ -17,7 +17,7 @@ This request runs stale data cleanup (removes invalid files, images, Knowledge B
## Update Configuration File
-Added Laf environment configuration. [View the latest configuration file](/docs/introduction/development/configuration/)
+Added Laf environment configuration. [View the latest configuration file](/docs/self-host/config/json/)
## V4.7.1 Release Notes
diff --git a/document/content/docs/upgrading/4-8/471.mdx b/document/content/docs/self-host/upgrading/outdated/471.mdx
similarity index 97%
rename from document/content/docs/upgrading/4-8/471.mdx
rename to document/content/docs/self-host/upgrading/outdated/471.mdx
index 95e9ef4c37..b8a6775336 100644
--- a/document/content/docs/upgrading/4-8/471.mdx
+++ b/document/content/docs/self-host/upgrading/outdated/471.mdx
@@ -17,7 +17,7 @@ curl --location --request POST 'https://{{host}}/api/admin/clearInvalidData' \
## 修改配置文件
-增加了Laf环境配置:[点击查看最新的配置文件](/docs/introduction/development/configuration/)
+增加了Laf环境配置:[点击查看最新的配置文件](/docs/self-host/config/json/)
## V4.7.1 更新说明
diff --git a/document/content/docs/upgrading/4-8/48.en.mdx b/document/content/docs/self-host/upgrading/outdated/48.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/48.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/48.en.mdx
diff --git a/document/content/docs/upgrading/4-8/48.mdx b/document/content/docs/self-host/upgrading/outdated/48.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/48.mdx
rename to document/content/docs/self-host/upgrading/outdated/48.mdx
diff --git a/document/content/docs/upgrading/4-8/481.en.mdx b/document/content/docs/self-host/upgrading/outdated/481.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/481.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/481.en.mdx
diff --git a/document/content/docs/upgrading/4-8/481.mdx b/document/content/docs/self-host/upgrading/outdated/481.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/481.mdx
rename to document/content/docs/self-host/upgrading/outdated/481.mdx
diff --git a/document/content/docs/upgrading/4-8/4810.en.mdx b/document/content/docs/self-host/upgrading/outdated/4810.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/4810.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/4810.en.mdx
diff --git a/document/content/docs/upgrading/4-8/4810.mdx b/document/content/docs/self-host/upgrading/outdated/4810.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/4810.mdx
rename to document/content/docs/self-host/upgrading/outdated/4810.mdx
diff --git a/document/content/docs/upgrading/4-8/4811.en.mdx b/document/content/docs/self-host/upgrading/outdated/4811.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/4811.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/4811.en.mdx
diff --git a/document/content/docs/upgrading/4-8/4811.mdx b/document/content/docs/self-host/upgrading/outdated/4811.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/4811.mdx
rename to document/content/docs/self-host/upgrading/outdated/4811.mdx
diff --git a/document/content/docs/upgrading/4-8/4812.en.mdx b/document/content/docs/self-host/upgrading/outdated/4812.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/4812.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/4812.en.mdx
diff --git a/document/content/docs/upgrading/4-8/4812.mdx b/document/content/docs/self-host/upgrading/outdated/4812.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/4812.mdx
rename to document/content/docs/self-host/upgrading/outdated/4812.mdx
diff --git a/document/content/docs/upgrading/4-8/4813.en.mdx b/document/content/docs/self-host/upgrading/outdated/4813.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/4813.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/4813.en.mdx
diff --git a/document/content/docs/upgrading/4-8/4813.mdx b/document/content/docs/self-host/upgrading/outdated/4813.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/4813.mdx
rename to document/content/docs/self-host/upgrading/outdated/4813.mdx
diff --git a/document/content/docs/upgrading/4-8/4814.en.mdx b/document/content/docs/self-host/upgrading/outdated/4814.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/4814.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/4814.en.mdx
diff --git a/document/content/docs/upgrading/4-8/4814.mdx b/document/content/docs/self-host/upgrading/outdated/4814.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/4814.mdx
rename to document/content/docs/self-host/upgrading/outdated/4814.mdx
diff --git a/document/content/docs/upgrading/4-8/4815.en.mdx b/document/content/docs/self-host/upgrading/outdated/4815.en.mdx
similarity index 97%
rename from document/content/docs/upgrading/4-8/4815.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/4815.en.mdx
index 30f276265c..878b088b93 100644
--- a/document/content/docs/upgrading/4-8/4815.en.mdx
+++ b/document/content/docs/self-host/upgrading/outdated/4815.en.mdx
@@ -52,7 +52,7 @@ This recalculates free-tier user durations. A previous version upgrade did not r
1. New - API Knowledge Base. See [API Knowledge Base Introduction](/docs/introduction/guide/knowledge_base/api_dataset/). The external file library will be deprecated.
2. New - Toolbox page displaying all available system resources. The commercial edition admin panel now offers easier configuration of system plugins and custom categories.
3. New - HTML code in Markdown is now rendered separately. You can choose preview mode, which blocks all scripts and only displays content.
-4. New - Custom system-level file parsing service. See [Integrating Marker PDF Document Parsing](/docs/introduction/development/custom-models/marker/).
+4. New - Custom system-level file parsing service. See [Integrating Marker PDF Document Parsing](/docs/self-host/custom-models/marker/).
5. New - Collections can be reconfigured directly without deleting and re-importing.
6. New - Commercial edition admin panel supports configuring sidebar navigation links.
7. Improved - Base64 image truncation detection.
diff --git a/document/content/docs/upgrading/4-8/4815.mdx b/document/content/docs/self-host/upgrading/outdated/4815.mdx
similarity index 97%
rename from document/content/docs/upgrading/4-8/4815.mdx
rename to document/content/docs/self-host/upgrading/outdated/4815.mdx
index 49ee5bfe8f..f6957217f6 100644
--- a/document/content/docs/upgrading/4-8/4815.mdx
+++ b/document/content/docs/self-host/upgrading/outdated/4815.mdx
@@ -52,7 +52,7 @@ curl --location --request POST 'https://{{host}}/api/admin/init/refreshFreeUser'
1. 新增 - API 知识库, 见 [API 知识库介绍](/docs/introduction/guide/knowledge_base/api_dataset/),外部文件库会被弃用。
2. 新增 - 工具箱页面,展示所有可用的系统资源。商业版后台可更便捷的配置系统插件和自定义分类。
3. 新增 - Markdown 中,HTML代码会被额外渲染,可以选择预览模式,会限制所有 script 脚本,仅做展示。
-4. 新增 - 自定义系统级文件解析服务, 见 [接入 Marker PDF 文档解析](/docs/introduction/development/custom-models/marker/)
+4. 新增 - 自定义系统级文件解析服务, 见 [接入 Marker PDF 文档解析](/docs/self-host/custom-models/marker/)
5. 新增 - 集合直接重新调整参数,无需删除再导入。
6. 新增 - 商业版后台支持配置侧边栏跳转链接。
7. 优化 - base64 图片截取判断。
diff --git a/document/content/docs/upgrading/4-8/4816.en.mdx b/document/content/docs/self-host/upgrading/outdated/4816.en.mdx
similarity index 91%
rename from document/content/docs/upgrading/4-8/4816.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/4816.en.mdx
index d5483b94a4..699734f5f3 100644
--- a/document/content/docs/upgrading/4-8/4816.en.mdx
+++ b/document/content/docs/self-host/upgrading/outdated/4816.en.mdx
@@ -13,7 +13,7 @@ description: FastGPT V4.8.16 Release Notes
### 2. Update configuration file
-Refer to the latest [configuration file documentation](/docs/introduction/development/configuration/) and update your `config.json` or admin model configuration. Add the `provider` field to LLMModel and VectorModel for model categorization. For example:
+Refer to the latest [configuration file documentation](/docs/self-host/config/json/) and update your `config.json` or admin model configuration. Add the `provider` field to LLMModel and VectorModel for model categorization. For example:
```json
{
diff --git a/document/content/docs/upgrading/4-8/4816.mdx b/document/content/docs/self-host/upgrading/outdated/4816.mdx
similarity index 91%
rename from document/content/docs/upgrading/4-8/4816.mdx
rename to document/content/docs/self-host/upgrading/outdated/4816.mdx
index 93d401f61b..5eb1075c54 100644
--- a/document/content/docs/upgrading/4-8/4816.mdx
+++ b/document/content/docs/self-host/upgrading/outdated/4816.mdx
@@ -13,7 +13,7 @@ description: FastGPT V4.8.16 更新说明
### 2. 更新配置文件
-参考最新的[配置文件](/docs/introduction/development/configuration/),更新 `config.json` 或 admin 中模型文件配置。给 LLMModel 和 VectorModel 增加 `provider` 字段,以便进行模型分类。例如:
+参考最新的[配置文件](/docs/self-host/config/json/),更新 `config.json` 或 admin 中模型文件配置。给 LLMModel 和 VectorModel 增加 `provider` 字段,以便进行模型分类。例如:
```json
{
diff --git a/document/content/docs/upgrading/4-8/4817.en.mdx b/document/content/docs/self-host/upgrading/outdated/4817.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/4817.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/4817.en.mdx
diff --git a/document/content/docs/upgrading/4-8/4817.mdx b/document/content/docs/self-host/upgrading/outdated/4817.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/4817.mdx
rename to document/content/docs/self-host/upgrading/outdated/4817.mdx
diff --git a/document/content/docs/upgrading/4-8/4818.en.mdx b/document/content/docs/self-host/upgrading/outdated/4818.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/4818.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/4818.en.mdx
diff --git a/document/content/docs/upgrading/4-8/4818.mdx b/document/content/docs/self-host/upgrading/outdated/4818.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/4818.mdx
rename to document/content/docs/self-host/upgrading/outdated/4818.mdx
diff --git a/document/content/docs/upgrading/4-8/4819.en.mdx b/document/content/docs/self-host/upgrading/outdated/4819.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/4819.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/4819.en.mdx
diff --git a/document/content/docs/upgrading/4-8/4819.mdx b/document/content/docs/self-host/upgrading/outdated/4819.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/4819.mdx
rename to document/content/docs/self-host/upgrading/outdated/4819.mdx
diff --git a/document/content/docs/upgrading/4-8/482.en.mdx b/document/content/docs/self-host/upgrading/outdated/482.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/482.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/482.en.mdx
diff --git a/document/content/docs/upgrading/4-8/482.mdx b/document/content/docs/self-host/upgrading/outdated/482.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/482.mdx
rename to document/content/docs/self-host/upgrading/outdated/482.mdx
diff --git a/document/content/docs/upgrading/4-8/4820.en.mdx b/document/content/docs/self-host/upgrading/outdated/4820.en.mdx
similarity index 97%
rename from document/content/docs/upgrading/4-8/4820.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/4820.en.mdx
index 420409808c..9ec6a46b84 100644
--- a/document/content/docs/upgrading/4-8/4820.en.mdx
+++ b/document/content/docs/self-host/upgrading/outdated/4820.en.mdx
@@ -31,7 +31,7 @@ The script automatically loads models from the old configuration file into the n
## Full Release Notes
-1. New - Visual model parameter configuration, replacing the old config file approach. Over 100 model presets included, with one-click testing for all model types. (Full in-page channel configuration is planned for the next version.) [View model configuration guide](/docs/introduction/development/modelconfig/intro/)
+1. New - Visual model parameter configuration, replacing the old config file approach. Over 100 model presets included, with one-click testing for all model types. (Full in-page channel configuration is planned for the next version.) [View model configuration guide](/docs/self-host/config/model/intro/)
2. New - DeepSeek Reasoner model supports outputting the thinking process.
3. New - Usage record export and dashboard.
4. New - Markdown syntax extension supporting audio and video (via `audio` and `video` code blocks).
diff --git a/document/content/docs/upgrading/4-8/4820.mdx b/document/content/docs/self-host/upgrading/outdated/4820.mdx
similarity index 97%
rename from document/content/docs/upgrading/4-8/4820.mdx
rename to document/content/docs/self-host/upgrading/outdated/4820.mdx
index 18950d6732..0748ff383b 100644
--- a/document/content/docs/upgrading/4-8/4820.mdx
+++ b/document/content/docs/self-host/upgrading/outdated/4820.mdx
@@ -31,7 +31,7 @@ curl --location --request POST 'https://{{host}}/api/admin/initv4820' \
## 完整更新内容
-1. 新增 - 可视化模型参数配置,取代原配置文件配置模型。预设超过 100 个模型配置。同时支持所有类型模型的一键测试。(预计下个版本会完全支持在页面上配置渠道)。[点击查看模型配置方案](/docs/introduction/development/modelconfig/intro/)
+1. 新增 - 可视化模型参数配置,取代原配置文件配置模型。预设超过 100 个模型配置。同时支持所有类型模型的一键测试。(预计下个版本会完全支持在页面上配置渠道)。[点击查看模型配置方案](/docs/self-host/config/model/intro/)
2. 新增 - DeepSeek resoner 模型支持输出思考过程。
3. 新增 - 使用记录导出和仪表盘。
4. 新增 - markdown 语法扩展,支持音视频(代码块 audio 和 video)。
diff --git a/document/content/docs/upgrading/4-8/4821.en.mdx b/document/content/docs/self-host/upgrading/outdated/4821.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/4821.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/4821.en.mdx
diff --git a/document/content/docs/upgrading/4-8/4821.mdx b/document/content/docs/self-host/upgrading/outdated/4821.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/4821.mdx
rename to document/content/docs/self-host/upgrading/outdated/4821.mdx
diff --git a/document/content/docs/upgrading/4-8/4822.en.mdx b/document/content/docs/self-host/upgrading/outdated/4822.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/4822.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/4822.en.mdx
diff --git a/document/content/docs/upgrading/4-8/4822.mdx b/document/content/docs/self-host/upgrading/outdated/4822.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/4822.mdx
rename to document/content/docs/self-host/upgrading/outdated/4822.mdx
diff --git a/document/content/docs/upgrading/4-8/4823.en.mdx b/document/content/docs/self-host/upgrading/outdated/4823.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/4823.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/4823.en.mdx
diff --git a/document/content/docs/upgrading/4-8/4823.mdx b/document/content/docs/self-host/upgrading/outdated/4823.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/4823.mdx
rename to document/content/docs/self-host/upgrading/outdated/4823.mdx
diff --git a/document/content/docs/upgrading/4-8/483.en.mdx b/document/content/docs/self-host/upgrading/outdated/483.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/483.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/483.en.mdx
diff --git a/document/content/docs/upgrading/4-8/483.mdx b/document/content/docs/self-host/upgrading/outdated/483.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/483.mdx
rename to document/content/docs/self-host/upgrading/outdated/483.mdx
diff --git a/document/content/docs/upgrading/4-8/484.en.mdx b/document/content/docs/self-host/upgrading/outdated/484.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/484.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/484.en.mdx
diff --git a/document/content/docs/upgrading/4-8/484.mdx b/document/content/docs/self-host/upgrading/outdated/484.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/484.mdx
rename to document/content/docs/self-host/upgrading/outdated/484.mdx
diff --git a/document/content/docs/upgrading/4-8/485.en.mdx b/document/content/docs/self-host/upgrading/outdated/485.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/485.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/485.en.mdx
diff --git a/document/content/docs/upgrading/4-8/485.mdx b/document/content/docs/self-host/upgrading/outdated/485.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/485.mdx
rename to document/content/docs/self-host/upgrading/outdated/485.mdx
diff --git a/document/content/docs/upgrading/4-8/486.en.mdx b/document/content/docs/self-host/upgrading/outdated/486.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/486.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/486.en.mdx
diff --git a/document/content/docs/upgrading/4-8/486.mdx b/document/content/docs/self-host/upgrading/outdated/486.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/486.mdx
rename to document/content/docs/self-host/upgrading/outdated/486.mdx
diff --git a/document/content/docs/upgrading/4-8/487.en.mdx b/document/content/docs/self-host/upgrading/outdated/487.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/487.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/487.en.mdx
diff --git a/document/content/docs/upgrading/4-8/487.mdx b/document/content/docs/self-host/upgrading/outdated/487.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/487.mdx
rename to document/content/docs/self-host/upgrading/outdated/487.mdx
diff --git a/document/content/docs/upgrading/4-8/488.en.mdx b/document/content/docs/self-host/upgrading/outdated/488.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/488.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/488.en.mdx
diff --git a/document/content/docs/upgrading/4-8/488.mdx b/document/content/docs/self-host/upgrading/outdated/488.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/488.mdx
rename to document/content/docs/self-host/upgrading/outdated/488.mdx
diff --git a/document/content/docs/upgrading/4-8/489.en.mdx b/document/content/docs/self-host/upgrading/outdated/489.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/489.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/489.en.mdx
diff --git a/document/content/docs/upgrading/4-8/489.mdx b/document/content/docs/self-host/upgrading/outdated/489.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-8/489.mdx
rename to document/content/docs/self-host/upgrading/outdated/489.mdx
diff --git a/document/content/docs/upgrading/4-9/490.en.mdx b/document/content/docs/self-host/upgrading/outdated/490.en.mdx
similarity index 98%
rename from document/content/docs/upgrading/4-9/490.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/490.en.mdx
index 8cf36113f0..a67eccf03d 100644
--- a/document/content/docs/upgrading/4-9/490.en.mdx
+++ b/document/content/docs/self-host/upgrading/outdated/490.en.mdx
@@ -160,7 +160,7 @@ curl --location --request POST 'https://{{host}}/api/admin/initv490' \
## Compatibility & Deprecations
-1. Deprecated — The previous custom file parsing solution for private deployments. Please update to the latest configuration. [See PDF Enhanced Parsing Configuration](/docs/introduction/development/configuration/#使用-doc2x-解析-pdf-文件)
+1. Deprecated — The previous custom file parsing solution for private deployments. Please update to the latest configuration. [See PDF Enhanced Parsing Configuration](/docs/self-host/config/json/#使用-doc2x-解析-pdf-文件)
2. Deprecated — The legacy local file upload API: `/api/core/dataset/collection/create/file` (previously available only in the Pro edition). This endpoint has been replaced by: `/api/core/dataset/collection/create/localFile`
3. Maintenance ending, deprecation upcoming — External file library APIs. Use the API File Library as a replacement.
4. API Update — For endpoints that include a `trainingType` field (file upload to knowledge base, link collection creation, API file library, push chunk data, etc.), `trainingType` will only support `chunk` and `QA` modes going forward. Enhanced indexing mode will use a separate field: `autoIndexes`. Legacy `trainingType=auto` code is still supported for now, but please migrate to the new API format as soon as possible. See: [Knowledge Base OpenAPI Documentation](/docs/openapi/dataset.md)
diff --git a/document/content/docs/upgrading/4-9/490.mdx b/document/content/docs/self-host/upgrading/outdated/490.mdx
similarity index 98%
rename from document/content/docs/upgrading/4-9/490.mdx
rename to document/content/docs/self-host/upgrading/outdated/490.mdx
index b9e1eaf970..0c24c31818 100644
--- a/document/content/docs/upgrading/4-9/490.mdx
+++ b/document/content/docs/self-host/upgrading/outdated/490.mdx
@@ -160,7 +160,7 @@ curl --location --request POST 'https://{{host}}/api/admin/initv490' \
## 兼容 & 弃用
-1. 弃用 - 之前私有化部署的自定义文件解析方案,请同步更新到最新的配置方案。[点击查看 PDF 增强解析配置](/docs/introduction/development/configuration/#使用-doc2x-解析-pdf-文件)
+1. 弃用 - 之前私有化部署的自定义文件解析方案,请同步更新到最新的配置方案。[点击查看 PDF 增强解析配置](/docs/self-host/config/json/#使用-doc2x-解析-pdf-文件)
2. 弃用 - 弃用旧版本地文件上传 API:/api/core/dataset/collection/create/file(以前仅商业版可用的 API,该接口已放切换成:/api/core/dataset/collection/create/localFile)
3. 停止维护,即将弃用 - 外部文件库相关 API,可通过 API 文件库替代。
4. API更新 - 上传文件至知识库、创建连接集合、API 文件库、推送分块数据等带有 `trainingType` 字段的接口,`trainingType`字段未来仅支持`chunk`和`QA`两种模式。增强索引模式将设置单独字段:`autoIndexes`,目前仍有适配旧版`trainingType=auto`代码,但请尽快变更成新接口类型。具体可见:[知识库 OpenAPI 文档](/docs/openapi/dataset.md)
diff --git a/document/content/docs/upgrading/4-9/491.en.mdx b/document/content/docs/self-host/upgrading/outdated/491.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-9/491.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/491.en.mdx
diff --git a/document/content/docs/upgrading/4-9/491.mdx b/document/content/docs/self-host/upgrading/outdated/491.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-9/491.mdx
rename to document/content/docs/self-host/upgrading/outdated/491.mdx
diff --git a/document/content/docs/upgrading/4-9/4910.en.mdx b/document/content/docs/self-host/upgrading/outdated/4910.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-9/4910.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/4910.en.mdx
diff --git a/document/content/docs/upgrading/4-9/4910.mdx b/document/content/docs/self-host/upgrading/outdated/4910.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-9/4910.mdx
rename to document/content/docs/self-host/upgrading/outdated/4910.mdx
diff --git a/document/content/docs/upgrading/4-9/4911.en.mdx b/document/content/docs/self-host/upgrading/outdated/4911.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-9/4911.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/4911.en.mdx
diff --git a/document/content/docs/upgrading/4-9/4911.mdx b/document/content/docs/self-host/upgrading/outdated/4911.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-9/4911.mdx
rename to document/content/docs/self-host/upgrading/outdated/4911.mdx
diff --git a/document/content/docs/upgrading/4-9/4912.en.mdx b/document/content/docs/self-host/upgrading/outdated/4912.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-9/4912.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/4912.en.mdx
diff --git a/document/content/docs/upgrading/4-9/4912.mdx b/document/content/docs/self-host/upgrading/outdated/4912.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-9/4912.mdx
rename to document/content/docs/self-host/upgrading/outdated/4912.mdx
diff --git a/document/content/docs/upgrading/4-9/4913.en.mdx b/document/content/docs/self-host/upgrading/outdated/4913.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-9/4913.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/4913.en.mdx
diff --git a/document/content/docs/upgrading/4-9/4913.mdx b/document/content/docs/self-host/upgrading/outdated/4913.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-9/4913.mdx
rename to document/content/docs/self-host/upgrading/outdated/4913.mdx
diff --git a/document/content/docs/upgrading/4-9/4914.en.mdx b/document/content/docs/self-host/upgrading/outdated/4914.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-9/4914.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/4914.en.mdx
diff --git a/document/content/docs/upgrading/4-9/4914.mdx b/document/content/docs/self-host/upgrading/outdated/4914.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-9/4914.mdx
rename to document/content/docs/self-host/upgrading/outdated/4914.mdx
diff --git a/document/content/docs/upgrading/4-9/492.en.mdx b/document/content/docs/self-host/upgrading/outdated/492.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-9/492.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/492.en.mdx
diff --git a/document/content/docs/upgrading/4-9/492.mdx b/document/content/docs/self-host/upgrading/outdated/492.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-9/492.mdx
rename to document/content/docs/self-host/upgrading/outdated/492.mdx
diff --git a/document/content/docs/upgrading/4-9/493.en.mdx b/document/content/docs/self-host/upgrading/outdated/493.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-9/493.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/493.en.mdx
diff --git a/document/content/docs/upgrading/4-9/493.mdx b/document/content/docs/self-host/upgrading/outdated/493.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-9/493.mdx
rename to document/content/docs/self-host/upgrading/outdated/493.mdx
diff --git a/document/content/docs/upgrading/4-9/494.en.mdx b/document/content/docs/self-host/upgrading/outdated/494.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-9/494.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/494.en.mdx
diff --git a/document/content/docs/upgrading/4-9/494.mdx b/document/content/docs/self-host/upgrading/outdated/494.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-9/494.mdx
rename to document/content/docs/self-host/upgrading/outdated/494.mdx
diff --git a/document/content/docs/upgrading/4-9/495.en.mdx b/document/content/docs/self-host/upgrading/outdated/495.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-9/495.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/495.en.mdx
diff --git a/document/content/docs/upgrading/4-9/495.mdx b/document/content/docs/self-host/upgrading/outdated/495.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-9/495.mdx
rename to document/content/docs/self-host/upgrading/outdated/495.mdx
diff --git a/document/content/docs/upgrading/4-9/496.en.mdx b/document/content/docs/self-host/upgrading/outdated/496.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-9/496.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/496.en.mdx
diff --git a/document/content/docs/upgrading/4-9/496.mdx b/document/content/docs/self-host/upgrading/outdated/496.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-9/496.mdx
rename to document/content/docs/self-host/upgrading/outdated/496.mdx
diff --git a/document/content/docs/upgrading/4-9/497.en.mdx b/document/content/docs/self-host/upgrading/outdated/497.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-9/497.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/497.en.mdx
diff --git a/document/content/docs/upgrading/4-9/497.mdx b/document/content/docs/self-host/upgrading/outdated/497.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-9/497.mdx
rename to document/content/docs/self-host/upgrading/outdated/497.mdx
diff --git a/document/content/docs/upgrading/4-9/498.en.mdx b/document/content/docs/self-host/upgrading/outdated/498.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-9/498.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/498.en.mdx
diff --git a/document/content/docs/upgrading/4-9/498.mdx b/document/content/docs/self-host/upgrading/outdated/498.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-9/498.mdx
rename to document/content/docs/self-host/upgrading/outdated/498.mdx
diff --git a/document/content/docs/upgrading/4-9/499.en.mdx b/document/content/docs/self-host/upgrading/outdated/499.en.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-9/499.en.mdx
rename to document/content/docs/self-host/upgrading/outdated/499.en.mdx
diff --git a/document/content/docs/upgrading/4-9/499.mdx b/document/content/docs/self-host/upgrading/outdated/499.mdx
similarity index 100%
rename from document/content/docs/upgrading/4-9/499.mdx
rename to document/content/docs/self-host/upgrading/outdated/499.mdx
diff --git a/document/content/docs/upgrading/4-8/meta.en.json b/document/content/docs/self-host/upgrading/outdated/meta.en.json
similarity index 71%
rename from document/content/docs/upgrading/4-8/meta.en.json
rename to document/content/docs/self-host/upgrading/outdated/meta.en.json
index 02d7e3d224..fc4e59a14a 100644
--- a/document/content/docs/upgrading/4-8/meta.en.json
+++ b/document/content/docs/self-host/upgrading/outdated/meta.en.json
@@ -1,7 +1,26 @@
{
- "title": "<4.9.0",
+ "title": "<4.12.0",
"description": "",
"pages": [
+ "4111",
+ "4110",
+ "4101",
+ "4100",
+ "4914",
+ "4913",
+ "4912",
+ "4911",
+ "4910",
+ "499",
+ "498",
+ "497",
+ "496",
+ "495",
+ "494",
+ "493",
+ "492",
+ "491",
+ "490",
"4823",
"4822",
"4821",
diff --git a/document/content/docs/upgrading/4-8/meta.json b/document/content/docs/self-host/upgrading/outdated/meta.json
similarity index 71%
rename from document/content/docs/upgrading/4-8/meta.json
rename to document/content/docs/self-host/upgrading/outdated/meta.json
index 02d7e3d224..fc4e59a14a 100644
--- a/document/content/docs/upgrading/4-8/meta.json
+++ b/document/content/docs/self-host/upgrading/outdated/meta.json
@@ -1,7 +1,26 @@
{
- "title": "<4.9.0",
+ "title": "<4.12.0",
"description": "",
"pages": [
+ "4111",
+ "4110",
+ "4101",
+ "4100",
+ "4914",
+ "4913",
+ "4912",
+ "4911",
+ "4910",
+ "499",
+ "498",
+ "497",
+ "496",
+ "495",
+ "494",
+ "493",
+ "492",
+ "491",
+ "490",
"4823",
"4822",
"4821",
diff --git a/document/content/docs/upgrading/index.en.mdx b/document/content/docs/self-host/upgrading/upgrade-intruction.en.mdx
similarity index 99%
rename from document/content/docs/upgrading/index.en.mdx
rename to document/content/docs/self-host/upgrading/upgrade-intruction.en.mdx
index f6f7620e46..d2cf0b7816 100644
--- a/document/content/docs/upgrading/index.en.mdx
+++ b/document/content/docs/self-host/upgrading/upgrade-intruction.en.mdx
@@ -1,5 +1,5 @@
---
-title: Version Upgrade Guide
+title: Upgrade Guide
description: FastGPT version upgrade guide
---
diff --git a/document/content/docs/upgrading/index.mdx b/document/content/docs/self-host/upgrading/upgrade-intruction.mdx
similarity index 99%
rename from document/content/docs/upgrading/index.mdx
rename to document/content/docs/self-host/upgrading/upgrade-intruction.mdx
index 62bcb679a1..ad56f2cf1b 100644
--- a/document/content/docs/upgrading/index.mdx
+++ b/document/content/docs/self-host/upgrading/upgrade-intruction.mdx
@@ -1,5 +1,5 @@
---
-title: 版本升级说明
+title: 升级说明
description: FastGPT 版本升级说明
---
diff --git a/document/content/docs/toc.en.mdx b/document/content/docs/toc.en.mdx
index 3935ed2db6..3d10706de8 100644
--- a/document/content/docs/toc.en.mdx
+++ b/document/content/docs/toc.en.mdx
@@ -10,35 +10,11 @@ description: FastGPT Toc
- [/en/docs/faq/external_channel_integration](/en/docs/faq/external_channel_integration)
- [/en/docs/faq/other](/en/docs/faq/other)
- [/en/docs/faq/points_consumption](/en/docs/faq/points_consumption)
-- [/en/docs/introduction/cloud](/en/docs/introduction/cloud)
+- [/en/docs/introduction/cloud/faq](/en/docs/introduction/cloud/faq)
+- [/en/docs/introduction/cloud/intro](/en/docs/introduction/cloud/intro)
+- [/en/docs/introduction/cloud/privacy](/en/docs/introduction/cloud/privacy)
+- [/en/docs/introduction/cloud/terms](/en/docs/introduction/cloud/terms)
- [/en/docs/introduction/commercial](/en/docs/introduction/commercial)
-- [/en/docs/introduction/development/configuration](/en/docs/introduction/development/configuration)
-- [/en/docs/introduction/development/custom-models/bge-rerank](/en/docs/introduction/development/custom-models/bge-rerank)
-- [/en/docs/introduction/development/custom-models/chatglm2](/en/docs/introduction/development/custom-models/chatglm2)
-- [/en/docs/introduction/development/custom-models/chatglm2-m3e](/en/docs/introduction/development/custom-models/chatglm2-m3e)
-- [/en/docs/introduction/development/custom-models/m3e](/en/docs/introduction/development/custom-models/m3e)
-- [/en/docs/introduction/development/custom-models/marker](/en/docs/introduction/development/custom-models/marker)
-- [/en/docs/introduction/development/custom-models/mineru](/en/docs/introduction/development/custom-models/mineru)
-- [/en/docs/introduction/development/custom-models/ollama](/en/docs/introduction/development/custom-models/ollama)
-- [/en/docs/introduction/development/custom-models/xinference](/en/docs/introduction/development/custom-models/xinference)
-- [/en/docs/introduction/development/design/dataset](/en/docs/introduction/development/design/dataset)
-- [/en/docs/introduction/development/design/design_plugin](/en/docs/introduction/development/design/design_plugin)
-- [/en/docs/introduction/development/docker](/en/docs/introduction/development/docker)
-- [/en/docs/introduction/development/faq](/en/docs/introduction/development/faq)
-- [/en/docs/introduction/development/intro](/en/docs/introduction/development/intro)
-- [/en/docs/introduction/development/migration/docker_db](/en/docs/introduction/development/migration/docker_db)
-- [/en/docs/introduction/development/migration/docker_mongo](/en/docs/introduction/development/migration/docker_mongo)
-- [/en/docs/introduction/development/modelConfig/ai-proxy](/en/docs/introduction/development/modelConfig/ai-proxy)
-- [/en/docs/introduction/development/modelConfig/intro](/en/docs/introduction/development/modelConfig/intro)
-- [/en/docs/introduction/development/modelConfig/one-api](/en/docs/introduction/development/modelConfig/one-api)
-- [/en/docs/introduction/development/modelConfig/ppio](/en/docs/introduction/development/modelConfig/ppio)
-- [/en/docs/introduction/development/modelConfig/siliconCloud](/en/docs/introduction/development/modelConfig/siliconCloud)
-- [/en/docs/introduction/development/object-storage](/en/docs/introduction/development/object-storage)
-- [/en/docs/introduction/development/proxy/cloudflare](/en/docs/introduction/development/proxy/cloudflare)
-- [/en/docs/introduction/development/proxy/http_proxy](/en/docs/introduction/development/proxy/http_proxy)
-- [/en/docs/introduction/development/proxy/nginx](/en/docs/introduction/development/proxy/nginx)
-- [/en/docs/introduction/development/sealos](/en/docs/introduction/development/sealos)
-- [/en/docs/introduction/development/signoz](/en/docs/introduction/development/signoz)
- [/en/docs/introduction/guide/DialogBoxes/htmlRendering](/en/docs/introduction/guide/DialogBoxes/htmlRendering)
- [/en/docs/introduction/guide/DialogBoxes/quoteList](/en/docs/introduction/guide/DialogBoxes/quoteList)
- [/en/docs/introduction/guide/admin/sso](/en/docs/introduction/guide/admin/sso)
@@ -92,102 +68,127 @@ description: FastGPT Toc
- [/en/docs/introduction/guide/team_permissions/invitation_link](/en/docs/introduction/guide/team_permissions/invitation_link)
- [/en/docs/introduction/guide/team_permissions/team_roles_permissions](/en/docs/introduction/guide/team_permissions/team_roles_permissions)
- [/en/docs/introduction/index](/en/docs/introduction/index)
+- [/en/docs/introduction/opensource/intro](/en/docs/introduction/opensource/intro)
+- [/en/docs/introduction/opensource/license](/en/docs/introduction/opensource/license)
- [/en/docs/openapi/app](/en/docs/openapi/app)
- [/en/docs/openapi/chat](/en/docs/openapi/chat)
- [/en/docs/openapi/dataset](/en/docs/openapi/dataset)
- [/en/docs/openapi/index](/en/docs/openapi/index)
- [/en/docs/openapi/intro](/en/docs/openapi/intro)
- [/en/docs/openapi/share](/en/docs/openapi/share)
-- [/en/docs/protocol/open-source](/en/docs/protocol/open-source)
-- [/en/docs/protocol/privacy](/en/docs/protocol/privacy)
-- [/en/docs/protocol/terms](/en/docs/protocol/terms)
-- [/en/docs/upgrading/4-10/4100](/en/docs/upgrading/4-10/4100)
-- [/en/docs/upgrading/4-10/4101](/en/docs/upgrading/4-10/4101)
-- [/en/docs/upgrading/4-11/4110](/en/docs/upgrading/4-11/4110)
-- [/en/docs/upgrading/4-11/4111](/en/docs/upgrading/4-11/4111)
-- [/en/docs/upgrading/4-12/4120](/en/docs/upgrading/4-12/4120)
-- [/en/docs/upgrading/4-12/4121](/en/docs/upgrading/4-12/4121)
-- [/en/docs/upgrading/4-12/4122](/en/docs/upgrading/4-12/4122)
-- [/en/docs/upgrading/4-12/4123](/en/docs/upgrading/4-12/4123)
-- [/en/docs/upgrading/4-12/4124](/en/docs/upgrading/4-12/4124)
-- [/en/docs/upgrading/4-13/4130](/en/docs/upgrading/4-13/4130)
-- [/en/docs/upgrading/4-13/4131](/en/docs/upgrading/4-13/4131)
-- [/en/docs/upgrading/4-13/4132](/en/docs/upgrading/4-13/4132)
-- [/en/docs/upgrading/4-14/4140](/en/docs/upgrading/4-14/4140)
-- [/en/docs/upgrading/4-14/4141](/en/docs/upgrading/4-14/4141)
-- [/en/docs/upgrading/4-14/4142](/en/docs/upgrading/4-14/4142)
-- [/en/docs/upgrading/4-14/4143](/en/docs/upgrading/4-14/4143)
-- [/en/docs/upgrading/4-14/4144](/en/docs/upgrading/4-14/4144)
-- [/en/docs/upgrading/4-14/4145](/en/docs/upgrading/4-14/4145)
-- [/en/docs/upgrading/4-14/41451](/en/docs/upgrading/4-14/41451)
-- [/en/docs/upgrading/4-14/4146](/en/docs/upgrading/4-14/4146)
-- [/en/docs/upgrading/4-14/4147](/en/docs/upgrading/4-14/4147)
-- [/en/docs/upgrading/4-14/4148](/en/docs/upgrading/4-14/4148)
-- [/en/docs/upgrading/4-8/40](/en/docs/upgrading/4-8/40)
-- [/en/docs/upgrading/4-8/41](/en/docs/upgrading/4-8/41)
-- [/en/docs/upgrading/4-8/42](/en/docs/upgrading/4-8/42)
-- [/en/docs/upgrading/4-8/421](/en/docs/upgrading/4-8/421)
-- [/en/docs/upgrading/4-8/43](/en/docs/upgrading/4-8/43)
-- [/en/docs/upgrading/4-8/44](/en/docs/upgrading/4-8/44)
-- [/en/docs/upgrading/4-8/441](/en/docs/upgrading/4-8/441)
-- [/en/docs/upgrading/4-8/442](/en/docs/upgrading/4-8/442)
-- [/en/docs/upgrading/4-8/445](/en/docs/upgrading/4-8/445)
-- [/en/docs/upgrading/4-8/446](/en/docs/upgrading/4-8/446)
-- [/en/docs/upgrading/4-8/447](/en/docs/upgrading/4-8/447)
-- [/en/docs/upgrading/4-8/45](/en/docs/upgrading/4-8/45)
-- [/en/docs/upgrading/4-8/451](/en/docs/upgrading/4-8/451)
-- [/en/docs/upgrading/4-8/452](/en/docs/upgrading/4-8/452)
-- [/en/docs/upgrading/4-8/46](/en/docs/upgrading/4-8/46)
-- [/en/docs/upgrading/4-8/461](/en/docs/upgrading/4-8/461)
-- [/en/docs/upgrading/4-8/462](/en/docs/upgrading/4-8/462)
-- [/en/docs/upgrading/4-8/463](/en/docs/upgrading/4-8/463)
-- [/en/docs/upgrading/4-8/464](/en/docs/upgrading/4-8/464)
-- [/en/docs/upgrading/4-8/465](/en/docs/upgrading/4-8/465)
-- [/en/docs/upgrading/4-8/466](/en/docs/upgrading/4-8/466)
-- [/en/docs/upgrading/4-8/467](/en/docs/upgrading/4-8/467)
-- [/en/docs/upgrading/4-8/468](/en/docs/upgrading/4-8/468)
-- [/en/docs/upgrading/4-8/469](/en/docs/upgrading/4-8/469)
-- [/en/docs/upgrading/4-8/47](/en/docs/upgrading/4-8/47)
-- [/en/docs/upgrading/4-8/471](/en/docs/upgrading/4-8/471)
-- [/en/docs/upgrading/4-8/48](/en/docs/upgrading/4-8/48)
-- [/en/docs/upgrading/4-8/481](/en/docs/upgrading/4-8/481)
-- [/en/docs/upgrading/4-8/4810](/en/docs/upgrading/4-8/4810)
-- [/en/docs/upgrading/4-8/4811](/en/docs/upgrading/4-8/4811)
-- [/en/docs/upgrading/4-8/4812](/en/docs/upgrading/4-8/4812)
-- [/en/docs/upgrading/4-8/4813](/en/docs/upgrading/4-8/4813)
-- [/en/docs/upgrading/4-8/4814](/en/docs/upgrading/4-8/4814)
-- [/en/docs/upgrading/4-8/4815](/en/docs/upgrading/4-8/4815)
-- [/en/docs/upgrading/4-8/4816](/en/docs/upgrading/4-8/4816)
-- [/en/docs/upgrading/4-8/4817](/en/docs/upgrading/4-8/4817)
-- [/en/docs/upgrading/4-8/4818](/en/docs/upgrading/4-8/4818)
-- [/en/docs/upgrading/4-8/4819](/en/docs/upgrading/4-8/4819)
-- [/en/docs/upgrading/4-8/482](/en/docs/upgrading/4-8/482)
-- [/en/docs/upgrading/4-8/4820](/en/docs/upgrading/4-8/4820)
-- [/en/docs/upgrading/4-8/4821](/en/docs/upgrading/4-8/4821)
-- [/en/docs/upgrading/4-8/4822](/en/docs/upgrading/4-8/4822)
-- [/en/docs/upgrading/4-8/4823](/en/docs/upgrading/4-8/4823)
-- [/en/docs/upgrading/4-8/483](/en/docs/upgrading/4-8/483)
-- [/en/docs/upgrading/4-8/484](/en/docs/upgrading/4-8/484)
-- [/en/docs/upgrading/4-8/485](/en/docs/upgrading/4-8/485)
-- [/en/docs/upgrading/4-8/486](/en/docs/upgrading/4-8/486)
-- [/en/docs/upgrading/4-8/487](/en/docs/upgrading/4-8/487)
-- [/en/docs/upgrading/4-8/488](/en/docs/upgrading/4-8/488)
-- [/en/docs/upgrading/4-8/489](/en/docs/upgrading/4-8/489)
-- [/en/docs/upgrading/4-9/490](/en/docs/upgrading/4-9/490)
-- [/en/docs/upgrading/4-9/491](/en/docs/upgrading/4-9/491)
-- [/en/docs/upgrading/4-9/4910](/en/docs/upgrading/4-9/4910)
-- [/en/docs/upgrading/4-9/4911](/en/docs/upgrading/4-9/4911)
-- [/en/docs/upgrading/4-9/4912](/en/docs/upgrading/4-9/4912)
-- [/en/docs/upgrading/4-9/4913](/en/docs/upgrading/4-9/4913)
-- [/en/docs/upgrading/4-9/4914](/en/docs/upgrading/4-9/4914)
-- [/en/docs/upgrading/4-9/492](/en/docs/upgrading/4-9/492)
-- [/en/docs/upgrading/4-9/493](/en/docs/upgrading/4-9/493)
-- [/en/docs/upgrading/4-9/494](/en/docs/upgrading/4-9/494)
-- [/en/docs/upgrading/4-9/495](/en/docs/upgrading/4-9/495)
-- [/en/docs/upgrading/4-9/496](/en/docs/upgrading/4-9/496)
-- [/en/docs/upgrading/4-9/497](/en/docs/upgrading/4-9/497)
-- [/en/docs/upgrading/4-9/498](/en/docs/upgrading/4-9/498)
-- [/en/docs/upgrading/4-9/499](/en/docs/upgrading/4-9/499)
+- [/en/docs/self-host/config/json](/en/docs/self-host/config/json)
+- [/en/docs/self-host/config/model/ai-proxy](/en/docs/self-host/config/model/ai-proxy)
+- [/en/docs/self-host/config/model/intro](/en/docs/self-host/config/model/intro)
+- [/en/docs/self-host/config/model/one-api](/en/docs/self-host/config/model/one-api)
+- [/en/docs/self-host/config/model/ppio](/en/docs/self-host/config/model/ppio)
+- [/en/docs/self-host/config/model/siliconCloud](/en/docs/self-host/config/model/siliconCloud)
+- [/en/docs/self-host/config/object-storage](/en/docs/self-host/config/object-storage)
+- [/en/docs/self-host/config/signoz](/en/docs/self-host/config/signoz)
+- [/en/docs/self-host/custom-models/bge-rerank](/en/docs/self-host/custom-models/bge-rerank)
+- [/en/docs/self-host/custom-models/chatglm2](/en/docs/self-host/custom-models/chatglm2)
+- [/en/docs/self-host/custom-models/chatglm2-m3e](/en/docs/self-host/custom-models/chatglm2-m3e)
+- [/en/docs/self-host/custom-models/m3e](/en/docs/self-host/custom-models/m3e)
+- [/en/docs/self-host/custom-models/marker](/en/docs/self-host/custom-models/marker)
+- [/en/docs/self-host/custom-models/mineru](/en/docs/self-host/custom-models/mineru)
+- [/en/docs/self-host/custom-models/ollama](/en/docs/self-host/custom-models/ollama)
+- [/en/docs/self-host/custom-models/xinference](/en/docs/self-host/custom-models/xinference)
+- [/en/docs/self-host/deploy/docker](/en/docs/self-host/deploy/docker)
+- [/en/docs/self-host/deploy/sealos](/en/docs/self-host/deploy/sealos)
+- [/en/docs/self-host/design/dataset](/en/docs/self-host/design/dataset)
+- [/en/docs/self-host/design/design_plugin](/en/docs/self-host/design/design_plugin)
+- [/en/docs/self-host/dev](/en/docs/self-host/dev)
+- [/en/docs/self-host/faq](/en/docs/self-host/faq)
+- [/en/docs/self-host/index](/en/docs/self-host/index)
+- [/en/docs/self-host/migration/docker_db](/en/docs/self-host/migration/docker_db)
+- [/en/docs/self-host/migration/docker_mongo](/en/docs/self-host/migration/docker_mongo)
+- [/en/docs/self-host/upgrading/4-12/4120](/en/docs/self-host/upgrading/4-12/4120)
+- [/en/docs/self-host/upgrading/4-12/4121](/en/docs/self-host/upgrading/4-12/4121)
+- [/en/docs/self-host/upgrading/4-12/4122](/en/docs/self-host/upgrading/4-12/4122)
+- [/en/docs/self-host/upgrading/4-12/4123](/en/docs/self-host/upgrading/4-12/4123)
+- [/en/docs/self-host/upgrading/4-12/4124](/en/docs/self-host/upgrading/4-12/4124)
+- [/en/docs/self-host/upgrading/4-13/4130](/en/docs/self-host/upgrading/4-13/4130)
+- [/en/docs/self-host/upgrading/4-13/4131](/en/docs/self-host/upgrading/4-13/4131)
+- [/en/docs/self-host/upgrading/4-13/4132](/en/docs/self-host/upgrading/4-13/4132)
+- [/en/docs/self-host/upgrading/4-14/4140](/en/docs/self-host/upgrading/4-14/4140)
+- [/en/docs/self-host/upgrading/4-14/4141](/en/docs/self-host/upgrading/4-14/4141)
+- [/en/docs/self-host/upgrading/4-14/4142](/en/docs/self-host/upgrading/4-14/4142)
+- [/en/docs/self-host/upgrading/4-14/4143](/en/docs/self-host/upgrading/4-14/4143)
+- [/en/docs/self-host/upgrading/4-14/4144](/en/docs/self-host/upgrading/4-14/4144)
+- [/en/docs/self-host/upgrading/4-14/4145](/en/docs/self-host/upgrading/4-14/4145)
+- [/en/docs/self-host/upgrading/4-14/41451](/en/docs/self-host/upgrading/4-14/41451)
+- [/en/docs/self-host/upgrading/4-14/4146](/en/docs/self-host/upgrading/4-14/4146)
+- [/en/docs/self-host/upgrading/4-14/4147](/en/docs/self-host/upgrading/4-14/4147)
+- [/en/docs/self-host/upgrading/4-14/4148](/en/docs/self-host/upgrading/4-14/4148)
+- [/en/docs/self-host/upgrading/outdated/40](/en/docs/self-host/upgrading/outdated/40)
+- [/en/docs/self-host/upgrading/outdated/41](/en/docs/self-host/upgrading/outdated/41)
+- [/en/docs/self-host/upgrading/outdated/4100](/en/docs/self-host/upgrading/outdated/4100)
+- [/en/docs/self-host/upgrading/outdated/4101](/en/docs/self-host/upgrading/outdated/4101)
+- [/en/docs/self-host/upgrading/outdated/4110](/en/docs/self-host/upgrading/outdated/4110)
+- [/en/docs/self-host/upgrading/outdated/4111](/en/docs/self-host/upgrading/outdated/4111)
+- [/en/docs/self-host/upgrading/outdated/42](/en/docs/self-host/upgrading/outdated/42)
+- [/en/docs/self-host/upgrading/outdated/421](/en/docs/self-host/upgrading/outdated/421)
+- [/en/docs/self-host/upgrading/outdated/43](/en/docs/self-host/upgrading/outdated/43)
+- [/en/docs/self-host/upgrading/outdated/44](/en/docs/self-host/upgrading/outdated/44)
+- [/en/docs/self-host/upgrading/outdated/441](/en/docs/self-host/upgrading/outdated/441)
+- [/en/docs/self-host/upgrading/outdated/442](/en/docs/self-host/upgrading/outdated/442)
+- [/en/docs/self-host/upgrading/outdated/445](/en/docs/self-host/upgrading/outdated/445)
+- [/en/docs/self-host/upgrading/outdated/446](/en/docs/self-host/upgrading/outdated/446)
+- [/en/docs/self-host/upgrading/outdated/447](/en/docs/self-host/upgrading/outdated/447)
+- [/en/docs/self-host/upgrading/outdated/45](/en/docs/self-host/upgrading/outdated/45)
+- [/en/docs/self-host/upgrading/outdated/451](/en/docs/self-host/upgrading/outdated/451)
+- [/en/docs/self-host/upgrading/outdated/452](/en/docs/self-host/upgrading/outdated/452)
+- [/en/docs/self-host/upgrading/outdated/46](/en/docs/self-host/upgrading/outdated/46)
+- [/en/docs/self-host/upgrading/outdated/461](/en/docs/self-host/upgrading/outdated/461)
+- [/en/docs/self-host/upgrading/outdated/462](/en/docs/self-host/upgrading/outdated/462)
+- [/en/docs/self-host/upgrading/outdated/463](/en/docs/self-host/upgrading/outdated/463)
+- [/en/docs/self-host/upgrading/outdated/464](/en/docs/self-host/upgrading/outdated/464)
+- [/en/docs/self-host/upgrading/outdated/465](/en/docs/self-host/upgrading/outdated/465)
+- [/en/docs/self-host/upgrading/outdated/466](/en/docs/self-host/upgrading/outdated/466)
+- [/en/docs/self-host/upgrading/outdated/467](/en/docs/self-host/upgrading/outdated/467)
+- [/en/docs/self-host/upgrading/outdated/468](/en/docs/self-host/upgrading/outdated/468)
+- [/en/docs/self-host/upgrading/outdated/469](/en/docs/self-host/upgrading/outdated/469)
+- [/en/docs/self-host/upgrading/outdated/47](/en/docs/self-host/upgrading/outdated/47)
+- [/en/docs/self-host/upgrading/outdated/471](/en/docs/self-host/upgrading/outdated/471)
+- [/en/docs/self-host/upgrading/outdated/48](/en/docs/self-host/upgrading/outdated/48)
+- [/en/docs/self-host/upgrading/outdated/481](/en/docs/self-host/upgrading/outdated/481)
+- [/en/docs/self-host/upgrading/outdated/4810](/en/docs/self-host/upgrading/outdated/4810)
+- [/en/docs/self-host/upgrading/outdated/4811](/en/docs/self-host/upgrading/outdated/4811)
+- [/en/docs/self-host/upgrading/outdated/4812](/en/docs/self-host/upgrading/outdated/4812)
+- [/en/docs/self-host/upgrading/outdated/4813](/en/docs/self-host/upgrading/outdated/4813)
+- [/en/docs/self-host/upgrading/outdated/4814](/en/docs/self-host/upgrading/outdated/4814)
+- [/en/docs/self-host/upgrading/outdated/4815](/en/docs/self-host/upgrading/outdated/4815)
+- [/en/docs/self-host/upgrading/outdated/4816](/en/docs/self-host/upgrading/outdated/4816)
+- [/en/docs/self-host/upgrading/outdated/4817](/en/docs/self-host/upgrading/outdated/4817)
+- [/en/docs/self-host/upgrading/outdated/4818](/en/docs/self-host/upgrading/outdated/4818)
+- [/en/docs/self-host/upgrading/outdated/4819](/en/docs/self-host/upgrading/outdated/4819)
+- [/en/docs/self-host/upgrading/outdated/482](/en/docs/self-host/upgrading/outdated/482)
+- [/en/docs/self-host/upgrading/outdated/4820](/en/docs/self-host/upgrading/outdated/4820)
+- [/en/docs/self-host/upgrading/outdated/4821](/en/docs/self-host/upgrading/outdated/4821)
+- [/en/docs/self-host/upgrading/outdated/4822](/en/docs/self-host/upgrading/outdated/4822)
+- [/en/docs/self-host/upgrading/outdated/4823](/en/docs/self-host/upgrading/outdated/4823)
+- [/en/docs/self-host/upgrading/outdated/483](/en/docs/self-host/upgrading/outdated/483)
+- [/en/docs/self-host/upgrading/outdated/484](/en/docs/self-host/upgrading/outdated/484)
+- [/en/docs/self-host/upgrading/outdated/485](/en/docs/self-host/upgrading/outdated/485)
+- [/en/docs/self-host/upgrading/outdated/486](/en/docs/self-host/upgrading/outdated/486)
+- [/en/docs/self-host/upgrading/outdated/487](/en/docs/self-host/upgrading/outdated/487)
+- [/en/docs/self-host/upgrading/outdated/488](/en/docs/self-host/upgrading/outdated/488)
+- [/en/docs/self-host/upgrading/outdated/489](/en/docs/self-host/upgrading/outdated/489)
+- [/en/docs/self-host/upgrading/outdated/490](/en/docs/self-host/upgrading/outdated/490)
+- [/en/docs/self-host/upgrading/outdated/491](/en/docs/self-host/upgrading/outdated/491)
+- [/en/docs/self-host/upgrading/outdated/4910](/en/docs/self-host/upgrading/outdated/4910)
+- [/en/docs/self-host/upgrading/outdated/4911](/en/docs/self-host/upgrading/outdated/4911)
+- [/en/docs/self-host/upgrading/outdated/4912](/en/docs/self-host/upgrading/outdated/4912)
+- [/en/docs/self-host/upgrading/outdated/4913](/en/docs/self-host/upgrading/outdated/4913)
+- [/en/docs/self-host/upgrading/outdated/4914](/en/docs/self-host/upgrading/outdated/4914)
+- [/en/docs/self-host/upgrading/outdated/492](/en/docs/self-host/upgrading/outdated/492)
+- [/en/docs/self-host/upgrading/outdated/493](/en/docs/self-host/upgrading/outdated/493)
+- [/en/docs/self-host/upgrading/outdated/494](/en/docs/self-host/upgrading/outdated/494)
+- [/en/docs/self-host/upgrading/outdated/495](/en/docs/self-host/upgrading/outdated/495)
+- [/en/docs/self-host/upgrading/outdated/496](/en/docs/self-host/upgrading/outdated/496)
+- [/en/docs/self-host/upgrading/outdated/497](/en/docs/self-host/upgrading/outdated/497)
+- [/en/docs/self-host/upgrading/outdated/498](/en/docs/self-host/upgrading/outdated/498)
+- [/en/docs/self-host/upgrading/outdated/499](/en/docs/self-host/upgrading/outdated/499)
+- [/en/docs/self-host/upgrading/upgrade-intruction](/en/docs/self-host/upgrading/upgrade-intruction)
- [/en/docs/use-cases/app-cases/dalle3](/en/docs/use-cases/app-cases/dalle3)
- [/en/docs/use-cases/app-cases/english_essay_correction_bot](/en/docs/use-cases/app-cases/english_essay_correction_bot)
- [/en/docs/use-cases/app-cases/feishu_webhook](/en/docs/use-cases/app-cases/feishu_webhook)
diff --git a/document/content/docs/toc.mdx b/document/content/docs/toc.mdx
index 707a4fec0a..80d1e6f6b1 100644
--- a/document/content/docs/toc.mdx
+++ b/document/content/docs/toc.mdx
@@ -10,35 +10,11 @@ description: FastGPT 文档目录
- [/docs/faq/external_channel_integration](/docs/faq/external_channel_integration)
- [/docs/faq/other](/docs/faq/other)
- [/docs/faq/points_consumption](/docs/faq/points_consumption)
-- [/docs/introduction/cloud](/docs/introduction/cloud)
+- [/docs/introduction/cloud/faq](/docs/introduction/cloud/faq)
+- [/docs/introduction/cloud/intro](/docs/introduction/cloud/intro)
+- [/docs/introduction/cloud/privacy](/docs/introduction/cloud/privacy)
+- [/docs/introduction/cloud/terms](/docs/introduction/cloud/terms)
- [/docs/introduction/commercial](/docs/introduction/commercial)
-- [/docs/introduction/development/configuration](/docs/introduction/development/configuration)
-- [/docs/introduction/development/custom-models/bge-rerank](/docs/introduction/development/custom-models/bge-rerank)
-- [/docs/introduction/development/custom-models/chatglm2](/docs/introduction/development/custom-models/chatglm2)
-- [/docs/introduction/development/custom-models/chatglm2-m3e](/docs/introduction/development/custom-models/chatglm2-m3e)
-- [/docs/introduction/development/custom-models/m3e](/docs/introduction/development/custom-models/m3e)
-- [/docs/introduction/development/custom-models/marker](/docs/introduction/development/custom-models/marker)
-- [/docs/introduction/development/custom-models/mineru](/docs/introduction/development/custom-models/mineru)
-- [/docs/introduction/development/custom-models/ollama](/docs/introduction/development/custom-models/ollama)
-- [/docs/introduction/development/custom-models/xinference](/docs/introduction/development/custom-models/xinference)
-- [/docs/introduction/development/design/dataset](/docs/introduction/development/design/dataset)
-- [/docs/introduction/development/design/design_plugin](/docs/introduction/development/design/design_plugin)
-- [/docs/introduction/development/docker](/docs/introduction/development/docker)
-- [/docs/introduction/development/faq](/docs/introduction/development/faq)
-- [/docs/introduction/development/intro](/docs/introduction/development/intro)
-- [/docs/introduction/development/migration/docker_db](/docs/introduction/development/migration/docker_db)
-- [/docs/introduction/development/migration/docker_mongo](/docs/introduction/development/migration/docker_mongo)
-- [/docs/introduction/development/modelConfig/ai-proxy](/docs/introduction/development/modelConfig/ai-proxy)
-- [/docs/introduction/development/modelConfig/intro](/docs/introduction/development/modelConfig/intro)
-- [/docs/introduction/development/modelConfig/one-api](/docs/introduction/development/modelConfig/one-api)
-- [/docs/introduction/development/modelConfig/ppio](/docs/introduction/development/modelConfig/ppio)
-- [/docs/introduction/development/modelConfig/siliconCloud](/docs/introduction/development/modelConfig/siliconCloud)
-- [/docs/introduction/development/object-storage](/docs/introduction/development/object-storage)
-- [/docs/introduction/development/proxy/cloudflare](/docs/introduction/development/proxy/cloudflare)
-- [/docs/introduction/development/proxy/http_proxy](/docs/introduction/development/proxy/http_proxy)
-- [/docs/introduction/development/proxy/nginx](/docs/introduction/development/proxy/nginx)
-- [/docs/introduction/development/sealos](/docs/introduction/development/sealos)
-- [/docs/introduction/development/signoz](/docs/introduction/development/signoz)
- [/docs/introduction/guide/DialogBoxes/htmlRendering](/docs/introduction/guide/DialogBoxes/htmlRendering)
- [/docs/introduction/guide/DialogBoxes/quoteList](/docs/introduction/guide/DialogBoxes/quoteList)
- [/docs/introduction/guide/admin/sso](/docs/introduction/guide/admin/sso)
@@ -92,102 +68,127 @@ description: FastGPT 文档目录
- [/docs/introduction/guide/team_permissions/invitation_link](/docs/introduction/guide/team_permissions/invitation_link)
- [/docs/introduction/guide/team_permissions/team_roles_permissions](/docs/introduction/guide/team_permissions/team_roles_permissions)
- [/docs/introduction/index](/docs/introduction/index)
+- [/docs/introduction/opensource/intro](/docs/introduction/opensource/intro)
+- [/docs/introduction/opensource/license](/docs/introduction/opensource/license)
- [/docs/openapi/app](/docs/openapi/app)
- [/docs/openapi/chat](/docs/openapi/chat)
- [/docs/openapi/dataset](/docs/openapi/dataset)
- [/docs/openapi/index](/docs/openapi/index)
- [/docs/openapi/intro](/docs/openapi/intro)
- [/docs/openapi/share](/docs/openapi/share)
-- [/docs/protocol/open-source](/docs/protocol/open-source)
-- [/docs/protocol/privacy](/docs/protocol/privacy)
-- [/docs/protocol/terms](/docs/protocol/terms)
-- [/docs/upgrading/4-10/4100](/docs/upgrading/4-10/4100)
-- [/docs/upgrading/4-10/4101](/docs/upgrading/4-10/4101)
-- [/docs/upgrading/4-11/4110](/docs/upgrading/4-11/4110)
-- [/docs/upgrading/4-11/4111](/docs/upgrading/4-11/4111)
-- [/docs/upgrading/4-12/4120](/docs/upgrading/4-12/4120)
-- [/docs/upgrading/4-12/4121](/docs/upgrading/4-12/4121)
-- [/docs/upgrading/4-12/4122](/docs/upgrading/4-12/4122)
-- [/docs/upgrading/4-12/4123](/docs/upgrading/4-12/4123)
-- [/docs/upgrading/4-12/4124](/docs/upgrading/4-12/4124)
-- [/docs/upgrading/4-13/4130](/docs/upgrading/4-13/4130)
-- [/docs/upgrading/4-13/4131](/docs/upgrading/4-13/4131)
-- [/docs/upgrading/4-13/4132](/docs/upgrading/4-13/4132)
-- [/docs/upgrading/4-14/4140](/docs/upgrading/4-14/4140)
-- [/docs/upgrading/4-14/4141](/docs/upgrading/4-14/4141)
-- [/docs/upgrading/4-14/4142](/docs/upgrading/4-14/4142)
-- [/docs/upgrading/4-14/4143](/docs/upgrading/4-14/4143)
-- [/docs/upgrading/4-14/4144](/docs/upgrading/4-14/4144)
-- [/docs/upgrading/4-14/4145](/docs/upgrading/4-14/4145)
-- [/docs/upgrading/4-14/41451](/docs/upgrading/4-14/41451)
-- [/docs/upgrading/4-14/4146](/docs/upgrading/4-14/4146)
-- [/docs/upgrading/4-14/4147](/docs/upgrading/4-14/4147)
-- [/docs/upgrading/4-14/4148](/docs/upgrading/4-14/4148)
-- [/docs/upgrading/4-8/40](/docs/upgrading/4-8/40)
-- [/docs/upgrading/4-8/41](/docs/upgrading/4-8/41)
-- [/docs/upgrading/4-8/42](/docs/upgrading/4-8/42)
-- [/docs/upgrading/4-8/421](/docs/upgrading/4-8/421)
-- [/docs/upgrading/4-8/43](/docs/upgrading/4-8/43)
-- [/docs/upgrading/4-8/44](/docs/upgrading/4-8/44)
-- [/docs/upgrading/4-8/441](/docs/upgrading/4-8/441)
-- [/docs/upgrading/4-8/442](/docs/upgrading/4-8/442)
-- [/docs/upgrading/4-8/445](/docs/upgrading/4-8/445)
-- [/docs/upgrading/4-8/446](/docs/upgrading/4-8/446)
-- [/docs/upgrading/4-8/447](/docs/upgrading/4-8/447)
-- [/docs/upgrading/4-8/45](/docs/upgrading/4-8/45)
-- [/docs/upgrading/4-8/451](/docs/upgrading/4-8/451)
-- [/docs/upgrading/4-8/452](/docs/upgrading/4-8/452)
-- [/docs/upgrading/4-8/46](/docs/upgrading/4-8/46)
-- [/docs/upgrading/4-8/461](/docs/upgrading/4-8/461)
-- [/docs/upgrading/4-8/462](/docs/upgrading/4-8/462)
-- [/docs/upgrading/4-8/463](/docs/upgrading/4-8/463)
-- [/docs/upgrading/4-8/464](/docs/upgrading/4-8/464)
-- [/docs/upgrading/4-8/465](/docs/upgrading/4-8/465)
-- [/docs/upgrading/4-8/466](/docs/upgrading/4-8/466)
-- [/docs/upgrading/4-8/467](/docs/upgrading/4-8/467)
-- [/docs/upgrading/4-8/468](/docs/upgrading/4-8/468)
-- [/docs/upgrading/4-8/469](/docs/upgrading/4-8/469)
-- [/docs/upgrading/4-8/47](/docs/upgrading/4-8/47)
-- [/docs/upgrading/4-8/471](/docs/upgrading/4-8/471)
-- [/docs/upgrading/4-8/48](/docs/upgrading/4-8/48)
-- [/docs/upgrading/4-8/481](/docs/upgrading/4-8/481)
-- [/docs/upgrading/4-8/4810](/docs/upgrading/4-8/4810)
-- [/docs/upgrading/4-8/4811](/docs/upgrading/4-8/4811)
-- [/docs/upgrading/4-8/4812](/docs/upgrading/4-8/4812)
-- [/docs/upgrading/4-8/4813](/docs/upgrading/4-8/4813)
-- [/docs/upgrading/4-8/4814](/docs/upgrading/4-8/4814)
-- [/docs/upgrading/4-8/4815](/docs/upgrading/4-8/4815)
-- [/docs/upgrading/4-8/4816](/docs/upgrading/4-8/4816)
-- [/docs/upgrading/4-8/4817](/docs/upgrading/4-8/4817)
-- [/docs/upgrading/4-8/4818](/docs/upgrading/4-8/4818)
-- [/docs/upgrading/4-8/4819](/docs/upgrading/4-8/4819)
-- [/docs/upgrading/4-8/482](/docs/upgrading/4-8/482)
-- [/docs/upgrading/4-8/4820](/docs/upgrading/4-8/4820)
-- [/docs/upgrading/4-8/4821](/docs/upgrading/4-8/4821)
-- [/docs/upgrading/4-8/4822](/docs/upgrading/4-8/4822)
-- [/docs/upgrading/4-8/4823](/docs/upgrading/4-8/4823)
-- [/docs/upgrading/4-8/483](/docs/upgrading/4-8/483)
-- [/docs/upgrading/4-8/484](/docs/upgrading/4-8/484)
-- [/docs/upgrading/4-8/485](/docs/upgrading/4-8/485)
-- [/docs/upgrading/4-8/486](/docs/upgrading/4-8/486)
-- [/docs/upgrading/4-8/487](/docs/upgrading/4-8/487)
-- [/docs/upgrading/4-8/488](/docs/upgrading/4-8/488)
-- [/docs/upgrading/4-8/489](/docs/upgrading/4-8/489)
-- [/docs/upgrading/4-9/490](/docs/upgrading/4-9/490)
-- [/docs/upgrading/4-9/491](/docs/upgrading/4-9/491)
-- [/docs/upgrading/4-9/4910](/docs/upgrading/4-9/4910)
-- [/docs/upgrading/4-9/4911](/docs/upgrading/4-9/4911)
-- [/docs/upgrading/4-9/4912](/docs/upgrading/4-9/4912)
-- [/docs/upgrading/4-9/4913](/docs/upgrading/4-9/4913)
-- [/docs/upgrading/4-9/4914](/docs/upgrading/4-9/4914)
-- [/docs/upgrading/4-9/492](/docs/upgrading/4-9/492)
-- [/docs/upgrading/4-9/493](/docs/upgrading/4-9/493)
-- [/docs/upgrading/4-9/494](/docs/upgrading/4-9/494)
-- [/docs/upgrading/4-9/495](/docs/upgrading/4-9/495)
-- [/docs/upgrading/4-9/496](/docs/upgrading/4-9/496)
-- [/docs/upgrading/4-9/497](/docs/upgrading/4-9/497)
-- [/docs/upgrading/4-9/498](/docs/upgrading/4-9/498)
-- [/docs/upgrading/4-9/499](/docs/upgrading/4-9/499)
+- [/docs/self-host/config/json](/docs/self-host/config/json)
+- [/docs/self-host/config/model/ai-proxy](/docs/self-host/config/model/ai-proxy)
+- [/docs/self-host/config/model/intro](/docs/self-host/config/model/intro)
+- [/docs/self-host/config/model/one-api](/docs/self-host/config/model/one-api)
+- [/docs/self-host/config/model/ppio](/docs/self-host/config/model/ppio)
+- [/docs/self-host/config/model/siliconCloud](/docs/self-host/config/model/siliconCloud)
+- [/docs/self-host/config/object-storage](/docs/self-host/config/object-storage)
+- [/docs/self-host/config/signoz](/docs/self-host/config/signoz)
+- [/docs/self-host/custom-models/bge-rerank](/docs/self-host/custom-models/bge-rerank)
+- [/docs/self-host/custom-models/chatglm2](/docs/self-host/custom-models/chatglm2)
+- [/docs/self-host/custom-models/chatglm2-m3e](/docs/self-host/custom-models/chatglm2-m3e)
+- [/docs/self-host/custom-models/m3e](/docs/self-host/custom-models/m3e)
+- [/docs/self-host/custom-models/marker](/docs/self-host/custom-models/marker)
+- [/docs/self-host/custom-models/mineru](/docs/self-host/custom-models/mineru)
+- [/docs/self-host/custom-models/ollama](/docs/self-host/custom-models/ollama)
+- [/docs/self-host/custom-models/xinference](/docs/self-host/custom-models/xinference)
+- [/docs/self-host/deploy/docker](/docs/self-host/deploy/docker)
+- [/docs/self-host/deploy/sealos](/docs/self-host/deploy/sealos)
+- [/docs/self-host/design/dataset](/docs/self-host/design/dataset)
+- [/docs/self-host/design/design_plugin](/docs/self-host/design/design_plugin)
+- [/docs/self-host/dev](/docs/self-host/dev)
+- [/docs/self-host/faq](/docs/self-host/faq)
+- [/docs/self-host/index](/docs/self-host/index)
+- [/docs/self-host/migration/docker_db](/docs/self-host/migration/docker_db)
+- [/docs/self-host/migration/docker_mongo](/docs/self-host/migration/docker_mongo)
+- [/docs/self-host/upgrading/4-12/4120](/docs/self-host/upgrading/4-12/4120)
+- [/docs/self-host/upgrading/4-12/4121](/docs/self-host/upgrading/4-12/4121)
+- [/docs/self-host/upgrading/4-12/4122](/docs/self-host/upgrading/4-12/4122)
+- [/docs/self-host/upgrading/4-12/4123](/docs/self-host/upgrading/4-12/4123)
+- [/docs/self-host/upgrading/4-12/4124](/docs/self-host/upgrading/4-12/4124)
+- [/docs/self-host/upgrading/4-13/4130](/docs/self-host/upgrading/4-13/4130)
+- [/docs/self-host/upgrading/4-13/4131](/docs/self-host/upgrading/4-13/4131)
+- [/docs/self-host/upgrading/4-13/4132](/docs/self-host/upgrading/4-13/4132)
+- [/docs/self-host/upgrading/4-14/4140](/docs/self-host/upgrading/4-14/4140)
+- [/docs/self-host/upgrading/4-14/4141](/docs/self-host/upgrading/4-14/4141)
+- [/docs/self-host/upgrading/4-14/4142](/docs/self-host/upgrading/4-14/4142)
+- [/docs/self-host/upgrading/4-14/4143](/docs/self-host/upgrading/4-14/4143)
+- [/docs/self-host/upgrading/4-14/4144](/docs/self-host/upgrading/4-14/4144)
+- [/docs/self-host/upgrading/4-14/4145](/docs/self-host/upgrading/4-14/4145)
+- [/docs/self-host/upgrading/4-14/41451](/docs/self-host/upgrading/4-14/41451)
+- [/docs/self-host/upgrading/4-14/4146](/docs/self-host/upgrading/4-14/4146)
+- [/docs/self-host/upgrading/4-14/4147](/docs/self-host/upgrading/4-14/4147)
+- [/docs/self-host/upgrading/4-14/4148](/docs/self-host/upgrading/4-14/4148)
+- [/docs/self-host/upgrading/outdated/40](/docs/self-host/upgrading/outdated/40)
+- [/docs/self-host/upgrading/outdated/41](/docs/self-host/upgrading/outdated/41)
+- [/docs/self-host/upgrading/outdated/4100](/docs/self-host/upgrading/outdated/4100)
+- [/docs/self-host/upgrading/outdated/4101](/docs/self-host/upgrading/outdated/4101)
+- [/docs/self-host/upgrading/outdated/4110](/docs/self-host/upgrading/outdated/4110)
+- [/docs/self-host/upgrading/outdated/4111](/docs/self-host/upgrading/outdated/4111)
+- [/docs/self-host/upgrading/outdated/42](/docs/self-host/upgrading/outdated/42)
+- [/docs/self-host/upgrading/outdated/421](/docs/self-host/upgrading/outdated/421)
+- [/docs/self-host/upgrading/outdated/43](/docs/self-host/upgrading/outdated/43)
+- [/docs/self-host/upgrading/outdated/44](/docs/self-host/upgrading/outdated/44)
+- [/docs/self-host/upgrading/outdated/441](/docs/self-host/upgrading/outdated/441)
+- [/docs/self-host/upgrading/outdated/442](/docs/self-host/upgrading/outdated/442)
+- [/docs/self-host/upgrading/outdated/445](/docs/self-host/upgrading/outdated/445)
+- [/docs/self-host/upgrading/outdated/446](/docs/self-host/upgrading/outdated/446)
+- [/docs/self-host/upgrading/outdated/447](/docs/self-host/upgrading/outdated/447)
+- [/docs/self-host/upgrading/outdated/45](/docs/self-host/upgrading/outdated/45)
+- [/docs/self-host/upgrading/outdated/451](/docs/self-host/upgrading/outdated/451)
+- [/docs/self-host/upgrading/outdated/452](/docs/self-host/upgrading/outdated/452)
+- [/docs/self-host/upgrading/outdated/46](/docs/self-host/upgrading/outdated/46)
+- [/docs/self-host/upgrading/outdated/461](/docs/self-host/upgrading/outdated/461)
+- [/docs/self-host/upgrading/outdated/462](/docs/self-host/upgrading/outdated/462)
+- [/docs/self-host/upgrading/outdated/463](/docs/self-host/upgrading/outdated/463)
+- [/docs/self-host/upgrading/outdated/464](/docs/self-host/upgrading/outdated/464)
+- [/docs/self-host/upgrading/outdated/465](/docs/self-host/upgrading/outdated/465)
+- [/docs/self-host/upgrading/outdated/466](/docs/self-host/upgrading/outdated/466)
+- [/docs/self-host/upgrading/outdated/467](/docs/self-host/upgrading/outdated/467)
+- [/docs/self-host/upgrading/outdated/468](/docs/self-host/upgrading/outdated/468)
+- [/docs/self-host/upgrading/outdated/469](/docs/self-host/upgrading/outdated/469)
+- [/docs/self-host/upgrading/outdated/47](/docs/self-host/upgrading/outdated/47)
+- [/docs/self-host/upgrading/outdated/471](/docs/self-host/upgrading/outdated/471)
+- [/docs/self-host/upgrading/outdated/48](/docs/self-host/upgrading/outdated/48)
+- [/docs/self-host/upgrading/outdated/481](/docs/self-host/upgrading/outdated/481)
+- [/docs/self-host/upgrading/outdated/4810](/docs/self-host/upgrading/outdated/4810)
+- [/docs/self-host/upgrading/outdated/4811](/docs/self-host/upgrading/outdated/4811)
+- [/docs/self-host/upgrading/outdated/4812](/docs/self-host/upgrading/outdated/4812)
+- [/docs/self-host/upgrading/outdated/4813](/docs/self-host/upgrading/outdated/4813)
+- [/docs/self-host/upgrading/outdated/4814](/docs/self-host/upgrading/outdated/4814)
+- [/docs/self-host/upgrading/outdated/4815](/docs/self-host/upgrading/outdated/4815)
+- [/docs/self-host/upgrading/outdated/4816](/docs/self-host/upgrading/outdated/4816)
+- [/docs/self-host/upgrading/outdated/4817](/docs/self-host/upgrading/outdated/4817)
+- [/docs/self-host/upgrading/outdated/4818](/docs/self-host/upgrading/outdated/4818)
+- [/docs/self-host/upgrading/outdated/4819](/docs/self-host/upgrading/outdated/4819)
+- [/docs/self-host/upgrading/outdated/482](/docs/self-host/upgrading/outdated/482)
+- [/docs/self-host/upgrading/outdated/4820](/docs/self-host/upgrading/outdated/4820)
+- [/docs/self-host/upgrading/outdated/4821](/docs/self-host/upgrading/outdated/4821)
+- [/docs/self-host/upgrading/outdated/4822](/docs/self-host/upgrading/outdated/4822)
+- [/docs/self-host/upgrading/outdated/4823](/docs/self-host/upgrading/outdated/4823)
+- [/docs/self-host/upgrading/outdated/483](/docs/self-host/upgrading/outdated/483)
+- [/docs/self-host/upgrading/outdated/484](/docs/self-host/upgrading/outdated/484)
+- [/docs/self-host/upgrading/outdated/485](/docs/self-host/upgrading/outdated/485)
+- [/docs/self-host/upgrading/outdated/486](/docs/self-host/upgrading/outdated/486)
+- [/docs/self-host/upgrading/outdated/487](/docs/self-host/upgrading/outdated/487)
+- [/docs/self-host/upgrading/outdated/488](/docs/self-host/upgrading/outdated/488)
+- [/docs/self-host/upgrading/outdated/489](/docs/self-host/upgrading/outdated/489)
+- [/docs/self-host/upgrading/outdated/490](/docs/self-host/upgrading/outdated/490)
+- [/docs/self-host/upgrading/outdated/491](/docs/self-host/upgrading/outdated/491)
+- [/docs/self-host/upgrading/outdated/4910](/docs/self-host/upgrading/outdated/4910)
+- [/docs/self-host/upgrading/outdated/4911](/docs/self-host/upgrading/outdated/4911)
+- [/docs/self-host/upgrading/outdated/4912](/docs/self-host/upgrading/outdated/4912)
+- [/docs/self-host/upgrading/outdated/4913](/docs/self-host/upgrading/outdated/4913)
+- [/docs/self-host/upgrading/outdated/4914](/docs/self-host/upgrading/outdated/4914)
+- [/docs/self-host/upgrading/outdated/492](/docs/self-host/upgrading/outdated/492)
+- [/docs/self-host/upgrading/outdated/493](/docs/self-host/upgrading/outdated/493)
+- [/docs/self-host/upgrading/outdated/494](/docs/self-host/upgrading/outdated/494)
+- [/docs/self-host/upgrading/outdated/495](/docs/self-host/upgrading/outdated/495)
+- [/docs/self-host/upgrading/outdated/496](/docs/self-host/upgrading/outdated/496)
+- [/docs/self-host/upgrading/outdated/497](/docs/self-host/upgrading/outdated/497)
+- [/docs/self-host/upgrading/outdated/498](/docs/self-host/upgrading/outdated/498)
+- [/docs/self-host/upgrading/outdated/499](/docs/self-host/upgrading/outdated/499)
+- [/docs/self-host/upgrading/upgrade-intruction](/docs/self-host/upgrading/upgrade-intruction)
- [/docs/use-cases/app-cases/dalle3](/docs/use-cases/app-cases/dalle3)
- [/docs/use-cases/app-cases/english_essay_correction_bot](/docs/use-cases/app-cases/english_essay_correction_bot)
- [/docs/use-cases/app-cases/feishu_webhook](/docs/use-cases/app-cases/feishu_webhook)
diff --git a/document/content/docs/upgrading/4-10/meta.en.json b/document/content/docs/upgrading/4-10/meta.en.json
deleted file mode 100644
index 92225dfe93..0000000000
--- a/document/content/docs/upgrading/4-10/meta.en.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "title": "4.10.x",
- "description": "",
- "pages": [
- "4101",
- "4100"
- ]
-}
diff --git a/document/content/docs/upgrading/4-10/meta.json b/document/content/docs/upgrading/4-10/meta.json
deleted file mode 100644
index 01d9d879c3..0000000000
--- a/document/content/docs/upgrading/4-10/meta.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "title": "4.10.x",
- "description": "",
- "pages": ["4101", "4100"]
-}
diff --git a/document/content/docs/upgrading/4-11/meta.en.json b/document/content/docs/upgrading/4-11/meta.en.json
deleted file mode 100644
index c3adba25f2..0000000000
--- a/document/content/docs/upgrading/4-11/meta.en.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "title": "4.11.x",
- "description": "",
- "pages": [
- "4111",
- "4110"
- ]
-}
diff --git a/document/content/docs/upgrading/4-11/meta.json b/document/content/docs/upgrading/4-11/meta.json
deleted file mode 100644
index dcc52023fd..0000000000
--- a/document/content/docs/upgrading/4-11/meta.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "title": "4.11.x",
- "description": "",
- "pages": ["4111", "4110"]
-}
diff --git a/document/content/docs/upgrading/4-12/meta.en.json b/document/content/docs/upgrading/4-12/meta.en.json
deleted file mode 100644
index 8cd51651d8..0000000000
--- a/document/content/docs/upgrading/4-12/meta.en.json
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "title": "4.12.x",
- "description": "",
- "pages": [
- "4124",
- "4123",
- "4122",
- "4121",
- "4120"
- ]
-}
diff --git a/document/content/docs/upgrading/4-13/meta.en.json b/document/content/docs/upgrading/4-13/meta.en.json
deleted file mode 100644
index 61f21a42b1..0000000000
--- a/document/content/docs/upgrading/4-13/meta.en.json
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "title": "4.13.x",
- "description": "",
- "pages": [
- "4132",
- "4131",
- "4130"
- ]
-}
diff --git a/document/content/docs/upgrading/4-9/meta.en.json b/document/content/docs/upgrading/4-9/meta.en.json
deleted file mode 100644
index b246675b99..0000000000
--- a/document/content/docs/upgrading/4-9/meta.en.json
+++ /dev/null
@@ -1,21 +0,0 @@
-{
- "title": "4.9.x",
- "description": "",
- "pages": [
- "4914",
- "4913",
- "4912",
- "4911",
- "4910",
- "499",
- "498",
- "497",
- "496",
- "495",
- "494",
- "493",
- "492",
- "491",
- "490"
- ]
-}
diff --git a/document/content/docs/upgrading/4-9/meta.json b/document/content/docs/upgrading/4-9/meta.json
deleted file mode 100644
index b246675b99..0000000000
--- a/document/content/docs/upgrading/4-9/meta.json
+++ /dev/null
@@ -1,21 +0,0 @@
-{
- "title": "4.9.x",
- "description": "",
- "pages": [
- "4914",
- "4913",
- "4912",
- "4911",
- "4910",
- "499",
- "498",
- "497",
- "496",
- "495",
- "494",
- "493",
- "492",
- "491",
- "490"
- ]
-}
diff --git a/document/content/docs/upgrading/meta.en.json b/document/content/docs/upgrading/meta.en.json
deleted file mode 100644
index beb662846f..0000000000
--- a/document/content/docs/upgrading/meta.en.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "root": true,
- "title": "Version Updates & Upgrades",
- "description": "FastGPT version updates and upgrade operations",
- "pages": [
- "index",
- "---4.14.x---",
- "...4-14",
- "---4.13.x---",
- "...4-13",
- "---4.12.x---",
- "...4-12",
- "---4.11.x---",
- "...4-11",
- "---4.10.x---",
- "...4-10",
- "---4.9.x---",
- "...4-9",
- "---<4.9.0---",
- "...4-8"
- ]
-}
diff --git a/document/content/docs/upgrading/meta.json b/document/content/docs/upgrading/meta.json
deleted file mode 100644
index a91b2bb8a3..0000000000
--- a/document/content/docs/upgrading/meta.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "root": true,
- "title": "版本更新/升级操作",
- "description": "FastGPT 版本更新介绍及升级操作",
- "pages": [
- "index",
- "---4.14.x---",
- "...4-14",
- "---4.13.x---",
- "...4-13",
- "---4.12.x---",
- "...4-12",
- "---4.11.x---",
- "...4-11",
- "---4.10.x---",
- "...4-10",
- "---4.9.x---",
- "...4-9",
- "---<4.9.0---",
- "...4-8"
- ]
-}
diff --git a/document/content/docs/use-cases/app-cases/submit_application_template.en.mdx b/document/content/docs/use-cases/app-cases/submit_application_template.en.mdx
index 313b58772a..96d984a1d0 100644
--- a/document/content/docs/use-cases/app-cases/submit_application_template.en.mdx
+++ b/document/content/docs/use-cases/app-cases/submit_application_template.en.mdx
@@ -18,7 +18,7 @@ We estimate the final total will be around 50 templates — half from the FastGP
The following operations need to be performed in a dev environment.
Refer to these two guides to run the FastGPT and FastGPT-plugin development environments locally:
-- [FastGPT | Quick Start Local Development](/docs/introduction/development/intro/)
+- [FastGPT | Quick Start Local Development](/docs/self-host/dev/)
- [How to Develop System Plugins](/docs/introduction/guide/plugins/dev_system_tool/)
### 2. Create an Application Template
diff --git a/document/content/docs/use-cases/app-cases/submit_application_template.mdx b/document/content/docs/use-cases/app-cases/submit_application_template.mdx
index 7d42129b8d..defddb63c2 100644
--- a/document/content/docs/use-cases/app-cases/submit_application_template.mdx
+++ b/document/content/docs/use-cases/app-cases/submit_application_template.mdx
@@ -18,7 +18,7 @@ description: 指南:如何向 FastGPT 提交应用模板
需要在 dev 环境下执行下面的操作。
可参照下面两篇文档在本地运行 FastGPT 开发环境和 FastGPT-plugin 开发环境
-- [FastGPT|快速开始本地开发](/docs/introduction/development/intro/)
+- [FastGPT|快速开始本地开发](/docs/self-host/dev/)
- [如何开发系统插件](/docs/introduction/guide/plugins/dev_system_tool/)
### 2. 创建应用模版
diff --git a/document/data/doc-last-modified.json b/document/data/doc-last-modified.json
index e9233a891c..94c7a085e5 100644
--- a/document/data/doc-last-modified.json
+++ b/document/data/doc-last-modified.json
@@ -15,64 +15,16 @@
"document/content/docs/faq/other.mdx": "2025-08-04T22:07:52+08:00",
"document/content/docs/faq/points_consumption.en.mdx": "2026-02-26T22:14:30+08:00",
"document/content/docs/faq/points_consumption.mdx": "2025-08-02T19:38:37+08:00",
- "document/content/docs/introduction/cloud.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/introduction/cloud.mdx": "2026-02-26T00:26:52+08:00",
- "document/content/docs/introduction/commercial.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/introduction/commercial.mdx": "2025-09-21T23:09:46+08:00",
- "document/content/docs/introduction/development/configuration.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/introduction/development/configuration.mdx": "2025-08-05T23:20:39+08:00",
- "document/content/docs/introduction/development/custom-models/bge-rerank.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/introduction/development/custom-models/bge-rerank.mdx": "2025-07-23T21:35:03+08:00",
- "document/content/docs/introduction/development/custom-models/chatglm2-m3e.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/introduction/development/custom-models/chatglm2-m3e.mdx": "2025-08-05T23:20:39+08:00",
- "document/content/docs/introduction/development/custom-models/chatglm2.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/introduction/development/custom-models/chatglm2.mdx": "2025-07-23T21:35:03+08:00",
- "document/content/docs/introduction/development/custom-models/m3e.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/introduction/development/custom-models/m3e.mdx": "2025-07-23T21:35:03+08:00",
- "document/content/docs/introduction/development/custom-models/marker.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/introduction/development/custom-models/marker.mdx": "2025-08-04T22:07:52+08:00",
- "document/content/docs/introduction/development/custom-models/mineru.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/introduction/development/custom-models/mineru.mdx": "2025-09-17T18:33:31+08:00",
- "document/content/docs/introduction/development/custom-models/ollama.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/introduction/development/custom-models/ollama.mdx": "2025-08-05T23:20:39+08:00",
- "document/content/docs/introduction/development/custom-models/xinference.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/introduction/development/custom-models/xinference.mdx": "2025-08-05T23:20:39+08:00",
- "document/content/docs/introduction/development/design/dataset.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/introduction/development/design/dataset.mdx": "2025-07-23T21:35:03+08:00",
- "document/content/docs/introduction/development/design/design_plugin.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/introduction/development/design/design_plugin.mdx": "2025-11-06T14:47:55+08:00",
- "document/content/docs/introduction/development/docker.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/introduction/development/docker.mdx": "2026-02-13T11:35:13+08:00",
- "document/content/docs/introduction/development/faq.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/introduction/development/faq.mdx": "2025-08-12T22:22:18+08:00",
- "document/content/docs/introduction/development/intro.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/introduction/development/intro.mdx": "2026-02-12T18:02:02+08:00",
- "document/content/docs/introduction/development/migration/docker_db.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/introduction/development/migration/docker_db.mdx": "2025-07-23T21:35:03+08:00",
- "document/content/docs/introduction/development/migration/docker_mongo.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/introduction/development/migration/docker_mongo.mdx": "2025-07-23T21:35:03+08:00",
- "document/content/docs/introduction/development/modelConfig/ai-proxy.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/introduction/development/modelConfig/ai-proxy.mdx": "2025-08-05T23:20:39+08:00",
- "document/content/docs/introduction/development/modelConfig/intro.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/introduction/development/modelConfig/intro.mdx": "2025-12-03T08:36:19+08:00",
- "document/content/docs/introduction/development/modelConfig/one-api.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/introduction/development/modelConfig/one-api.mdx": "2025-07-23T21:35:03+08:00",
- "document/content/docs/introduction/development/modelConfig/ppio.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/introduction/development/modelConfig/ppio.mdx": "2025-09-29T11:52:39+08:00",
- "document/content/docs/introduction/development/modelConfig/siliconCloud.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/introduction/development/modelConfig/siliconCloud.mdx": "2025-08-05T23:20:39+08:00",
- "document/content/docs/introduction/development/object-storage.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/introduction/development/object-storage.mdx": "2026-01-09T18:25:02+08:00",
- "document/content/docs/introduction/development/proxy/cloudflare.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/introduction/development/proxy/cloudflare.mdx": "2025-07-23T21:35:03+08:00",
- "document/content/docs/introduction/development/proxy/http_proxy.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/introduction/development/proxy/http_proxy.mdx": "2025-07-23T21:35:03+08:00",
- "document/content/docs/introduction/development/proxy/nginx.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/introduction/development/proxy/nginx.mdx": "2025-07-23T21:35:03+08:00",
- "document/content/docs/introduction/development/sealos.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/introduction/development/sealos.mdx": "2026-02-26T16:29:03+08:00",
- "document/content/docs/introduction/development/signoz.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/introduction/development/signoz.mdx": "2026-02-12T16:37:50+08:00",
+ "document/content/docs/introduction/cloud/faq.en.mdx": "2026-03-03T14:33:59+08:00",
+ "document/content/docs/introduction/cloud/faq.mdx": "2026-03-03T14:33:59+08:00",
+ "document/content/docs/introduction/cloud/intro.en.mdx": "2026-03-03T14:33:59+08:00",
+ "document/content/docs/introduction/cloud/intro.mdx": "2026-03-03T14:33:59+08:00",
+ "document/content/docs/introduction/cloud/privacy.en.mdx": "2026-03-03T14:33:59+08:00",
+ "document/content/docs/introduction/cloud/privacy.mdx": "2026-03-03T14:33:59+08:00",
+ "document/content/docs/introduction/cloud/terms.en.mdx": "2026-03-03T14:33:59+08:00",
+ "document/content/docs/introduction/cloud/terms.mdx": "2026-03-03T14:33:59+08:00",
+ "document/content/docs/introduction/commercial.en.mdx": "2026-03-03T16:24:15+08:00",
+ "document/content/docs/introduction/commercial.mdx": "2026-03-03T16:24:15+08:00",
"document/content/docs/introduction/guide/DialogBoxes/htmlRendering.en.mdx": "2026-02-26T22:14:30+08:00",
"document/content/docs/introduction/guide/DialogBoxes/htmlRendering.mdx": "2025-07-23T21:35:03+08:00",
"document/content/docs/introduction/guide/DialogBoxes/quoteList.en.mdx": "2026-02-26T22:14:30+08:00",
@@ -101,8 +53,8 @@
"document/content/docs/introduction/guide/dashboard/mcp_server.mdx": "2025-07-23T21:35:03+08:00",
"document/content/docs/introduction/guide/dashboard/mcp_tools.en.mdx": "2026-02-26T22:14:30+08:00",
"document/content/docs/introduction/guide/dashboard/mcp_tools.mdx": "2025-07-23T21:35:03+08:00",
- "document/content/docs/introduction/guide/dashboard/workflow/ai_chat.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/introduction/guide/dashboard/workflow/ai_chat.mdx": "2025-08-05T23:20:39+08:00",
+ "document/content/docs/introduction/guide/dashboard/workflow/ai_chat.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/introduction/guide/dashboard/workflow/ai_chat.mdx": "2026-03-03T16:00:35+08:00",
"document/content/docs/introduction/guide/dashboard/workflow/content_extract.en.mdx": "2026-02-26T22:14:30+08:00",
"document/content/docs/introduction/guide/dashboard/workflow/content_extract.mdx": "2025-07-23T21:35:03+08:00",
"document/content/docs/introduction/guide/dashboard/workflow/coreferenceResolution.en.mdx": "2026-02-26T22:14:30+08:00",
@@ -127,8 +79,10 @@
"document/content/docs/introduction/guide/dashboard/workflow/question_classify.mdx": "2025-07-23T21:35:03+08:00",
"document/content/docs/introduction/guide/dashboard/workflow/reply.en.mdx": "2026-02-26T22:14:30+08:00",
"document/content/docs/introduction/guide/dashboard/workflow/reply.mdx": "2025-07-23T21:35:03+08:00",
+ "document/content/docs/introduction/guide/dashboard/workflow/sandbox-v2.en.mdx": "2026-02-28T12:36:59+08:00",
+ "document/content/docs/introduction/guide/dashboard/workflow/sandbox-v2.mdx": "2026-02-28T12:36:59+08:00",
"document/content/docs/introduction/guide/dashboard/workflow/sandbox.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/introduction/guide/dashboard/workflow/sandbox.mdx": "2026-02-26T15:08:45+08:00",
+ "document/content/docs/introduction/guide/dashboard/workflow/sandbox.mdx": "2026-02-28T12:36:59+08:00",
"document/content/docs/introduction/guide/dashboard/workflow/text_editor.en.mdx": "2026-02-26T22:14:30+08:00",
"document/content/docs/introduction/guide/dashboard/workflow/text_editor.mdx": "2025-07-23T21:35:03+08:00",
"document/content/docs/introduction/guide/dashboard/workflow/tfswitch.en.mdx": "2026-02-26T22:14:30+08:00",
@@ -159,8 +113,8 @@
"document/content/docs/introduction/guide/knowledge_base/yuque_dataset.mdx": "2025-09-17T22:29:56+08:00",
"document/content/docs/introduction/guide/plugins/bing_search_plugin.en.mdx": "2026-02-26T22:14:30+08:00",
"document/content/docs/introduction/guide/plugins/bing_search_plugin.mdx": "2025-07-23T21:35:03+08:00",
- "document/content/docs/introduction/guide/plugins/dev_system_tool.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/introduction/guide/plugins/dev_system_tool.mdx": "2025-11-06T14:47:55+08:00",
+ "document/content/docs/introduction/guide/plugins/dev_system_tool.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/introduction/guide/plugins/dev_system_tool.mdx": "2026-03-03T16:00:35+08:00",
"document/content/docs/introduction/guide/plugins/doc2x_plugin_guide.en.mdx": "2026-02-26T22:14:30+08:00",
"document/content/docs/introduction/guide/plugins/doc2x_plugin_guide.mdx": "2025-07-23T21:35:03+08:00",
"document/content/docs/introduction/guide/plugins/google_search_plugin_guide.en.mdx": "2026-02-26T22:14:30+08:00",
@@ -177,6 +131,10 @@
"document/content/docs/introduction/guide/team_permissions/team_roles_permissions.mdx": "2025-07-23T21:35:03+08:00",
"document/content/docs/introduction/index.en.mdx": "2026-02-26T22:14:30+08:00",
"document/content/docs/introduction/index.mdx": "2026-02-26T00:26:52+08:00",
+ "document/content/docs/introduction/opensource/intro.en.mdx": "2026-03-03T16:24:15+08:00",
+ "document/content/docs/introduction/opensource/intro.mdx": "2026-03-03T16:24:15+08:00",
+ "document/content/docs/introduction/opensource/license.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/introduction/opensource/license.mdx": "2026-03-03T16:00:35+08:00",
"document/content/docs/openapi/app.en.mdx": "2026-02-26T22:14:30+08:00",
"document/content/docs/openapi/app.mdx": "2026-02-12T18:45:30+08:00",
"document/content/docs/openapi/chat.en.mdx": "2026-02-26T22:14:30+08:00",
@@ -189,192 +147,234 @@
"document/content/docs/openapi/intro.mdx": "2026-02-12T18:45:30+08:00",
"document/content/docs/openapi/share.en.mdx": "2026-02-26T22:14:30+08:00",
"document/content/docs/openapi/share.mdx": "2026-02-12T18:45:30+08:00",
- "document/content/docs/protocol/index.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/protocol/index.mdx": "2025-07-30T15:38:30+08:00",
- "document/content/docs/protocol/open-source.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/protocol/open-source.mdx": "2025-08-05T23:20:39+08:00",
- "document/content/docs/protocol/privacy.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/protocol/privacy.mdx": "2025-12-15T23:36:54+08:00",
- "document/content/docs/protocol/terms.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/protocol/terms.mdx": "2025-12-15T23:36:54+08:00",
- "document/content/docs/toc.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/toc.mdx": "2026-02-26T15:08:45+08:00",
- "document/content/docs/upgrading/4-10/4100.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-10/4100.mdx": "2025-08-02T19:38:37+08:00",
- "document/content/docs/upgrading/4-10/4101.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-10/4101.mdx": "2025-09-08T20:07:20+08:00",
- "document/content/docs/upgrading/4-11/4110.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-11/4110.mdx": "2026-02-26T00:26:52+08:00",
- "document/content/docs/upgrading/4-11/4111.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-11/4111.mdx": "2025-08-07T22:49:09+08:00",
- "document/content/docs/upgrading/4-12/4120.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-12/4120.mdx": "2025-09-07T14:41:48+08:00",
- "document/content/docs/upgrading/4-12/4121.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-12/4121.mdx": "2025-09-07T14:41:48+08:00",
- "document/content/docs/upgrading/4-12/4122.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-12/4122.mdx": "2025-09-07T14:41:48+08:00",
- "document/content/docs/upgrading/4-12/4123.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-12/4123.mdx": "2025-09-07T20:55:14+08:00",
- "document/content/docs/upgrading/4-12/4124.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-12/4124.mdx": "2025-09-17T22:29:56+08:00",
- "document/content/docs/upgrading/4-13/4130.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-13/4130.mdx": "2025-11-04T15:06:39+08:00",
- "document/content/docs/upgrading/4-13/4131.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-13/4131.mdx": "2025-09-30T15:47:06+08:00",
- "document/content/docs/upgrading/4-13/4132.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-13/4132.mdx": "2025-12-15T11:50:00+08:00",
- "document/content/docs/upgrading/4-14/4140.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-14/4140.mdx": "2025-11-06T15:43:00+08:00",
- "document/content/docs/upgrading/4-14/4141.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-14/4141.mdx": "2025-12-31T09:54:29+08:00",
- "document/content/docs/upgrading/4-14/4142.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-14/4142.mdx": "2025-11-18T19:27:14+08:00",
- "document/content/docs/upgrading/4-14/4143.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-14/4143.mdx": "2026-02-04T14:27:58+08:00",
- "document/content/docs/upgrading/4-14/4144.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-14/4144.mdx": "2026-02-04T14:27:58+08:00",
- "document/content/docs/upgrading/4-14/4145.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-14/4145.mdx": "2026-01-18T23:59:15+08:00",
- "document/content/docs/upgrading/4-14/41451.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-14/41451.mdx": "2026-01-20T11:53:27+08:00",
- "document/content/docs/upgrading/4-14/4146.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-14/4146.mdx": "2026-02-12T16:37:50+08:00",
- "document/content/docs/upgrading/4-14/4147.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-14/4147.mdx": "2026-02-26T18:14:55+08:00",
- "document/content/docs/upgrading/4-14/4148.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-14/4148.mdx": "2026-02-25T18:28:16+08:00",
- "document/content/docs/upgrading/4-8/40.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-8/40.mdx": "2025-08-02T19:38:37+08:00",
- "document/content/docs/upgrading/4-8/41.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-8/41.mdx": "2025-08-02T19:38:37+08:00",
- "document/content/docs/upgrading/4-8/42.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-8/42.mdx": "2025-08-02T19:38:37+08:00",
- "document/content/docs/upgrading/4-8/421.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-8/421.mdx": "2025-08-02T19:38:37+08:00",
- "document/content/docs/upgrading/4-8/43.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-8/43.mdx": "2025-08-02T19:38:37+08:00",
- "document/content/docs/upgrading/4-8/44.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-8/44.mdx": "2025-08-02T19:38:37+08:00",
- "document/content/docs/upgrading/4-8/441.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-8/441.mdx": "2025-08-02T19:38:37+08:00",
- "document/content/docs/upgrading/4-8/442.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-8/442.mdx": "2025-08-02T19:38:37+08:00",
- "document/content/docs/upgrading/4-8/445.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-8/445.mdx": "2025-08-02T19:38:37+08:00",
- "document/content/docs/upgrading/4-8/446.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-8/446.mdx": "2025-08-02T19:38:37+08:00",
- "document/content/docs/upgrading/4-8/447.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-8/447.mdx": "2025-08-02T19:38:37+08:00",
- "document/content/docs/upgrading/4-8/45.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-8/45.mdx": "2025-08-05T23:20:39+08:00",
- "document/content/docs/upgrading/4-8/451.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-8/451.mdx": "2025-08-02T19:38:37+08:00",
- "document/content/docs/upgrading/4-8/452.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-8/452.mdx": "2025-08-02T19:38:37+08:00",
- "document/content/docs/upgrading/4-8/46.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-8/46.mdx": "2025-08-05T23:20:39+08:00",
- "document/content/docs/upgrading/4-8/461.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-8/461.mdx": "2025-08-02T19:38:37+08:00",
- "document/content/docs/upgrading/4-8/462.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-8/462.mdx": "2025-08-04T22:07:52+08:00",
- "document/content/docs/upgrading/4-8/463.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-8/463.mdx": "2025-08-02T19:38:37+08:00",
- "document/content/docs/upgrading/4-8/464.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-8/464.mdx": "2026-02-12T18:45:30+08:00",
- "document/content/docs/upgrading/4-8/465.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-8/465.mdx": "2025-08-05T23:20:39+08:00",
- "document/content/docs/upgrading/4-8/466.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-8/466.mdx": "2025-08-05T23:20:39+08:00",
- "document/content/docs/upgrading/4-8/467.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-8/467.mdx": "2026-02-12T18:45:30+08:00",
- "document/content/docs/upgrading/4-8/468.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-8/468.mdx": "2025-08-05T23:20:39+08:00",
- "document/content/docs/upgrading/4-8/469.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-8/469.mdx": "2026-02-12T18:45:30+08:00",
- "document/content/docs/upgrading/4-8/47.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-8/47.mdx": "2025-08-05T23:20:39+08:00",
- "document/content/docs/upgrading/4-8/471.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-8/471.mdx": "2025-08-05T23:20:39+08:00",
- "document/content/docs/upgrading/4-8/48.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-8/48.mdx": "2025-08-02T19:38:37+08:00",
- "document/content/docs/upgrading/4-8/481.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-8/481.mdx": "2025-08-02T19:38:37+08:00",
- "document/content/docs/upgrading/4-8/4810.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-8/4810.mdx": "2025-08-02T19:38:37+08:00",
- "document/content/docs/upgrading/4-8/4811.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-8/4811.mdx": "2025-08-02T19:38:37+08:00",
- "document/content/docs/upgrading/4-8/4812.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-8/4812.mdx": "2025-08-02T19:38:37+08:00",
- "document/content/docs/upgrading/4-8/4813.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-8/4813.mdx": "2025-08-02T19:38:37+08:00",
- "document/content/docs/upgrading/4-8/4814.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-8/4814.mdx": "2025-08-02T19:38:37+08:00",
- "document/content/docs/upgrading/4-8/4815.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-8/4815.mdx": "2025-08-05T23:20:39+08:00",
- "document/content/docs/upgrading/4-8/4816.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-8/4816.mdx": "2025-08-05T23:20:39+08:00",
- "document/content/docs/upgrading/4-8/4817.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-8/4817.mdx": "2025-08-02T19:38:37+08:00",
- "document/content/docs/upgrading/4-8/4818.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-8/4818.mdx": "2025-08-02T19:38:37+08:00",
- "document/content/docs/upgrading/4-8/4819.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-8/4819.mdx": "2025-08-02T19:38:37+08:00",
- "document/content/docs/upgrading/4-8/482.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-8/482.mdx": "2025-08-02T19:38:37+08:00",
- "document/content/docs/upgrading/4-8/4820.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-8/4820.mdx": "2025-08-05T23:20:39+08:00",
- "document/content/docs/upgrading/4-8/4821.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-8/4821.mdx": "2025-08-02T19:38:37+08:00",
- "document/content/docs/upgrading/4-8/4822.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-8/4822.mdx": "2025-08-02T19:38:37+08:00",
- "document/content/docs/upgrading/4-8/4823.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-8/4823.mdx": "2025-08-02T19:38:37+08:00",
- "document/content/docs/upgrading/4-8/483.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-8/483.mdx": "2025-08-02T19:38:37+08:00",
- "document/content/docs/upgrading/4-8/484.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-8/484.mdx": "2025-08-02T19:38:37+08:00",
- "document/content/docs/upgrading/4-8/485.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-8/485.mdx": "2025-08-02T19:38:37+08:00",
- "document/content/docs/upgrading/4-8/486.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-8/486.mdx": "2025-08-02T19:38:37+08:00",
- "document/content/docs/upgrading/4-8/487.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-8/487.mdx": "2025-08-02T19:38:37+08:00",
- "document/content/docs/upgrading/4-8/488.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-8/488.mdx": "2025-08-02T19:38:37+08:00",
- "document/content/docs/upgrading/4-8/489.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-8/489.mdx": "2025-08-02T19:38:37+08:00",
- "document/content/docs/upgrading/4-9/490.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-9/490.mdx": "2026-02-12T18:45:30+08:00",
- "document/content/docs/upgrading/4-9/491.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-9/491.mdx": "2025-08-02T19:38:37+08:00",
- "document/content/docs/upgrading/4-9/4910.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-9/4910.mdx": "2025-08-04T22:07:52+08:00",
- "document/content/docs/upgrading/4-9/4911.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-9/4911.mdx": "2025-08-02T19:38:37+08:00",
- "document/content/docs/upgrading/4-9/4912.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-9/4912.mdx": "2025-08-02T19:38:37+08:00",
- "document/content/docs/upgrading/4-9/4913.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-9/4913.mdx": "2025-08-02T19:38:37+08:00",
- "document/content/docs/upgrading/4-9/4914.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-9/4914.mdx": "2025-08-02T19:38:37+08:00",
- "document/content/docs/upgrading/4-9/492.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-9/492.mdx": "2026-02-12T18:45:30+08:00",
- "document/content/docs/upgrading/4-9/493.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-9/493.mdx": "2025-08-02T19:38:37+08:00",
- "document/content/docs/upgrading/4-9/494.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-9/494.mdx": "2025-08-02T19:38:37+08:00",
- "document/content/docs/upgrading/4-9/495.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-9/495.mdx": "2025-08-02T19:38:37+08:00",
- "document/content/docs/upgrading/4-9/496.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-9/496.mdx": "2025-08-04T22:07:52+08:00",
- "document/content/docs/upgrading/4-9/497.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-9/497.mdx": "2025-08-02T19:38:37+08:00",
- "document/content/docs/upgrading/4-9/498.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-9/498.mdx": "2025-08-02T19:38:37+08:00",
- "document/content/docs/upgrading/4-9/499.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/4-9/499.mdx": "2025-08-02T19:38:37+08:00",
- "document/content/docs/upgrading/index.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/upgrading/index.mdx": "2025-08-02T19:38:37+08:00",
+ "document/content/docs/self-host/config/json.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/config/json.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/config/model/ai-proxy.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/config/model/ai-proxy.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/config/model/intro.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/config/model/intro.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/config/model/one-api.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/config/model/one-api.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/config/model/ppio.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/config/model/ppio.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/config/model/siliconCloud.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/config/model/siliconCloud.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/config/object-storage.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/config/object-storage.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/config/signoz.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/config/signoz.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/custom-models/bge-rerank.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/custom-models/bge-rerank.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/custom-models/chatglm2-m3e.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/custom-models/chatglm2-m3e.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/custom-models/chatglm2.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/custom-models/chatglm2.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/custom-models/m3e.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/custom-models/m3e.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/custom-models/marker.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/custom-models/marker.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/custom-models/mineru.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/custom-models/mineru.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/custom-models/ollama.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/custom-models/ollama.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/custom-models/xinference.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/custom-models/xinference.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/deploy/docker.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/deploy/docker.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/deploy/sealos.en.mdx": "2026-03-03T16:24:15+08:00",
+ "document/content/docs/self-host/deploy/sealos.mdx": "2026-03-03T16:24:15+08:00",
+ "document/content/docs/self-host/design/dataset.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/design/dataset.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/design/design_plugin.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/design/design_plugin.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/dev.en.mdx": "2026-03-03T16:24:15+08:00",
+ "document/content/docs/self-host/dev.mdx": "2026-03-03T16:24:15+08:00",
+ "document/content/docs/self-host/faq.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/faq.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/index.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/index.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/migration/docker_db.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/migration/docker_db.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/migration/docker_mongo.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/migration/docker_mongo.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/4-12/4120.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/4-12/4120.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/4-12/4121.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/4-12/4121.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/4-12/4122.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/4-12/4122.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/4-12/4123.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/4-12/4123.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/4-12/4124.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/4-12/4124.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/4-13/4130.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/4-13/4130.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/4-13/4131.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/4-13/4131.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/4-13/4132.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/4-13/4132.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/4-14/4140.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/4-14/4140.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/4-14/4141.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/4-14/4141.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/4-14/4142.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/4-14/4142.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/4-14/4143.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/4-14/4143.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/4-14/4144.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/4-14/4144.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/4-14/4145.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/4-14/4145.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/4-14/41451.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/4-14/41451.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/4-14/4146.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/4-14/4146.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/4-14/4147.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/4-14/4147.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/4-14/4148.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/4-14/4148.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/40.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/40.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/41.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/41.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/4100.en.mdx": "2026-03-03T16:24:15+08:00",
+ "document/content/docs/self-host/upgrading/outdated/4100.mdx": "2026-03-03T16:24:15+08:00",
+ "document/content/docs/self-host/upgrading/outdated/4101.en.mdx": "2026-03-03T16:24:15+08:00",
+ "document/content/docs/self-host/upgrading/outdated/4101.mdx": "2026-03-03T16:24:15+08:00",
+ "document/content/docs/self-host/upgrading/outdated/4110.en.mdx": "2026-03-03T16:24:15+08:00",
+ "document/content/docs/self-host/upgrading/outdated/4110.mdx": "2026-03-03T16:24:15+08:00",
+ "document/content/docs/self-host/upgrading/outdated/4111.en.mdx": "2026-03-03T16:24:15+08:00",
+ "document/content/docs/self-host/upgrading/outdated/4111.mdx": "2026-03-03T16:24:15+08:00",
+ "document/content/docs/self-host/upgrading/outdated/42.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/42.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/421.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/421.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/43.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/43.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/44.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/44.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/441.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/441.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/442.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/442.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/445.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/445.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/446.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/446.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/447.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/447.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/45.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/45.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/451.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/451.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/452.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/452.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/46.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/46.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/461.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/461.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/462.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/462.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/463.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/463.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/464.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/464.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/465.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/465.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/466.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/466.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/467.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/467.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/468.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/468.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/469.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/469.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/47.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/47.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/471.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/471.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/48.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/48.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/481.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/481.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/4810.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/4810.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/4811.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/4811.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/4812.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/4812.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/4813.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/4813.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/4814.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/4814.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/4815.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/4815.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/4816.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/4816.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/4817.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/4817.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/4818.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/4818.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/4819.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/4819.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/482.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/482.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/4820.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/4820.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/4821.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/4821.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/4822.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/4822.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/4823.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/4823.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/483.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/483.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/484.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/484.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/485.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/485.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/486.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/486.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/487.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/487.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/488.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/488.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/489.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/489.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/490.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/490.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/491.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/491.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/4910.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/4910.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/4911.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/4911.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/4912.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/4912.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/4913.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/4913.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/4914.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/4914.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/492.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/492.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/493.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/493.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/494.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/494.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/495.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/495.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/496.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/496.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/497.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/497.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/498.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/498.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/499.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/outdated/499.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/upgrade-intruction.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/self-host/upgrading/upgrade-intruction.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/toc.en.mdx": "2026-03-03T16:24:15+08:00",
+ "document/content/docs/toc.mdx": "2026-03-03T16:24:15+08:00",
"document/content/docs/use-cases/app-cases/dalle3.en.mdx": "2026-02-26T22:14:30+08:00",
"document/content/docs/use-cases/app-cases/dalle3.mdx": "2025-07-23T21:35:03+08:00",
"document/content/docs/use-cases/app-cases/english_essay_correction_bot.en.mdx": "2026-02-26T22:14:30+08:00",
@@ -389,8 +389,8 @@
"document/content/docs/use-cases/app-cases/lab_appointment.mdx": "2025-12-10T20:07:05+08:00",
"document/content/docs/use-cases/app-cases/multi_turn_translation_bot.en.mdx": "2026-02-26T22:14:30+08:00",
"document/content/docs/use-cases/app-cases/multi_turn_translation_bot.mdx": "2025-07-23T21:35:03+08:00",
- "document/content/docs/use-cases/app-cases/submit_application_template.en.mdx": "2026-02-26T22:14:30+08:00",
- "document/content/docs/use-cases/app-cases/submit_application_template.mdx": "2026-01-27T15:19:19+08:00",
+ "document/content/docs/use-cases/app-cases/submit_application_template.en.mdx": "2026-03-03T16:00:35+08:00",
+ "document/content/docs/use-cases/app-cases/submit_application_template.mdx": "2026-03-03T16:00:35+08:00",
"document/content/docs/use-cases/app-cases/translate-subtitle-using-gpt.en.mdx": "2026-02-26T22:14:30+08:00",
"document/content/docs/use-cases/app-cases/translate-subtitle-using-gpt.mdx": "2025-07-23T21:35:03+08:00",
"document/content/docs/use-cases/external-integration/dingtalk.en.mdx": "2026-02-26T22:14:30+08:00",
diff --git a/document/i18n/en/common.json b/document/i18n/en/common.json
index 3262f4197b..68fcea1389 100644
--- a/document/i18n/en/common.json
+++ b/document/i18n/en/common.json
@@ -15,6 +15,7 @@
"api_reference": "API Reference",
"use-cases": "Use Cases",
"api": "API",
+ "selfHost": "Self-Host",
"protocol": "Protocol",
"upgrading": "Upgrading",
"faq": "FAQ"
diff --git a/document/i18n/zh-CN/common.json b/document/i18n/zh-CN/common.json
index c654e9f78b..29645c3382 100644
--- a/document/i18n/zh-CN/common.json
+++ b/document/i18n/zh-CN/common.json
@@ -16,6 +16,7 @@
"use-cases": "使用场景",
"api": "API 手册",
"protocol": "协议",
+ "selfHost": "自部署",
"upgrading": "更新日志",
"faq": "常见问题"
}
diff --git a/document/lib/schema.ts b/document/lib/schema.ts
new file mode 100644
index 0000000000..82daeafb15
--- /dev/null
+++ b/document/lib/schema.ts
@@ -0,0 +1,51 @@
+import type { Article, BreadcrumbList, WithContext } from 'schema-dts';
+
+export function generateArticleSchema(params: {
+ title: string;
+ description: string;
+ url: string;
+ dateModified?: Date;
+ lang: string;
+}): WithContext {
+ const { title, description, url, dateModified, lang } = params;
+
+ return {
+ '@context': 'https://schema.org',
+ '@type': 'Article',
+ headline: title,
+ description,
+ url,
+ inLanguage: lang,
+ dateModified: dateModified?.toISOString(),
+ author: {
+ '@type': 'Organization',
+ name: 'Labring',
+ url: 'https://github.com/labring'
+ },
+ publisher: {
+ '@type': 'Organization',
+ name: 'FastGPT',
+ logo: {
+ '@type': 'ImageObject',
+ url: 'https://doc.fastgpt.io/logo.svg'
+ }
+ }
+ };
+}
+
+export function generateBreadcrumbSchema(params: {
+ items: Array<{ name: string; url: string }>;
+}): WithContext {
+ const { items } = params;
+
+ return {
+ '@context': 'https://schema.org',
+ '@type': 'BreadcrumbList',
+ itemListElement: items.map((item, index) => ({
+ '@type': 'ListItem',
+ position: index + 1,
+ name: item.name,
+ item: item.url
+ }))
+ };
+}
diff --git a/document/middleware.ts b/document/middleware.ts
index fb98b50723..0e91a04bd0 100644
--- a/document/middleware.ts
+++ b/document/middleware.ts
@@ -1,6 +1,6 @@
import { createI18nMiddleware } from 'fumadocs-core/i18n';
import { i18n } from '@/lib/i18n';
-import { NextRequest, NextResponse } from 'next/server';
+import { type NextRequest, NextResponse } from 'next/server';
// Old path redirects mapping
const exactMap: Record = {
@@ -11,18 +11,27 @@ const exactMap: Record = {
'/docs/guide/admin/sso_dingtalk':
'/docs/introduction/guide/admin/sso#/docs/introduction/guide/admin/sso#钉钉',
'/docs/guide/knowledge_base/rag': '/docs/introduction/guide/knowledge_base/RAG',
- '/docs/commercial/intro/': '/docs/introduction/commercial',
- '/docs/upgrading/intro/': '/docs/upgrading',
- '/docs/introduction/shopping_cart/intro/': '/docs/introduction/commercial'
+ '/docs/commercial/intro': '/docs/introduction/commercial',
+ '/docs/upgrading/intro': '/docs/self-host/upgrading/upgrade-intruction',
+ '/docs/upgrading': '/docs/self-host/upgrading/upgrade-intruction',
+ '/docs/introduction/shopping_cart/intro/': '/docs/introduction/commercial',
+ '/docs/introduction/cloud': '/docs/introduction/cloud/intro',
+ '/docs/protocol/terms': '/docs/introduction/cloud/terms',
+ '/docs/protocol/privacy': '/docs/introduction/cloud/privacy',
+ '/docs/introduction/development/docker': '/docs/self-host/deploy/docker',
+ '/docs/introduction/development/sealos': '/docs/self-host/deploy/sealos',
+ '/docs/introduction/development/intro': '/docs/self-host/dev',
+ '/docs/introduction/development/object-storage': '/docs/self-host/config/object-storage'
};
const prefixMap: Record = {
- '/docs/development': '/docs/introduction/development',
'/docs/FAQ': '/docs/faq',
'/docs/guide': '/docs/introduction/guide',
'/docs/shopping_cart': '/docs/introduction/shopping_cart',
- '/docs/agreement': '/docs/protocol',
- '/docs/introduction/development/openapi': '/docs/openapi'
+ '/docs/upgrading': '/docs/self-host/upgrading',
+ '/docs/development': '/docs/self-host',
+ '/docs/introduction/development/openapi': '/docs/openapi',
+ '/docs/introduction/development': '/docs/self-host'
};
const i18nMiddleware = createI18nMiddleware(i18n);
@@ -91,5 +100,6 @@ export default function middleware(request: NextRequest) {
}
export const config = {
- matcher: ['/((?!api|_next/static|_next/image|favicon.ico|.*\\.svg|.*\\.png|deploy/.*).*)']
+ matcher: [
+ '/((?!api|_next/static|_next/image|favicon.ico|robots\\.txt|sitemap.*\\.xml|.*\\.svg|.*\\.png|deploy/.*).*)']
};
diff --git a/document/package-lock.json b/document/package-lock.json
index b675119a31..514c70dcc2 100644
--- a/document/package-lock.json
+++ b/document/package-lock.json
@@ -25,7 +25,8 @@
"remark": "^15.0.1",
"remark-gfm": "^4.0.1",
"remark-mdx": "^3.1.0",
- "remark-stringify": "^11.0.0"
+ "remark-stringify": "^11.0.0",
+ "schema-dts": "^1.1.5"
},
"devDependencies": {
"@content-collections/core": "^0.10.0",
@@ -5844,6 +5845,12 @@
"integrity": "sha512-NlHwttCI/l5gCPR3D1nNXtWABUmBwvZpEQiD4IXSbIDq8BzLIK/7Ir5gTFSGZDUu37K5cMNp0hFtzO38sC7gWA==",
"license": "MIT"
},
+ "node_modules/schema-dts": {
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/schema-dts/-/schema-dts-1.1.5.tgz",
+ "integrity": "sha512-RJr9EaCmsLzBX2NDiO5Z3ux2BVosNZN5jo0gWgsyKvxKIUL5R3swNvoorulAeL9kLB0iTSX7V6aokhla2m7xbg==",
+ "license": "Apache-2.0"
+ },
"node_modules/scroll-into-view-if-needed": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/scroll-into-view-if-needed/-/scroll-into-view-if-needed-3.1.0.tgz",
diff --git a/document/package.json b/document/package.json
index fce2c4f50e..04c0635f23 100644
--- a/document/package.json
+++ b/document/package.json
@@ -25,7 +25,8 @@
"remark": "^15.0.1",
"remark-gfm": "^4.0.1",
"remark-mdx": "^3.1.0",
- "remark-stringify": "^11.0.0"
+ "remark-stringify": "^11.0.0",
+ "schema-dts": "^1.1.5"
},
"devDependencies": {
"@content-collections/core": "^0.10.0",
diff --git a/document/public/deploy/docker/cn/docker-compose.milvus.yml b/document/public/deploy/docker/cn/docker-compose.milvus.yml
index 018bfd92de..ee31cf9303 100644
--- a/document/public/deploy/docker/cn/docker-compose.milvus.yml
+++ b/document/public/deploy/docker/cn/docker-compose.milvus.yml
@@ -12,7 +12,7 @@ x-share-db-config: &x-share-db-config
MONGODB_URI: mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin
DB_MAX_LINK: 100
REDIS_URL: redis://default:mypassword@redis:6379
- # @see https://doc.fastgpt.cn/docs/introduction/development/object-storage
+ # @see https://doc.fastgpt.cn/docs/self-host/config/object-storage
STORAGE_VENDOR: minio # minio | aws-s3 | cos | oss
STORAGE_REGION: us-east-1
STORAGE_ACCESS_KEY_ID: minioadmin
diff --git a/document/public/deploy/docker/cn/docker-compose.oceanbase.yml b/document/public/deploy/docker/cn/docker-compose.oceanbase.yml
index 492d01b600..38e289ed6c 100644
--- a/document/public/deploy/docker/cn/docker-compose.oceanbase.yml
+++ b/document/public/deploy/docker/cn/docker-compose.oceanbase.yml
@@ -12,7 +12,7 @@ x-share-db-config: &x-share-db-config
MONGODB_URI: mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin
DB_MAX_LINK: 100
REDIS_URL: redis://default:mypassword@redis:6379
- # @see https://doc.fastgpt.cn/docs/introduction/development/object-storage
+ # @see https://doc.fastgpt.cn/docs/self-host/config/object-storage
STORAGE_VENDOR: minio # minio | aws-s3 | cos | oss
STORAGE_REGION: us-east-1
STORAGE_ACCESS_KEY_ID: minioadmin
diff --git a/document/public/deploy/docker/cn/docker-compose.pg.yml b/document/public/deploy/docker/cn/docker-compose.pg.yml
index 3bd6d32b95..4bd3e28200 100644
--- a/document/public/deploy/docker/cn/docker-compose.pg.yml
+++ b/document/public/deploy/docker/cn/docker-compose.pg.yml
@@ -12,7 +12,7 @@ x-share-db-config: &x-share-db-config
MONGODB_URI: mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin
DB_MAX_LINK: 100
REDIS_URL: redis://default:mypassword@redis:6379
- # @see https://doc.fastgpt.cn/docs/introduction/development/object-storage
+ # @see https://doc.fastgpt.cn/docs/self-host/config/object-storage
STORAGE_VENDOR: minio # minio | aws-s3 | cos | oss
STORAGE_REGION: us-east-1
STORAGE_ACCESS_KEY_ID: minioadmin
diff --git a/document/public/deploy/docker/cn/docker-compose.seekdb.yml b/document/public/deploy/docker/cn/docker-compose.seekdb.yml
index 44ae0ab1f7..f9f9e5a183 100644
--- a/document/public/deploy/docker/cn/docker-compose.seekdb.yml
+++ b/document/public/deploy/docker/cn/docker-compose.seekdb.yml
@@ -12,7 +12,7 @@ x-share-db-config: &x-share-db-config
MONGODB_URI: mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin
DB_MAX_LINK: 100
REDIS_URL: redis://default:mypassword@redis:6379
- # @see https://doc.fastgpt.cn/docs/introduction/development/object-storage
+ # @see https://doc.fastgpt.cn/docs/self-host/config/object-storage
STORAGE_VENDOR: minio # minio | aws-s3 | cos | oss
STORAGE_REGION: us-east-1
STORAGE_ACCESS_KEY_ID: minioadmin
diff --git a/document/public/deploy/docker/cn/docker-compose.zilliz.yml b/document/public/deploy/docker/cn/docker-compose.zilliz.yml
index 7dc38fdff0..e4d108ea3d 100644
--- a/document/public/deploy/docker/cn/docker-compose.zilliz.yml
+++ b/document/public/deploy/docker/cn/docker-compose.zilliz.yml
@@ -12,7 +12,7 @@ x-share-db-config: &x-share-db-config
MONGODB_URI: mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin
DB_MAX_LINK: 100
REDIS_URL: redis://default:mypassword@redis:6379
- # @see https://doc.fastgpt.cn/docs/introduction/development/object-storage
+ # @see https://doc.fastgpt.cn/docs/self-host/config/object-storage
STORAGE_VENDOR: minio # minio | aws-s3 | cos | oss
STORAGE_REGION: us-east-1
STORAGE_ACCESS_KEY_ID: minioadmin
diff --git a/document/public/deploy/docker/global/docker-compose.milvus.yml b/document/public/deploy/docker/global/docker-compose.milvus.yml
index 1f33771859..e9ec868f27 100644
--- a/document/public/deploy/docker/global/docker-compose.milvus.yml
+++ b/document/public/deploy/docker/global/docker-compose.milvus.yml
@@ -12,7 +12,7 @@ x-share-db-config: &x-share-db-config
MONGODB_URI: mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin
DB_MAX_LINK: 100
REDIS_URL: redis://default:mypassword@redis:6379
- # @see https://doc.fastgpt.cn/docs/introduction/development/object-storage
+ # @see https://doc.fastgpt.cn/docs/self-host/config/object-storage
STORAGE_VENDOR: minio # minio | aws-s3 | cos | oss
STORAGE_REGION: us-east-1
STORAGE_ACCESS_KEY_ID: minioadmin
diff --git a/document/public/deploy/docker/global/docker-compose.oceanbase.yml b/document/public/deploy/docker/global/docker-compose.oceanbase.yml
index 1c2e6d6a45..cc4054d2f2 100644
--- a/document/public/deploy/docker/global/docker-compose.oceanbase.yml
+++ b/document/public/deploy/docker/global/docker-compose.oceanbase.yml
@@ -12,7 +12,7 @@ x-share-db-config: &x-share-db-config
MONGODB_URI: mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin
DB_MAX_LINK: 100
REDIS_URL: redis://default:mypassword@redis:6379
- # @see https://doc.fastgpt.cn/docs/introduction/development/object-storage
+ # @see https://doc.fastgpt.cn/docs/self-host/config/object-storage
STORAGE_VENDOR: minio # minio | aws-s3 | cos | oss
STORAGE_REGION: us-east-1
STORAGE_ACCESS_KEY_ID: minioadmin
diff --git a/document/public/deploy/docker/global/docker-compose.pg.yml b/document/public/deploy/docker/global/docker-compose.pg.yml
index e28654d28c..3089881607 100644
--- a/document/public/deploy/docker/global/docker-compose.pg.yml
+++ b/document/public/deploy/docker/global/docker-compose.pg.yml
@@ -12,7 +12,7 @@ x-share-db-config: &x-share-db-config
MONGODB_URI: mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin
DB_MAX_LINK: 100
REDIS_URL: redis://default:mypassword@redis:6379
- # @see https://doc.fastgpt.cn/docs/introduction/development/object-storage
+ # @see https://doc.fastgpt.cn/docs/self-host/config/object-storage
STORAGE_VENDOR: minio # minio | aws-s3 | cos | oss
STORAGE_REGION: us-east-1
STORAGE_ACCESS_KEY_ID: minioadmin
diff --git a/document/public/deploy/docker/global/docker-compose.seekdb.yml b/document/public/deploy/docker/global/docker-compose.seekdb.yml
index 34ad657ab6..c2ee4435f4 100644
--- a/document/public/deploy/docker/global/docker-compose.seekdb.yml
+++ b/document/public/deploy/docker/global/docker-compose.seekdb.yml
@@ -12,7 +12,7 @@ x-share-db-config: &x-share-db-config
MONGODB_URI: mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin
DB_MAX_LINK: 100
REDIS_URL: redis://default:mypassword@redis:6379
- # @see https://doc.fastgpt.cn/docs/introduction/development/object-storage
+ # @see https://doc.fastgpt.cn/docs/self-host/config/object-storage
STORAGE_VENDOR: minio # minio | aws-s3 | cos | oss
STORAGE_REGION: us-east-1
STORAGE_ACCESS_KEY_ID: minioadmin
diff --git a/document/public/deploy/docker/global/docker-compose.ziliiz.yml b/document/public/deploy/docker/global/docker-compose.ziliiz.yml
index d78e6ac755..bac7cf0b6a 100644
--- a/document/public/deploy/docker/global/docker-compose.ziliiz.yml
+++ b/document/public/deploy/docker/global/docker-compose.ziliiz.yml
@@ -12,7 +12,7 @@ x-share-db-config: &x-share-db-config
MONGODB_URI: mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin
DB_MAX_LINK: 100
REDIS_URL: redis://default:mypassword@redis:6379
- # @see https://doc.fastgpt.cn/docs/introduction/development/object-storage
+ # @see https://doc.fastgpt.cn/docs/self-host/config/object-storage
STORAGE_VENDOR: minio # minio | aws-s3 | cos | oss
STORAGE_REGION: us-east-1
STORAGE_ACCESS_KEY_ID: minioadmin
diff --git a/document/public/deploy/install.sh b/document/public/deploy/install.sh
index 0cd21bbfd6..80e3f2f91c 100644
--- a/document/public/deploy/install.sh
+++ b/document/public/deploy/install.sh
@@ -264,4 +264,4 @@ echo " 3. 访问服务: http://localhost:3000"
echo " 4. 登录服务: 默认账号为 'root', 密码为: '1234'"
echo " 5. 配置模型: 在 '账号-模型提供商' 页面,进行模型配置"
echo ""
-echo "详细文档: https://doc.fastgpt.cn/docs/introduction/development/docker"
+echo "详细文档: https://doc.fastgpt.cn/docs/self-host/deploy/docker"
diff --git a/document/public/favicon/site.webmanifest b/document/public/favicon/site.webmanifest
index cac41957bc..d787c7fd27 100644
--- a/document/public/favicon/site.webmanifest
+++ b/document/public/favicon/site.webmanifest
@@ -3,12 +3,12 @@
"short_name": "FastGPT",
"icons": [
{
- "src": "/android-chrome-192x192.png",
+ "src": "/favicon/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
- "src": "/android-chrome-512x512.png",
+ "src": "/favicon/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
diff --git a/plugins/model/rerank-bge/README.md b/plugins/model/rerank-bge/README.md
index e6986d1923..be5bf9cd99 100644
--- a/plugins/model/rerank-bge/README.md
+++ b/plugins/model/rerank-bge/README.md
@@ -111,4 +111,4 @@ services:
## 接入 FastGPT
-参考 [ReRank模型接入](https://doc.fastgpt.io/docs/introduction/development/configuration/#rerank-接入)
+参考 [ReRank模型接入](/docs/self-host/config/model/intro/#rerank-模型接入)
diff --git a/projects/app/next.config.ts b/projects/app/next.config.ts
index 05eaadfc6a..07596df6b7 100644
--- a/projects/app/next.config.ts
+++ b/projects/app/next.config.ts
@@ -19,6 +19,8 @@ const nextConfig: NextConfig = {
// 开发环境关闭 strict mode,避免第三方库的双重渲染问题
reactStrictMode: !isDev,
productionBrowserSourceMaps: false,
+ // 启用 SWC 压缩
+ swcMinify: true,
async headers() {
return [
{
@@ -99,7 +101,19 @@ const nextConfig: NextConfig = {
if (isDev && !isServer) {
config.watchOptions = {
...config.watchOptions,
- ignored: ['**/node_modules', '**/.git', '**/dist', '**/coverage']
+ ignored: [
+ '**/node_modules',
+ '**/.git',
+ '**/dist',
+ '**/coverage',
+ '../../packages/**/node_modules',
+ '../../packages/**/dist',
+ '**/.next',
+ '**/out'
+ ],
+ // 减少轮询频率,降低 CPU 和内存占用
+ poll: 1000,
+ aggregateTimeout: 300
};
}
@@ -127,7 +141,9 @@ const nextConfig: NextConfig = {
'@emotion/styled'
],
// 按页面拆分 CSS chunk,减少首屏 CSS 体积
- cssChunking: 'strict'
+ cssChunking: 'strict',
+ // 减少内存占用
+ memoryBasedWorkersCount: true
},
outputFileTracingRoot: path.join(__dirname, '../../')
};
diff --git a/projects/app/package.json b/projects/app/package.json
index 81d6625658..b00dd60481 100644
--- a/projects/app/package.json
+++ b/projects/app/package.json
@@ -3,7 +3,7 @@
"version": "4.14.7",
"private": false,
"scripts": {
- "dev": "npm run build:workers && next dev",
+ "dev": "NODE_OPTIONS='--max-old-space-size=8192' npm run build:workers && next dev",
"build": "npm run build:workers && npm run lint && npm run typecheck && next build --debug",
"start": "next start",
"lint": "next lint",
diff --git a/projects/app/src/pageComponents/login/LoginForm/PolicyTip.tsx b/projects/app/src/pageComponents/login/LoginForm/PolicyTip.tsx
index 091f3fdf76..d125ad5d3f 100644
--- a/projects/app/src/pageComponents/login/LoginForm/PolicyTip.tsx
+++ b/projects/app/src/pageComponents/login/LoginForm/PolicyTip.tsx
@@ -24,14 +24,14 @@ const PolicyTip = ({ isCenter }: { isCenter: boolean }) => {
div: ,
termsLink: (
),
privacyLink: (
diff --git a/projects/app/src/pageComponents/login/index.tsx b/projects/app/src/pageComponents/login/index.tsx
index eb68fd3554..3298c4f564 100644
--- a/projects/app/src/pageComponents/login/index.tsx
+++ b/projects/app/src/pageComponents/login/index.tsx
@@ -75,7 +75,7 @@ const CookiesModal = () => {
textDecorationLine={'underline'}
cursor={'pointer'}
w={'fit-content'}
- onClick={() => window.open(getDocPath('/docs/protocol/privacy/'), '_blank')}
+ onClick={() => window.open(getDocPath('/docs/introduction/cloud/privacy/'), '_blank')}
>
{t('login:privacy_policy')}
diff --git a/projects/app/tsconfig.json b/projects/app/tsconfig.json
index 1807a848fa..c53e971931 100644
--- a/projects/app/tsconfig.json
+++ b/projects/app/tsconfig.json
@@ -8,6 +8,12 @@
"@t3-oss/env-core": ["../../packages/service/node_modules/@t3-oss/env-core/dist/index.d.ts"]
}
},
- "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "../../packages/**/*.ts"],
- "exclude": ["**/*.test.ts"]
+ "include": [
+ "next-env.d.ts",
+ "**/*.ts",
+ "**/*.tsx",
+ "../../packages/**/*.ts",
+ "../../packages/**/*.tsx"
+ ],
+ "exclude": ["**/*.test.ts", "**/*.test.tsx", ".next", "dist", "coverage"]
}