Commit d0357238 by Archer Committed by GitHub

Doc (#6880)

* doc

* doc

* doc

* doc style
parent f252bc73
......@@ -4,9 +4,6 @@ node_modules/
.next/
.turbo/
out/
# production
build/
.astro/
# misc
.DS_Store
......
......@@ -21,7 +21,7 @@ FastGPT 是一个 AI Agent 构建平台,提供开箱即用的数据处理、
<a href="https://fastgpt.io/">
<img height="21" src="https://img.shields.io/badge/在线使用-d4eaf7?style=flat-square&logo=spoj&logoColor=7d09f1" alt="cloud">
</a>
<a href="https://doc.fastgpt.io/introduction">
<a href="https://doc.fastgpt.io/guide/getting-started">
<img height="21" src="https://img.shields.io/badge/相关文档-7d09f1?style=flat-square" alt="document">
</a>
<a href="https://doc.fastgpt.io/self-host/dev">
......@@ -58,7 +58,7 @@ docker compose up -d
可以使用[Docker](https://doc.fastgpt.io/self-host/deploy/docker)快速部署,也可以使用[Sealos Cloud](https://doc.fastgpt.io/self-host/deploy/sealos) 来一键部署FastGPT。
- **商业版**
如果你需要更完整的功能,或深度的服务支持,可以选择我们的[商业版](https://doc.fastgpt.io/introduction/commercial)。我们除了提供完整的软件外,还提供相应的场景落地辅导,具体可提交[商业咨询](https://fael3z0zfze.feishu.cn/share/base/form/shrcnjJWtKqjOI9NbQTzhNyzljc)
如果你需要更完整的功能,或深度的服务支持,可以选择我们的[商业版](https://doc.fastgpt.io/guide/version/commercial)。我们除了提供完整的软件外,还提供相应的场景落地辅导,具体可提交[商业咨询](https://fael3z0zfze.feishu.cn/share/base/form/shrcnjJWtKqjOI9NbQTzhNyzljc)
## 💡 核心功能
......@@ -203,4 +203,4 @@ docker compose up -d
1. 允许作为后台服务直接商用,但不允许提供 SaaS 服务。
2. 未经商业授权,任何形式的商用服务均需保留相关版权信息。
3. 完整请查看 [FastGPT Open Source License](./LICENSE)
4. 联系方式:Dennis@sealos.io,[点击查看商业版定价策略](https://doc.fastgpt.io/introduction/commercial/)
4. 联系方式:Dennis@sealos.io,[点击查看商业版定价策略](https://doc.fastgpt.io/guide/version/commercial)
......@@ -21,7 +21,7 @@ FastGPT is an AI Agent building platform that provides out-of-the-box capabiliti
<a href="https://fastgpt.io/">
<img height="21" src="https://img.shields.io/badge/Online_Usage-d4eaf7?style=flat-square&logo=spoj&logoColor=7d09f1" alt="cloud">
</a>
<a href="https://doc.fastgpt.io/introduction">
<a href="https://doc.fastgpt.io/guide/getting-started">
<img height="21" src="https://img.shields.io/badge/Documentation-7d09f1?style=flat-square" alt="document">
</a>
<a href="https://doc.fastgpt.io/self-host/dev">
......@@ -58,7 +58,7 @@ If you encounter any issues, you can [view the complete Docker deployment tutori
You can quickly deploy using [Docker](https://doc.fastgpt.io/self-host/deploy/docker) or use [Sealos Cloud](https://doc.fastgpt.io/self-host/deploy/sealos) to deploy FastGPT with one click.
- **Commercial Version**
If you need more complete features or in-depth service support, you can choose our [Commercial Version](https://doc.fastgpt.io/introduction/commercial). In addition to providing complete software, we also offer implementation guidance for specific scenarios. You can submit a [commercial consultation](https://fael3z0zfze.feishu.cn/share/base/form/shrcnjJWtKqjOI9NbQTzhNyzljc).
If you need more complete features or in-depth service support, you can choose our [Commercial Version](https://doc.fastgpt.io/guide/version/commercial). In addition to providing complete software, we also offer implementation guidance for specific scenarios. You can submit a [commercial consultation](https://fael3z0zfze.feishu.cn/share/base/form/shrcnjJWtKqjOI9NbQTzhNyzljc).
## 💡 Core Features
......@@ -203,4 +203,4 @@ This repository follows the [FastGPT Open Source License](./LICENSE).
1. Commercial use as backend services is allowed, but SaaS services are not permitted.
2. Any commercial services without commercial authorization must retain the relevant copyright information.
3. Please see [FastGPT Open Source License](./LICENSE) for full details.
4. Contact: Dennis@sealos.io, [View Commercial Pricing](https://doc.fastgpt.io/introduction/commercial/)
4. Contact: Dennis@sealos.io, [View Commercial Pricing](https://doc.fastgpt.io/guide/version/commercial)
......@@ -21,7 +21,7 @@ FastGPT adalah platform pembangunan AI Agent yang menyediakan kemampuan siap pak
<a href="https://fastgpt.io/">
<img height="21" src="https://img.shields.io/badge/Penggunaan_Online-d4eaf7?style=flat-square&logo=spoj&logoColor=7d09f1" alt="cloud">
</a>
<a href="https://doc.fastgpt.io/introduction">
<a href="https://doc.fastgpt.io/guide/getting-started">
<img height="21" src="https://img.shields.io/badge/Dokumentasi-7d09f1?style=flat-square" alt="document">
</a>
<a href="https://doc.fastgpt.io/self-host/dev">
......@@ -58,7 +58,7 @@ Jika Anda menghadapi masalah, Anda dapat [melihat tutorial penyebaran Docker len
Anda dapat menyebarkan dengan cepat menggunakan [Docker](https://doc.fastgpt.io/self-host/deploy/docker) atau menggunakan [Sealos Cloud](https://doc.fastgpt.io/self-host/deploy/sealos) untuk menyebarkan FastGPT dengan satu klik.
- **Versi Komersial**
Jika Anda membutuhkan fitur yang lebih lengkap atau dukungan layanan mendalam, Anda dapat memilih [Versi Komersial](https://doc.fastgpt.io/introduction/commercial). Selain menyediakan perangkat lunak lengkap, kami juga menyediakan panduan implementasi untuk skenario tertentu. Anda dapat mengirimkan [konsultasi komersial](https://fael3z0zfze.feishu.cn/share/base/form/shrcnjJWtKqjOI9NbQTzhNyzljc).
Jika Anda membutuhkan fitur yang lebih lengkap atau dukungan layanan mendalam, Anda dapat memilih [Versi Komersial](https://doc.fastgpt.io/guide/version/commercial). Selain menyediakan perangkat lunak lengkap, kami juga menyediakan panduan implementasi untuk skenario tertentu. Anda dapat mengirimkan [konsultasi komersial](https://fael3z0zfze.feishu.cn/share/base/form/shrcnjJWtKqjOI9NbQTzhNyzljc).
## 💡 Fitur Inti
......@@ -203,4 +203,4 @@ Repositori ini mengikuti [FastGPT Open Source License](./LICENSE).
1. Penggunaan komersial sebagai layanan backend diperbolehkan, tetapi layanan SaaS tidak diperbolehkan.
2. Setiap layanan komersial tanpa otorisasi komersial harus mempertahankan informasi hak cipta yang relevan.
3. Silakan lihat [FastGPT Open Source License](./LICENSE) untuk detail lengkap.
4. Kontak: Dennis@sealos.io, [Lihat Harga Komersial](https://doc.fastgpt.io/introduction/commercial/)
4. Kontak: Dennis@sealos.io, [Lihat Harga Komersial](https://doc.fastgpt.io/guide/version/commercial)
......@@ -21,7 +21,7 @@ FastGPT 縺ッ AI Agent 讒狗ッ峨繝ゥ繝ヨ繝輔か繝シ繝縺ァ縺ゅj縲√☆縺舌↓菴ソ縺医
<a href="https://fastgpt.io/">
<img height="21" src="https://img.shields.io/badge/オンライン利用-d4eaf7?style=flat-square&logo=spoj&logoColor=7d09f1" alt="cloud">
</a>
<a href="https://doc.fastgpt.io/introduction">
<a href="https://doc.fastgpt.io/guide/getting-started">
<img height="21" src="https://img.shields.io/badge/ドキュメント-7d09f1?style=flat-square" alt="document">
</a>
<a href="https://doc.fastgpt.io/self-host/dev">
......@@ -58,7 +58,7 @@ docker compose up -d
[Docker](https://doc.fastgpt.io/self-host/deploy/docker) で素早くデプロイするか、[Sealos Cloud](https://doc.fastgpt.io/self-host/deploy/sealos) でワンクリックデプロイが可能です。
- **商用版**
より完全な機能や深いサービスサポートが必要な場合は、[商用版](https://doc.fastgpt.io/introduction/commercial)をお選びいただけます。完全なソフトウェアの提供に加え、シナリオに応じた導入ガイダンスも提供しています。[商用相談](https://fael3z0zfze.feishu.cn/share/base/form/shrcnjJWtKqjOI9NbQTzhNyzljc)からお問い合わせください。
より完全な機能や深いサービスサポートが必要な場合は、[商用版](https://doc.fastgpt.io/guide/version/commercial)をお選びいただけます。完全なソフトウェアの提供に加え、シナリオに応じた導入ガイダンスも提供しています。[商用相談](https://fael3z0zfze.feishu.cn/share/base/form/shrcnjJWtKqjOI9NbQTzhNyzljc)からお問い合わせください。
## 💡 コア機能
......@@ -203,4 +203,4 @@ Feishu 繧ー繝ォ繝シ繝励↓蜿ょ刈
1. バックエンドサービスとしての商用利用は許可されていますが、SaaS サービスの提供は許可されていません。
2. 商用ライセンスなしの商用サービスは、関連する著作権情報を保持する必要があります。
3. 詳細は [FastGPT Open Source License](./LICENSE) をご覧ください。
4. お問い合わせ:Dennis@sealos.io、[商用版の価格を見る](https://doc.fastgpt.io/introduction/commercial/)
4. お問い合わせ:Dennis@sealos.io、[商用版の価格を見る](https://doc.fastgpt.io/guide/version/commercial)
......@@ -21,7 +21,7 @@ FastGPT เป็นแพลตฟอร์มสำหรับสร้าง
<a href="https://fastgpt.io/">
<img height="21" src="https://img.shields.io/badge/ใช้งานออนไลน์-d4eaf7?style=flat-square&logo=spoj&logoColor=7d09f1" alt="cloud">
</a>
<a href="https://doc.fastgpt.io/introduction">
<a href="https://doc.fastgpt.io/guide/getting-started">
<img height="21" src="https://img.shields.io/badge/เอกสาร-7d09f1?style=flat-square" alt="document">
</a>
<a href="https://doc.fastgpt.io/self-host/dev">
......@@ -58,7 +58,7 @@ docker compose up -d
คุณสามารถติดตั้งได้อย่างรวดเร็วโดยใช้ [Docker](https://doc.fastgpt.io/self-host/deploy/docker) หรือใช้ [Sealos Cloud](https://doc.fastgpt.io/self-host/deploy/sealos) เพื่อติดตั้ง FastGPT ด้วยคลิกเดียว
- **เวอร์ชันพาณิชย์**
หากคุณต้องการคุณสมบัติที่สมบูรณ์มากขึ้นหรือการสนับสนุนบริการเชิงลึก คุณสามารถเลือก [เวอร์ชันพาณิชย์](https://doc.fastgpt.io/introduction/commercial) นอกจากการให้ซอฟต์แวร์ที่สมบูรณ์ เรายังให้คำแนะนำการนำไปใช้สำหรับสถานการณ์เฉพาะ คุณสามารถส่ง[ปรึกษาธุรกิจ](https://fael3z0zfze.feishu.cn/share/base/form/shrcnjJWtKqjOI9NbQTzhNyzljc)
หากคุณต้องการคุณสมบัติที่สมบูรณ์มากขึ้นหรือการสนับสนุนบริการเชิงลึก คุณสามารถเลือก [เวอร์ชันพาณิชย์](https://doc.fastgpt.io/guide/version/commercial) นอกจากการให้ซอฟต์แวร์ที่สมบูรณ์ เรายังให้คำแนะนำการนำไปใช้สำหรับสถานการณ์เฉพาะ คุณสามารถส่ง[ปรึกษาธุรกิจ](https://fael3z0zfze.feishu.cn/share/base/form/shrcnjJWtKqjOI9NbQTzhNyzljc)
## 💡 คุณสมบัติหลัก
......@@ -203,4 +203,4 @@ docker compose up -d
1. อนุญาตให้ใช้เชิงพาณิชย์เป็นบริการแบ็กเอนด์ แต่ไม่อนุญาตให้ให้บริการ SaaS
2. บริการเชิงพาณิชย์ใดๆ ที่ไม่มีการอนุญาตเชิงพาณิชย์ต้องเก็บข้อมูลลิขสิทธิ์ที่เกี่ยวข้องไว้
3. โปรดดู [FastGPT Open Source License](./LICENSE) สำหรับรายละเอียดฉบับเต็ม
4. ติดต่อ: Dennis@sealos.io, [ดูราคาพาณิชย์](https://doc.fastgpt.io/introduction/commercial/)
4. ติดต่อ: Dennis@sealos.io, [ดูราคาพาณิชย์](https://doc.fastgpt.io/guide/version/commercial)
......@@ -21,7 +21,7 @@ FastGPT là nền tảng xây dựng AI Agent cung cấp khả năng sẵn sàng
<a href="https://fastgpt.io/">
<img height="21" src="https://img.shields.io/badge/Sử_Dụng_Online-d4eaf7?style=flat-square&logo=spoj&logoColor=7d09f1" alt="cloud">
</a>
<a href="https://doc.fastgpt.io/introduction">
<a href="https://doc.fastgpt.io/guide/getting-started">
<img height="21" src="https://img.shields.io/badge/Tài_Liệu-7d09f1?style=flat-square" alt="document">
</a>
<a href="https://doc.fastgpt.io/self-host/dev">
......@@ -58,7 +58,7 @@ Nếu bạn gặp vấn đề, bạn có thể [xem hướng dẫn triển khai
Bạn có thể triển khai nhanh chóng bằng [Docker](https://doc.fastgpt.io/self-host/deploy/docker) hoặc sử dụng [Sealos Cloud](https://doc.fastgpt.io/self-host/deploy/sealos) để triển khai FastGPT bằng một cú nhấp chuột.
- **Phiên Bản Thương Mại**
Nếu bạn cần các tính năng đầy đủ hơn hoặc hỗ trợ dịch vụ chuyên sâu, bạn có thể chọn [Phiên Bản Thương Mại](https://doc.fastgpt.io/introduction/commercial). Ngoài việc cung cấp phần mềm đầy đủ, chúng tôi còn cung cấp hướng dẫn triển khai cho các kịch bản cụ thể. Bạn có thể gửi [tư vấn thương mại](https://fael3z0zfze.feishu.cn/share/base/form/shrcnjJWtKqjOI9NbQTzhNyzljc).
Nếu bạn cần các tính năng đầy đủ hơn hoặc hỗ trợ dịch vụ chuyên sâu, bạn có thể chọn [Phiên Bản Thương Mại](https://doc.fastgpt.io/guide/version/commercial). Ngoài việc cung cấp phần mềm đầy đủ, chúng tôi còn cung cấp hướng dẫn triển khai cho các kịch bản cụ thể. Bạn có thể gửi [tư vấn thương mại](https://fael3z0zfze.feishu.cn/share/base/form/shrcnjJWtKqjOI9NbQTzhNyzljc).
## 💡 Tính Năng Cốt Lõi
......@@ -203,4 +203,4 @@ Kho này tuân thủ [FastGPT Open Source License](./LICENSE).
1. Cho phép sử dụng thương mại như dịch vụ backend, nhưng không cho phép cung cấp dịch vụ SaaS.
2. Bất kỳ dịch vụ thương mại nào không có giấy phép thương mại phải giữ lại thông tin bản quyền liên quan.
3. Xem [FastGPT Open Source License](./LICENSE) để biết đầy đủ chi tiết.
4. Liên hệ: Dennis@sealos.io, [Xem Giá Thương Mại](https://doc.fastgpt.io/introduction/commercial/)
4. Liên hệ: Dennis@sealos.io, [Xem Giá Thương Mại](https://doc.fastgpt.io/guide/version/commercial)
......@@ -28,8 +28,9 @@ ENV NEXT_PUBLIC_DOC_TRACK_SRC=$DOC_TRACK_SRC
ENV NEXT_PUBLIC_DOC_TRACK_SITE_ID=$DOC_TRACK_SITE_ID
COPY . .
RUN npm install
RUN npm run build
RUN corepack enable
RUN pnpm install
RUN pnpm build
FROM base AS runner
......
......@@ -12,8 +12,8 @@ FASTGPT_HOME_DOMAIN = #要跳转的FastGPT项目的域名,默认海外版
你可以在FastGPT项目根目录下执行以下命令来运行文档。
```bash
npm install # 只能 npm install,不能 pnpm
npm run dev
pnpm install
pnpm dev
```
项目会默认跑在`http:localhost:3000`端口
......
......@@ -11,6 +11,7 @@ import { SidebarKeepOpen } from '@/components/sidebarKeepOpen';
import { SidebarScrollFix } from '@/components/sidebarScrollFix';
import { CategorySwitcher } from '@/components/docs/categorySwitcher';
import { LanguageSwitcher } from '@/components/docs/languageSwitcher';
import { normalizePageTreeSections } from '@/lib/page-tree';
import { BookOpen, Code, Lightbulb, CircleHelp, Server } from 'lucide-react';
export default async function Layout({
......@@ -26,8 +27,8 @@ export default async function Layout({
const tab = [
{
icon: <BookOpen className={iconClass} />,
title: t('common:introduction', lang),
url: getLocalizedPath('/introduction', lang)
title: t('common:guide', lang),
url: getLocalizedPath('/guide', lang)
},
{
icon: <Lightbulb className={iconClass} />,
......@@ -54,11 +55,14 @@ export default async function Layout({
const tabUrls = tab.map((t) => t.url);
const base = baseOptions(lang);
const tree = normalizePageTreeSections(
source.pageTree[lang] || source.pageTree[i18n.defaultLanguage]
);
return (
<DocsLayout
{...base}
tree={source.pageTree[lang] || source.pageTree[i18n.defaultLanguage]}
tree={tree}
i18n={false}
searchToggle={{
enabled: true,
......
import { redirect } from 'next/navigation';
import { getLocalizedPath } from '@/lib/i18n';
import { defaultHomePath, getLocalizedPath } from '@/lib/i18n';
export default async function HomePage({
params
......@@ -7,5 +7,5 @@ export default async function HomePage({
params: Promise<{ lang: string }>;
}) {
const { lang } = await params;
redirect(getLocalizedPath('/introduction', lang));
redirect(getLocalizedPath(defaultHomePath, lang));
}
'use client';
import { useEffect } from 'react';
import { useCurrentLang } from '@/lib/localized-navigation';
import { getLocalizedPath } from '@/lib/i18n';
import { defaultHomePath, getLocalizedPath } from '@/lib/i18n';
/**
* Fallback for pages not found
* Redirects to introduction page to avoid 404
* Redirects to getting started page to avoid 404
*/
export default function NotFound() {
const lang = useCurrentLang();
useEffect(() => {
// Redirect to introduction page
window.location.replace(getLocalizedPath('/introduction', lang));
// Redirect to getting started page
window.location.replace(getLocalizedPath(defaultHomePath, lang));
}, [lang]);
return null;
......
......@@ -42,7 +42,7 @@ export function SwitcherDropdown({
keepSidebarOpenOnSelect = false
}: SwitcherDropdownProps) {
const [open, setOpen] = useState(false);
const { closeOnRedirect } = useSidebar();
const closeOnRedirect = useSidebar().closeOnRedirect as { current: boolean };
const selected = options.find((item) => item.active) ?? options[0];
const selectItem = (item: SwitcherDropdownOption) => {
......
'use client';
import { usePathname } from 'next/navigation';
import { createContext, useContext, useEffect, type FC, type ReactNode } from 'react';
import {
createContext,
useContext,
useEffect,
type FC,
type ReactNode
} from 'react';
import {
SidebarItem,
SidebarFolder,
......@@ -10,9 +16,19 @@ import {
} from 'fumadocs-ui/components/layout/sidebar';
import { type SidebarComponents } from 'fumadocs-ui/components/layout/sidebar';
import { type PageTree } from 'fumadocs-core/server';
import { ExternalLink } from 'lucide-react';
import { cn } from '@/lib/cn';
const VIRTUAL_SECTION_ID_SUFFIX = '#virtual-section';
const NestingLevelContext = createContext(0);
type TaggedPageTreeItem = PageTree.Item & {
sidebarTag?: string;
};
const getSidebarItemTag = (item: PageTree.Item) => (item as TaggedPageTreeItem).sidebarTag;
const isInFolder = (folder: PageTree.Folder, pathname: string): boolean => {
const check = (item: PageTree.Item | PageTree.Folder): boolean => {
if ('children' in item) {
......@@ -29,7 +45,9 @@ const isInFolder = (folder: PageTree.Folder, pathname: string): boolean => {
const CustomItem: FC<{ item: PageTree.Item }> = ({ item }) => {
const pathname = usePathname();
const level = useContext(NestingLevelContext);
const isActive = pathname === item.url;
const tag = getSidebarItemTag(item);
useEffect(() => {
if (isActive) {
......@@ -45,30 +63,73 @@ const CustomItem: FC<{ item: PageTree.Item }> = ({ item }) => {
return (
<SidebarItem
href={item.url}
className={`rounded-lg hover:cursor-pointer ${isActive && 'bg-blue-50 font-bold text-[#3370FF] dark:bg-[rgba(104,143,232,0.1)] dark:text-blue-400'}
`}
className={cn(
'group/sidebar-item min-h-8 w-full min-w-0 max-w-full rounded-lg px-2 text-sm hover:cursor-pointer',
!isActive && 'text-fd-muted-foreground hover:text-fd-accent-foreground',
level === 0 && 'font-medium',
isActive &&
'bg-blue-50 font-bold text-[#3370FF] hover:bg-blue-50 hover:text-[#3370FF] dark:bg-[rgba(104,143,232,0.1)] dark:text-blue-400 dark:hover:bg-[rgba(104,143,232,0.1)] dark:hover:text-blue-400'
)}
>
{item.icon}
{item.name}
<span className="inline-flex min-w-0 flex-1 flex-wrap items-center gap-1.5">
<span className="min-w-0 break-words leading-5">{item.name}</span>
{tag && (
<span
className={cn(
'shrink-0 rounded-md px-1.5 py-0.5 text-[10px] font-semibold leading-none',
isActive
? 'bg-[#3370FF] text-white dark:bg-blue-400 dark:text-slate-950'
: 'bg-blue-50 text-[#3370FF] dark:bg-blue-400/10 dark:text-blue-300'
)}
>
{tag}
</span>
)}
{item.external && (
<ExternalLink
aria-label="外部链接"
className="!size-2.5 shrink-0 text-fd-muted-foreground/60 opacity-0 transition-opacity group-hover/sidebar-item:opacity-100 group-focus-visible/sidebar-item:opacity-100"
/>
)}
</span>
</SidebarItem>
);
};
const CustomFolder: FC<{ item: PageTree.Folder; level: number; children: ReactNode }> = ({
item,
level,
children
}) => {
const pathname = usePathname();
const level = useContext(NestingLevelContext);
const isSectionFolder = level === 0;
const isVirtualSection = item.$id?.endsWith(VIRTUAL_SECTION_ID_SUFFIX);
const shouldExpand = isInFolder(item, pathname);
return (
<NestingLevelContext.Provider value={level + 1}>
<SidebarFolder defaultOpen={shouldExpand} className="bg-blue hover:cursor-pointer">
<SidebarFolderTrigger className="hover:cursor-pointer">{item.name}</SidebarFolderTrigger>
<SidebarFolderContent className="bg-blue hover:cursor-pointer">
{children}
</SidebarFolderContent>
<SidebarFolder
defaultOpen={isSectionFolder || item.defaultOpen || shouldExpand}
className={cn(isSectionFolder && 'mt-5 first:mt-1')}
>
{isSectionFolder ? (
<div
className={cn(
'px-2 pb-1 text-sm font-semibold text-fd-foreground',
isVirtualSection && 'text-fd-card-foreground'
)}
>
{item.name}
</div>
) : (
<SidebarFolderTrigger
className="min-h-8 min-w-0 max-w-full rounded-lg px-2 text-sm text-fd-muted-foreground hover:cursor-pointer hover:text-fd-accent-foreground data-[state=open]:text-fd-foreground [&>svg[data-icon]]:shrink-0"
>
<span className="min-w-0 flex-1 break-words text-left leading-5">{item.name}</span>
</SidebarFolderTrigger>
)}
<SidebarFolderContent>{children}</SidebarFolderContent>
</SidebarFolder>
</NestingLevelContext.Provider>
);
......@@ -78,7 +139,11 @@ const CustomSeparator: FC<{ item: PageTree.Separator }> = ({ item }) => {
const level = useContext(NestingLevelContext);
return (
<div
className={`text-sm font-semibold ${level > 0 ? 'pl-6' : 'px-2'} pr-2 py-1.5 mt-1 mb-1 first:mt-0`}
className={cn(
'text-sm font-semibold',
level > 0 ? 'pl-6' : 'px-2',
'pr-2 pb-2 pt-5 first:pt-1'
)}
>
{item.name}
</div>
......
......@@ -17,7 +17,7 @@ const getCategoryKey = (path: string): string => {
export function SidebarKeepOpen({ tabUrls }: { tabUrls: string[] }) {
const pathname = usePathname();
const prevPathname = useRef(pathname);
const { closeOnRedirect } = useSidebar();
const closeOnRedirect = useSidebar().closeOnRedirect as { current: boolean };
if (prevPathname.current !== pathname) {
const prev = prevPathname.current;
......
{
"title": "Commercial Admin",
"description": "Commercial admin usage tutorial",
"title": "Admin Console",
"root": false,
"pages": [
"sso",
"teamMode"
......
{
"title": "管理员后台",
"root": false,
"pages": [
"sso",
"teamMode"
]
}
......@@ -22,7 +22,7 @@ FastGPT-pro includes a standard set of SSO and member sync interfaces. The syste
FastGPT-SSO-Service aggregates SSO and member sync interfaces from different sources and converts them into the format recognized by fastgpt-pro.
![](../../../../public/imgs/sso2.png)
![](/imgs/sso2.png)
## System Configuration Tutorial
......@@ -106,9 +106,9 @@ env:
</thead>
<tbody>
<tr>
<td>![WeCom](../../../../public/imgs/sso15.png)</td>
<td>![DingTalk](../../../../public/imgs/sso16.png)</td>
<td>![Lark](../../../../public/imgs/sso17.png)</td>
<td>![WeCom](/imgs/sso15.png)</td>
<td>![DingTalk](/imgs/sso16.png)</td>
<td>![Lark](/imgs/sso17.png)</td>
</tr>
</tbody>
</table>
......@@ -117,7 +117,7 @@ env:
If you need to sync members from an external system, you can enable member sync. For team mode details, see: [Team Mode Documentation](./teamMode.en.mdx)
![](../../../../public/imgs/sso1.png)
![](/imgs/sso1.png)
#### 4. Optional Configuration
......@@ -140,13 +140,13 @@ env:
Go to the developer console, click on your enterprise self-built app, and view the app credentials on the Credentials & Basic Info page.
![](../../../../public/imgs/sso3.png)
![](/imgs/sso3.png)
#### 2. Permission Configuration
Go to the developer console, click on your enterprise self-built app, and enable permissions on the Permission Management page under Development Configuration.
![](../../../../public/imgs/sso4.png)
![](/imgs/sso4.png)
You can use the **Batch Import/Export Permissions** feature to import the following permission configuration:
......@@ -174,7 +174,7 @@ Note: The accessible data scope must be set to visible to all members.
Go to the developer console, click on your enterprise self-built app, and set the redirect URL in Security Settings under Development Configuration.
The redirect URL should follow the format `https://www.fastgpt.cn/login/provider` — replace the domain with your publicly accessible FastGPT domain.
![](../../../../public/imgs/sso5.png)
![](/imgs/sso5.png)
#### 4. yml Configuration Example
......@@ -209,7 +209,7 @@ fastgpt-sso:
CLIENT_ID and CLIENT_SECRET
Go to the DingTalk Open Platform, click App Development, select your app, and record the Client ID and Client Secret on the Credentials & Basic Info page.
![](../../../../public/imgs/sso6.png)
![](/imgs/sso6.png)
#### 2. Permission Configuration
......@@ -261,7 +261,7 @@ fastgpt-sso:
b. Go to the "My Enterprise" page and find the Enterprise ID
![](../../../../public/imgs/sso7.png)
![](/imgs/sso7.png)
2. Create an internal app for FastGPT:
......@@ -269,10 +269,10 @@ fastgpt-sso:
b. Ensure the app's visibility scope is set to all (i.e., root department)
![](../../../../public/imgs/sso8.png)
![](/imgs/sso8.png)
![](../../../../public/imgs/sso9.png)
![](/imgs/sso9.png)
3. A domain name with the following requirements:
......@@ -284,11 +284,11 @@ fastgpt-sso:
d. You can set "Hide app in workbench" at the bottom of the WeCom Authorization Login page
![](../../../../public/imgs/sso10.png)
![](/imgs/sso10.png)
![](../../../../public/imgs/sso11.png)
![](/imgs/sso11.png)
![](../../../../public/imgs/sso12.png)
![](/imgs/sso12.png)
4. Get the "Contact Sync Assistant" secret
......@@ -296,7 +296,7 @@ fastgpt-sso:
Security & Management -- Management Tools -- Contact Sync
![](../../../../public/imgs/sso13.png)
![](/imgs/sso13.png)
5. Enable interface sync
......@@ -304,7 +304,7 @@ fastgpt-sso:
7. Configure enterprise trusted IPs
![](../../../../public/imgs/sso14.png)
![](/imgs/sso14.png)
#### 2. yml Configuration Example
......@@ -427,7 +427,7 @@ fastgpt-sso:
Below is the standard interface documentation for SSO and member sync in FastGPT-pro. If you need to integrate with a non-standard system, refer to this section for development.
![](../../../../public/imgs/sso18.png)
![](/imgs/sso18.png)
FastGPT provides the following standard interfaces:
......
......@@ -22,7 +22,7 @@ FastGPT-pro 中,有一套标准的SSO 和成员同步接口,系统会根据
FastGPT-SSO-Service 是为了聚合不同来源的 SSO 和成员同步接口,将他们转成 fastgpt-pro 可识别的接口。
![](../../../../public/imgs/sso2.png)
![](/imgs/sso2.png)
## 系统配置教程
......@@ -106,9 +106,9 @@ env:
</thead>
<tbody>
<tr>
<td>![企业微信](../../../../public/imgs/sso15.png)</td>
<td>![钉钉](../../../../public/imgs/sso16.png)</td>
<td>![飞书](../../../../public/imgs/sso17.png)</td>
<td>![企业微信](/imgs/sso15.png)</td>
<td>![钉钉](/imgs/sso16.png)</td>
<td>![飞书](/imgs/sso17.png)</td>
</tr>
</tbody>
</table>
......@@ -117,7 +117,7 @@ env:
如果需要同步外部系统的成员,可以选择开启成员同步。团队模式具体可参考:[团队模式说明文档](./teamMode.mdx)
![](../../../../public/imgs/sso1.png)
![](/imgs/sso1.png)
#### 4. 可选配置
......@@ -140,13 +140,13 @@ env:
进入开发者后台,点击企业自建应用,在凭证与基础信息页面查看应用凭证。
![](../../../../public/imgs/sso3.png)
![](/imgs/sso3.png)
#### 2. 权限配置
进入开发者后台,点击企业自建应用,在开发配置的权限管理页面开通权限。
![](../../../../public/imgs/sso4.png)
![](/imgs/sso4.png)
可以使用**批量导入/导出权限** 功能,导入如下权限配置:
......@@ -174,7 +174,7 @@ env:
进入开发者后台,点击企业自建应用,在开发配置的安全设置中设置重定向URL,
重定向 URL 形如 `https://www.fastgpt.cn/login/provider` 前面的域名修改为部署后公开可访问的 fastgpt 的域名
![](../../../../public/imgs/sso5.png)
![](/imgs/sso5.png)
#### 4. yml 配置示例
......@@ -209,7 +209,7 @@ fastgpt-sso:
CLIENT_ID 与 CLIENT_SECRET
进入钉钉开放平台,点击应用开发,选择自己的应用进入,记录在凭证与基础信息页面下的Client ID与Client secret。
![](../../../../public/imgs/sso6.png)
![](/imgs/sso6.png)
#### 2. 权限配置
......@@ -261,7 +261,7 @@ fastgpt-sso:
b. 点击 【我的企业】 页面,查看企业的 **企业ID**
![](../../../../public/imgs/sso7.png)
![](/imgs/sso7.png)
2. 创建一个供 FastGPT 使用的内部应用:
......@@ -269,10 +269,10 @@ fastgpt-sso:
b. 保证这个应用的可见范围为全部(也就是根部门)
![](../../../../public/imgs/sso8.png)
![](/imgs/sso8.png)
![](../../../../public/imgs/sso9.png)
![](/imgs/sso9.png)
3. 一个域名。并且要求:
......@@ -284,11 +284,11 @@ fastgpt-sso:
d. 可以在【企业微信授权登陆】页面下方设置"在工作台隐藏应用"
![](../../../../public/imgs/sso10.png)
![](/imgs/sso10.png)
![](../../../../public/imgs/sso11.png)
![](/imgs/sso11.png)
![](../../../../public/imgs/sso12.png)
![](/imgs/sso12.png)
4. 获取 "通讯录同步助手" secret
......@@ -296,7 +296,7 @@ fastgpt-sso:
【安全与管理】-- 【管理工具】 -- 【通讯录同步】
![](../../../../public/imgs/sso13.png)
![](/imgs/sso13.png)
5. 开启接口同步
......@@ -304,7 +304,7 @@ fastgpt-sso:
7. 配置企业可信 IP
![](../../../../public/imgs/sso14.png)
![](/imgs/sso14.png)
#### 2. yml 配置示例
......@@ -427,7 +427,7 @@ fastgpt-sso:
以下是 FastGPT-pro 中,SSO 和成员同步的标准接口文档,如果需要对接非标准系统,可以参考该章节进行开发。
![](../../../../public/imgs/sso18.png)
![](/imgs/sso18.png)
FastGPT 提供如下标准接口支持:
......
......@@ -78,4 +78,4 @@ For specific sync methods and rules, see [SSO & External Member Sync](./sso.en.m
In `fastgpt-pro`'s System Configuration - Member Configuration, you can configure the team mode.
![](../../../../public/imgs/teammode.png)
![](/imgs/teammode.png)
......@@ -78,4 +78,4 @@ description: FastGPT 团队模式说明文档
在 `fastgpt-pro` 的`系统配置-成员配置`中,可以配置团队模式。
![](../../../../public/imgs/teammode.png)
![](/imgs/teammode.png)
......@@ -11,13 +11,13 @@ The system supports three evaluation metrics: answer accuracy, question relevanc
### Go to the Evaluation Page
![Create app evaluation](../../../../public/imgs/evaluation1.png)
![Create app evaluation](/imgs/evaluation1.png)
Navigate to the App Evaluation section under Workspace and click the "Create Task" button in the upper right corner.
### Fill in Evaluation Details
![Create app evaluation](../../../../public/imgs/evaluation2.png)
![Create app evaluation](/imgs/evaluation2.png)
On the task creation page, provide the following:
......@@ -27,7 +27,7 @@ On the task creation page, provide the following:
### Prepare Evaluation Data
![Create app evaluation](../../../../public/imgs/evaluation2.png)
![Create app evaluation](/imgs/evaluation2.png)
After selecting the target app, a button appears to download the CSV template. The template includes these fields:
......@@ -47,7 +47,7 @@ Upload the completed file and click "Start Evaluation" to create the task.
### Evaluation List
![View app evaluation](../../../../public/imgs/evaluation4.png)
![View app evaluation](/imgs/evaluation4.png)
The evaluation list shows all tasks with key information:
......@@ -61,7 +61,7 @@ Use this to compare results across iterations as you improve your app.
### Evaluation Details
![View app evaluation](../../../../public/imgs/evaluation5.png)
![View app evaluation](/imgs/evaluation5.png)
Click "View Details" to open the detail page:
......
......@@ -11,13 +11,13 @@ FastGPT v4.11.0 撘憪憭
### 进入评测页面
![创建应用评测](../../../../public/imgs/evaluation1.png)
![创建应用评测](/imgs/evaluation1.png)
进入工作台下的应用评测目录,点击右上角的"创建任务"按钮。
### 填写评测信息
![创建应用评测](../../../../public/imgs/evaluation2.png)
![创建应用评测](/imgs/evaluation2.png)
在创建任务页面中,需要填写以下信息:
......@@ -27,7 +27,7 @@ FastGPT v4.11.0 撘憪憭
### 准备评测数据
![创建应用评测](../../../../public/imgs/evaluation2.png)
![创建应用评测](/imgs/evaluation2.png)
选择评测应用后,系统会弹出下载CSV模板的按钮。模板包含以下字段:
......@@ -47,7 +47,7 @@ FastGPT v4.11.0 撘憪憭
### 评测列表
![查看应用评测](../../../../public/imgs/evaluation4.png)
![查看应用评测](/imgs/evaluation4.png)
评测列表页面显示所有评测任务,包含以下关键信息:
......@@ -61,7 +61,7 @@ FastGPT v4.11.0 撘憪憭
### 评测详情
![查看应用评测](../../../../public/imgs/evaluation5.png)
![查看应用评测](/imgs/evaluation5.png)
点击"查看详情"可进入评测任务的详情页面:
......
---
title: AI Configuration Parameters
description: FastGPT AI configuration parameters explained
---
import { Alert } from '@/components/docs/Alert';
The AI Chat module in FastGPT includes an advanced configuration section with various model parameters. This guide explains what each setting does.
| | | |
| --- | --- | --- |
| ![alt text](/imgs/image-51.png) | ![alt text](/imgs/image-52.png) | ![alt text](/imgs/image-53.png) |
## Stream Response (Workflow AI Chat only)
Previously called "Return AI Content," now renamed to "Stream Response."
This is a toggle. When enabled, the AI Chat module streams its output to the browser (API response) in real time. When disabled, the model is called in non-streaming mode and the output is not sent to the browser. However, the generated content can still be accessed via the [AI Reply] output and connected to other modules for further use.
### Max Context
The maximum number of tokens the model can handle.
### Function Calling
Models that support function calling are more accurate when using tools.
### Temperature
Lower values produce more focused, deterministic responses (in practice, the difference is subtle).
### Max Output Tokens
The maximum number of tokens in the response. Note: this is the response token limit, not the context token limit.
Typically: max output = min(model's max output limit, max context - used context)
Because of this, you generally don't set max context to the model's actual maximum — instead, reserve space for the response. For example, a 128k model might use max_context=115000.
### System Prompt
Placed at the beginning of the context array with role `system` to guide the model's behavior.
### Memory Rounds (Basic Mode only)
Configures how many conversation rounds the model retains. If the context exceeds the model's limit, the system automatically truncates to stay within bounds.
So even if you set 30 rounds, the actual number at runtime may be fewer.
\ No newline at end of file
---
title: AI 相关参数配置说明
description: FastGPT AI 相关参数配置说明
---
import { Alert } from '@/components/docs/Alert';
在 FastGPT 的 AI 对话模块中,有一个 AI 高级配置,里面包含了 AI 模型的参数配置,本文详细介绍这些配置的含义。
| | | |
| --- | --- | --- |
| ![alt text](/imgs/image-51.png) | ![alt text](/imgs/image-52.png) | ![alt text](/imgs/image-53.png) |
## 流响应(高级编排 AI 对话 特有)
旧版名字叫做:返回 AI 内容;新版改名:流响应。
这是一个开关,打开的时候,当 AI 对话模块运行时,会将其输出的内容返回到浏览器(API响应);
如果关闭,会强制使用非流模式调用模型,并且 AI 输出的内容不会返回到浏览器,但是生成的内容仍可以通过【AI回复】进行输出。你可以将【AI回复】连接到其他模块中进行二次使用。
### 最大上下文
代表模型最多容纳的文字数量。
### 函数调用
支持函数调用的模型,在使用工具时更加准确。
### 温度
越低回答越严谨,少废话(实测下来,感觉差别不大)
### 回复上限
最大回复 token 数量。注意,是回复的Tokens!不是上下文 tokens。
通常,回复上限=min(模型允许的最大回复上限, 最大上下文-已用上下文)
所以,一般配置模型时,不会把最大上下文配置成模型实际最大上下文,而是预留预定空间给回答,例如 128k 模型,可以配置 max_context=115000
### 系统提示词
被放置在上下文数组的最前面,role 为 system,用于引导模型。
### 记忆轮数(仅简易模式)
可以配置模型支持的记忆轮数,如果模型的超出上下文,系统会自动截断,尽可能保证不超模型上下文。
所以尽管配置 30 轮对话,实际运行时候,不一定会达到 30 轮。
......@@ -3,7 +3,7 @@ title: Chat Input Guide
description: FastGPT chat input guide
---
![](../../../../public/imgs/questionGuide.png)
![](/imgs/questionGuide.png)
## What is Custom Question Guidance?
......
......@@ -3,7 +3,7 @@ title: 对话问题引导
description: FastGPT 对话问题引导
---
![](../../../../public/imgs/questionGuide.png)
![](/imgs/questionGuide.png)
## 什么是自定义问题引导
......
......@@ -12,11 +12,11 @@ When file upload is enabled in Basic Mode, it uses tool-calling mode — the mod
Find the file upload option on the left panel and click the `Enable`/`Disable` toggle to open the configuration dialog.
![Enable file upload](../../../../public/imgs/fileinpu-1.png)
![Enable file upload](/imgs/fileinpu-1.png)
Once enabled, a file selection icon appears in the chat input area. Click it to select files for upload.
![Enable file upload](../../../../public/imgs/fileinpu-2.png)
![Enable file upload](/imgs/fileinpu-2.png)
**Behavior**
......@@ -26,17 +26,17 @@ Starting from version 4.8.13, Basic Mode forces file parsing and injects the con
In Workflows, find the `File Input` option in the system configuration panel and click the `Enable`/`Disable` toggle to open the configuration dialog.
![Enable file upload](../../../../public/imgs/fileinpu-4.jpg)
![Enable file upload](/imgs/fileinpu-4.jpg)
There are many ways to use files in Workflows. The simplest approach, shown below, connects document parsing via tool calling — achieving the same result as Basic Mode.
| | |
| --------------------- | --------------------- |
| ![](../../../../public/imgs/image-5.png) | ![](../../../../public/imgs/image-6.png) |
| ![](/imgs/image-5.png) | ![](/imgs/image-6.png) |
You can also use Workflows to extract or analyze document content, then pass the results to HTTP requests or other modules to build a document processing pipeline.
![Document parsing](../../../../public/imgs/image-7.png)
![Document parsing](/imgs/image-7.png)
## How Document Parsing Works
......
{
"title": "General Configuration",
"description": "Model, file upload, input guide, and basic app configuration.",
"pages": ["ai_settings", "fileInput", "chat_input_guide"]
}
{
"title": "通用配置",
"description": "应用构建中的模型、文件上传、输入引导和基础配置。",
"pages": ["ai_settings", "fileInput", "chat_input_guide"]
}
{
"title": "App Building",
"root": false,
"pages": [
"general",
"workflow",
"tools",
"publish",
"evaluation"
]
}
{
"title": "应用构建",
"root": false,
"pages": [
"general",
"workflow",
"tools",
"publish",
"evaluation"
]
}
......@@ -9,11 +9,11 @@ Starting from version 4.8.16, FastGPT commercial edition supports direct DingTal
1. Create an internal enterprise app in the [DingTalk Developer Console](https://open-dev.dingtalk.com/fe/app).
![Image 1](../../../public/imgs/dingtalk-bot-1.png)
![Image 1](/imgs/dingtalk-bot-1.png)
2. Obtain the **Client ID** and **Client Secret**.
![Image 2](../../../public/imgs/dingtalk-bot-2.png)
![Image 2](/imgs/dingtalk-bot-2.png)
## 2. Add a Publishing Channel in FastGPT
......@@ -21,7 +21,7 @@ In FastGPT, select the app you want to integrate. On the **Publishing Channels**
Enter the **Client ID** and **Client Secret** obtained earlier into the configuration dialog.
![Image 3](../../../public/imgs/dingtalk-bot-3.png)
![Image 3](/imgs/dingtalk-bot-3.png)
After creation, click the **Request URL** button and copy the callback address.
......@@ -29,13 +29,13 @@ After creation, click the **Request URL** button and copy the callback address.
In the DingTalk Developer Console, click **Add App Capability** on the left sidebar, and add the **Bot** capability to the internal enterprise app you just created.
![Image 4](../../../public/imgs/dingtalk-bot-4.png)
![Image 4](/imgs/dingtalk-bot-4.png)
## 4. Configure Bot Callback Address
Click the **Bot** capability on the left sidebar, then set the **Message Receiving Mode** at the bottom to **HTTP Mode**, and paste the FastGPT callback address you copied earlier as the message receiving address.
![Image 5](../../../public/imgs/dingtalk-bot-5.png)
![Image 5](/imgs/dingtalk-bot-5.png)
After debugging, click **Publish**.
......@@ -43,15 +43,15 @@ After debugging, click **Publish**.
After the bot is published, you still need to publish the app version on the **Version Management and Publishing** page.
![Image 6](../../../public/imgs/dingtalk-bot-6.png)
![Image 6](/imgs/dingtalk-bot-6.png)
Click **Create New Version**, set the version number and description, then click save to publish.
![Image 7](../../../public/imgs/dingtalk-bot-7.png)
![Image 7](/imgs/dingtalk-bot-7.png)
Once the app is published, you can use the bot within your DingTalk enterprise. You can chat with the bot privately, or add the bot to a group and `@mention the bot` to start a conversation.
![Image 8](../../../public/imgs/dingtalk-bot-8.png)
![Image 8](/imgs/dingtalk-bot-8.png)
## FAQ
......
......@@ -9,11 +9,11 @@ description: FastGPT 接入钉钉机器人教程
1. 在[钉钉开发者后台](https://open-dev.dingtalk.com/fe/app)创建企业内部应用。
![图片1](../../../public/imgs/dingtalk-bot-1.png)
![图片1](/imgs/dingtalk-bot-1.png)
2. 获取**Client ID**和**Client Secret**。
![图片2](../../../public/imgs/dingtalk-bot-2.png)
![图片2](/imgs/dingtalk-bot-2.png)
## 2. 为 FastGPT 添加发布渠道
......@@ -21,7 +21,7 @@ description: FastGPT 接入钉钉机器人教程
将前面拿到的 **Client ID** 和 **Client Secret** 填入配置弹窗中。
![图片3](../../../public/imgs/dingtalk-bot-3.png)
![图片3](/imgs/dingtalk-bot-3.png)
创建完成后,点击**请求地址**按钮,然后复制回调地址。
......@@ -29,28 +29,28 @@ description: FastGPT 接入钉钉机器人教程
在钉钉开发者后台,点击左侧**添加应用能力**,为刚刚创建的企业内部应用添加 **机器人** 应用能力。
![图片4](../../../public/imgs/dingtalk-bot-4.png)
![图片4](/imgs/dingtalk-bot-4.png)
## 4. 配置机器人回调地址
点击左侧**机器人** 应用能力,然后将底部**消息接受模式**设置为**HTTP模式**,消息接收地址填入前面复制的 FastGPT 的回调地址。
![图片5](../../../public/imgs/dingtalk-bot-5.png)
![图片5](/imgs/dingtalk-bot-5.png)
调试完成后,点击**发布**。
## 5. 发布应用
机器人发布后,还需要在**版本管理与发布**页面发布应用版本。
![图片6](../../../public/imgs/dingtalk-bot-6.png)
![图片6](/imgs/dingtalk-bot-6.png)
点击**创建新版本**后,设置版本号和版本描述后点击保存发布即可。
![图片7](../../../public/imgs/dingtalk-bot-7.png)
![图片7](/imgs/dingtalk-bot-7.png)
应用发布后,即可在钉钉企业中使用机器人功能,可对机器人私聊。或者在群组添加机器人后`@机器人`,触发对话。
![图片8](../../../public/imgs/dingtalk-bot-8.png)
![图片8](/imgs/dingtalk-bot-8.png)
## FAQ
......
......@@ -11,7 +11,7 @@ Creating a free test enterprise makes debugging easier.
1. Create a custom enterprise app in the [Lark Open Platform](https://open.feishu.cn/app) developer console.
![Image](../../../public/imgs/feishu-bot-1.png)
![Image](/imgs/feishu-bot-1.png)
Add a **Bot** capability to the app.
......@@ -19,21 +19,21 @@ Add a **Bot** capability to the app.
In FastGPT, select the app you want to integrate. On the Publishing Channels page, create a new Lark bot publishing channel and fill in the basic information.
![Image](../../../public/imgs/feishu-bot-2.png)
![Image](/imgs/feishu-bot-2.png)
## 3. Get App ID and App Secret
In the Lark Open Platform developer console, find the App ID and App Secret for the custom enterprise app you just created, and enter them in the FastGPT publishing channel dialog.
![Image](../../../public/imgs/feishu-bot-3.png)
![Image](/imgs/feishu-bot-3.png)
Enter both parameters in the FastGPT configuration dialog.
![Image](../../../public/imgs/feishu-bot-4.png)
![Image](/imgs/feishu-bot-4.png)
(Optional) In the Lark Open Platform developer console, go to Events & Callbacks -> Encryption Strategy to get the Encrypt Key, and enter it in the Lark bot integration dialog.
![Image](../../../public/imgs/feishu-bot-5.png)
![Image](/imgs/feishu-bot-5.png)
The Encrypt Key encrypts communication between Lark servers and FastGPT.
If using HTTPS, the Encrypt Key is not needed. If using HTTP, the Encrypt Key is recommended.
......@@ -47,7 +47,7 @@ In the Lark console, click `Events & Callbacks` on the left sidebar, click the e
| | | |
| --- | --- | --- |
| ![Image](../../../public/imgs/feishu-bot-10.jpg) | ![Image](../../../public/imgs/feishu-bot-11.jpg) | ![Image](../../../public/imgs/feishu-bot-6.png) |
| ![Image](/imgs/feishu-bot-10.jpg) | ![Image](/imgs/feishu-bot-11.jpg) | ![Image](/imgs/feishu-bot-6.png) |
## 5. Configure Bot Callback Events and Permissions
......@@ -61,7 +61,7 @@ After adding the event, add two permissions: click the corresponding permission,
| | |
| --- | --- |
| ![Image](../../../public/imgs/feishu-bot-7.png) | ![Image](../../../public/imgs/feishu-bot-8.png) |
| ![Image](/imgs/feishu-bot-7.png) | ![Image](/imgs/feishu-bot-8.png) |
It is not recommended to enable the two "legacy versions" shown above -- use the new version permissions instead.
- If "Read messages users send to the bot in private chats" is enabled, private messages sent to the bot will be forwarded to FastGPT
......@@ -72,17 +72,17 @@ It is not recommended to enable the two "legacy versions" shown above -- use the
In the Lark console, click `Permission Management` on the left sidebar, enter `send message` in the search box, find the `Send messages as the app` permission, and enable it.
![](../../../public/imgs/feishu-bot-13.jpg)
![](/imgs/feishu-bot-13.jpg)
## 7. Publish the Bot
Click `Version Management & Publishing` on the left side of the Lark console to publish the bot.
![](../../../public/imgs/feishu-bot-12.jpg)
![](/imgs/feishu-bot-12.jpg)
You can then find your bot in the workspace. Next, add the bot to a group or chat with it privately.
![Image](../../../public/imgs/feishu-bot-9.png)
![Image](/imgs/feishu-bot-9.png)
## FAQ
......
......@@ -11,7 +11,7 @@ description: FastGPT 接入飞书机器人教程
1. 在[飞书开放平台](https://open.feishu.cn/app)的开发者后台申请企业自建应用。
![图片](../../../public/imgs/feishu-bot-1.png)
![图片](/imgs/feishu-bot-1.png)
添加一个**机器人**应用。
......@@ -19,21 +19,21 @@ description: FastGPT 接入飞书机器人教程
在fastgpt中选择想要接入的应用,在 发布渠道 页面,新建一个接入飞书机器人的发布渠道,填写好基础信息。
![图片](../../../public/imgs/feishu-bot-2.png)
![图片](/imgs/feishu-bot-2.png)
## 3. 获取应用的 App ID, App Secret 两个凭证
在飞书开放平台开发者后台,刚刚创建的企业自建应用中,找到 App ID 和 App Secret,填入 FastGPT 新建发布渠道的对话框里面。
![图片](../../../public/imgs/feishu-bot-3.png)
![图片](/imgs/feishu-bot-3.png)
填入两个参数到 FastGPT 配置弹窗中。
![图片](../../../public/imgs/feishu-bot-4.png)
![图片](/imgs/feishu-bot-4.png)
(可选)在飞书开放平台开发者后台,点击事件与回调 -> 加密策略 获取 Encrypt Key,并填入飞书机器人接入的对话框里面
![图片](../../../public/imgs/feishu-bot-5.png)
![图片](/imgs/feishu-bot-5.png)
Encrypt Key 用于加密飞书服务器与 FastGPT 之间通信。
建议如果使用 Https 协议,则不需要 Encrypt Key。如果使用 Http 协议通信,则建议使用 Encrypt Key
......@@ -46,7 +46,7 @@ Verification Token 默认生成的这个 Token 用于校验来源。但我们使
| | | |
| --- | --- | --- |
| ![图片](../../../public/imgs/feishu-bot-10.jpg) | ![图片](../../../public/imgs/feishu-bot-11.jpg) | ![图片](../../../public/imgs/feishu-bot-6.png) |
| ![图片](/imgs/feishu-bot-10.jpg) | ![图片](/imgs/feishu-bot-11.jpg) | ![图片](/imgs/feishu-bot-6.png) |
## 5. 配置机器人回调事件和权限
......@@ -60,7 +60,7 @@ Verification Token 默认生成的这个 Token 用于校验来源。但我们使
| | |
| --- | --- |
| ![图片](../../../public/imgs/feishu-bot-7.png) | ![图片](../../../public/imgs/feishu-bot-8.png) |
| ![图片](/imgs/feishu-bot-7.png) | ![图片](/imgs/feishu-bot-8.png) |
不推荐启用上图中的两个“历史版本”,而是使用新版本的权限。
- 若开启 “读取用户发给机器人的单聊消息”, 则单聊发送给机器人的消息将被送到 FastGPT
......@@ -71,17 +71,17 @@ Verification Token 默认生成的这个 Token 用于校验来源。但我们使
在飞书控制台,点击左侧的 `权限管理` ,搜索框中输入`发消息`,找到`以应用的身份发消息`的权限,点击开通权限。
![](../../../public/imgs/feishu-bot-13.jpg)
![](/imgs/feishu-bot-13.jpg)
## 7. 发布机器人
点击飞书控制台左侧的`版本管理与发布`,即可发布机器人。
![](../../../public/imgs/feishu-bot-12.jpg)
![](/imgs/feishu-bot-12.jpg)
然后就可以在工作台里找到你的机器人啦。接下来就是把机器人拉进群组,或者单独与它对话。
![图片](../../../public/imgs/feishu-bot-9.png)
![图片](/imgs/feishu-bot-9.png)
## FAQ
......
......@@ -19,13 +19,13 @@ Currently, FastGPT's MCP Server uses the SSE transport protocol, with plans to m
After logging into FastGPT, open `Workspace` and click `MCP Server` to access the management page. Here you can see all your MCP Servers and the number of applications each one manages.
![Create MCP server](../../../../public/imgs/mcp_server1.png)
![Create MCP server](/imgs/mcp_server1.png)
You can customize the MCP Server name and select which applications to associate.
| | |
|---|---|
| ![](../../../../public/imgs/mcp_server2.png) | ![](../../../../public/imgs/mcp_server3.png) |
| ![](/imgs/mcp_server2.png) | ![](/imgs/mcp_server3.png) |
### 2. Get the MCP Server URL
......@@ -33,7 +33,7 @@ After creating an MCP Server, click `Start Using` to get the access URL.
| | |
|---|---|
| ![](../../../../public/imgs/mcp_server4.png) | ![](../../../../public/imgs/mcp_server5.png) |
| ![](/imgs/mcp_server4.png) | ![](/imgs/mcp_server5.png) |
#### 3. Use the MCP Server
......@@ -45,7 +45,7 @@ Return to Cursor's MCP management page and you'll see your MCP Server listed. Ma
| | | |
|---|---|---|
| ![](../../../../public/imgs/mcp_server6.png) | ![](../../../../public/imgs/mcp_server7.png) | ![](../../../../public/imgs/mcp_server8.png) |
| ![](/imgs/mcp_server6.png) | ![](/imgs/mcp_server7.png) | ![](/imgs/mcp_server8.png) |
Open Cursor's chat panel and switch to `Agent` mode — only this mode triggers MCP Server calls.
......@@ -53,7 +53,7 @@ After sending a question about `fastgpt`, you'll see Cursor invoke an MCP tool (
| | |
|---|---|
| ![](../../../../public/imgs/mcp_server9.png) | ![](../../../../public/imgs/mcp_server10.png) |
| ![](/imgs/mcp_server9.png) | ![](/imgs/mcp_server10.png) |
## Self-Hosted MCP Server Setup
......
---
title: MCP 服务
title: MCP 发布
description: 快速了解 FastGPT MCP server
---
......@@ -19,13 +19,13 @@ FastGPT MCP Server 功能允许你选择`多个`在 FastGPT 上构建好的应
登录 FastGPT 后,打开`工作台`,点击`MCP server`,即可进入管理页面,这里可以看到你创建的所有 MCP server,以及他们管理的应用数量。
![创建 MCP server](../../../../public/imgs/mcp_server1.png)
![创建 MCP server](/imgs/mcp_server1.png)
可以自定义 MCP server 名称和选择关联的应用
| | |
|---|---|
| ![](../../../../public/imgs/mcp_server2.png) | ![](../../../../public/imgs/mcp_server3.png) |
| ![](/imgs/mcp_server2.png) | ![](/imgs/mcp_server3.png) |
### 2. 获取 MCP server 地址
......@@ -33,7 +33,7 @@ FastGPT MCP Server 功能允许你选择`多个`在 FastGPT 上构建好的应
| | |
|---|---|
| ![](../../../../public/imgs/mcp_server4.png) | ![](../../../../public/imgs/mcp_server5.png) |
| ![](/imgs/mcp_server4.png) | ![](/imgs/mcp_server5.png) |
#### 3. 使用 MCP server
......@@ -45,7 +45,7 @@ FastGPT MCP Server 功能允许你选择`多个`在 FastGPT 上构建好的应
| | | |
|---|---|---|
| ![](../../../../public/imgs/mcp_server6.png) | ![](../../../../public/imgs/mcp_server7.png) | ![](../../../../public/imgs/mcp_server8.png) |
| ![](/imgs/mcp_server6.png) | ![](/imgs/mcp_server7.png) | ![](/imgs/mcp_server8.png) |
打开 Cursor 的对话框,切换成`Agent`模型,只有这个模型,cursor 才会调用 MCP server。
......@@ -53,7 +53,7 @@ FastGPT MCP Server 功能允许你选择`多个`在 FastGPT 上构建好的应
| | |
|---|---|
| ![](../../../../public/imgs/mcp_server9.png) | ![](../../../../public/imgs/mcp_server10.png) |
| ![](/imgs/mcp_server9.png) | ![](/imgs/mcp_server10.png) |
## 私有化部署 MCP server 问题
......
{
"title": "App Publishing",
"description": "Publish FastGPT apps through MCP Server, OpenAPI, and third-party channels.",
"pages": ["mcp_server", "openapi", "feishu", "dingtalk", "wecom", "official_account", "wechat"]
}
{
"title": "应用发布",
"description": "通过 MCP 服务、OpenAPI 和第三方渠道发布 FastGPT 应用。",
"pages": ["mcp_server", "openapi", "feishu", "dingtalk", "wecom", "official_account", "wechat"]
}
......@@ -11,7 +11,7 @@ Starting from version 4.8.10, FastGPT commercial edition supports direct WeChat
In FastGPT, select the app you want to integrate. On the _Publishing Channels_ page, create a new WeChat Official Account publishing channel and fill in the basic information.
![Image](../../../public/imgs/offiaccount-1.png)
![Image](/imgs/offiaccount-1.png)
## 2. Get AppID, Secret, and Token
......@@ -23,15 +23,15 @@ Open the WeChat Official Account website: https://mp.weixin.qq.com
Developers can apply for a WeChat Official Account test account from this link for testing. Test accounts work normally but cannot configure AES Key.
![Image](../../../public/imgs/offiaccount-2.png)
![Image](/imgs/offiaccount-2.png)
### 2. Enter the 3 parameters into the FastGPT configuration dialog.
![Image](../../../public/imgs/offiaccount-3.png)
![Image](/imgs/offiaccount-3.png)
## 3. Add FastGPT IP to IP Whitelist
![Image](../../../public/imgs/offiaccount-4.png)
![Image](/imgs/offiaccount-4.png)
Self-hosted users can check their own IP address.
......@@ -95,9 +95,9 @@ China Mainland users (fastgpt.cn) can add the following IP whitelist:
## 4. Get AES Key and Select Encryption Mode
![Image](../../../public/imgs/offiaccount-5.png)
![Image](/imgs/offiaccount-5.png)
![Image](../../../public/imgs/offiaccount-6.png)
![Image](/imgs/offiaccount-6.png)
1. Randomly generate an AES Key and enter it into the FastGPT configuration dialog.
......@@ -107,15 +107,15 @@ China Mainland users (fastgpt.cn) can add the following IP whitelist:
1. Confirm creation in FastGPT and get the URL.
![Image](../../../public/imgs/offiaccount-7.png)
![Image](/imgs/offiaccount-7.png)
2. Enter it in the URL field on the WeChat Official Account Platform, then submit and save.
![Image](../../../public/imgs/offiaccount-8.png)
![Image](/imgs/offiaccount-8.png)
## 6. Enable Server Configuration (Skip if already auto-enabled)
![Image](../../../public/imgs/offiaccount-9.png)
![Image](/imgs/offiaccount-9.png)
## 7. Start Using
......
......@@ -11,7 +11,7 @@ description: FastGPT 接入微信公众号教程
在 FastGPT 中选择想要接入的应用,在 _发布渠道_ 页面,新建一个接入微信公众号的发布渠道,填写好基础信息。
![图片](../../../public/imgs/offiaccount-1.png)
![图片](/imgs/offiaccount-1.png)
## 2. 获取 AppID 、 Secret和Token
......@@ -23,15 +23,15 @@ description: FastGPT 接入微信公众号教程
开发者可以从这个链接申请微信公众号的测试号进行测试,测试号可以正常使用,但不能配置 AES Key
![图片](../../../public/imgs/offiaccount-2.png)
![图片](/imgs/offiaccount-2.png)
### 2. 把3个参数填入 FastGPT 配置弹窗中。
![图片](../../../public/imgs/offiaccount-3.png)
![图片](/imgs/offiaccount-3.png)
## 3. 在 IP 白名单中加入 FastGPT 的 IP
![图片](../../../public/imgs/offiaccount-4.png)
![图片](/imgs/offiaccount-4.png)
私有部署的用户可自行查阅自己的 IP 地址。
......@@ -95,9 +95,9 @@ description: FastGPT 接入微信公众号教程
## 4. 获取AES Key,选择加密方式
![图片](../../../public/imgs/offiaccount-5.png)
![图片](/imgs/offiaccount-5.png)
![图片](../../../public/imgs/offiaccount-6.png)
![图片](/imgs/offiaccount-6.png)
1. 随机生成AESKey,填入 FastGPT 配置弹窗中。
......@@ -107,15 +107,15 @@ description: FastGPT 接入微信公众号教程
1. 在FastGPT确认创建,获取URL。
![图片](../../../public/imgs/offiaccount-7.png)
![图片](/imgs/offiaccount-7.png)
2. 填入微信公众平台的 URL 处,然后提交保存
![图片](../../../public/imgs/offiaccount-8.png)
![图片](/imgs/offiaccount-8.png)
## 6. 启用服务器配置(如已自动启用,请忽略)
![图片](../../../public/imgs/offiaccount-9.png)
![图片](/imgs/offiaccount-9.png)
## 7. 开始使用
......
......@@ -5,7 +5,7 @@ description: Access FastGPT app via API
import { Alert } from '@/components/docs/Alert';
In FastGPT, you can create multiple API keys for each app to access the app's API endpoints. Each key can only access one app. For complete endpoint documentation, [see the Chat API reference](../../openapi/intro.en.mdx).
In FastGPT, you can create multiple API keys for each app to access the app's API endpoints. Each key can only access one app. For complete endpoint documentation, [see the Chat API reference](../../../openapi/intro.en.mdx).
## Get API Key
......@@ -15,7 +15,7 @@ Go to App -> "API Access", then click "API Key" to create a key.
Keep your key safe. Once the dialog is closed, you cannot copy the key again -- you can only create a new key and copy it.
</Alert>
![](../../../public/imgs/fastgpt-api1.jpg)
![](/imgs/fastgpt-api1.jpg)
<Alert icon="🍅" context="success">
Tip: For security, you can set a quota or expiration time to prevent key abuse.
......@@ -30,8 +30,8 @@ OPENAI_API_KEY = the key obtained in the previous step
**[ChatGPT Next Web](https://github.com/Yidadaa/ChatGPT-Next-Web) Example:**
![](../../../public/imgs/chatgptnext.png)
![](/imgs/chatgptnext.png)
**[ChatGPT Web](https://github.com/Chanzhaoyu/chatgpt-web) Example:**
![](../../../public/imgs/chatgptweb.png)
![](/imgs/chatgptweb.png)
......@@ -5,7 +5,7 @@ description: 通过 API 访问 FastGPT 应用
import { Alert } from '@/components/docs/Alert';
在 FastGPT 中,你可以为每一个应用创建多个 API 密钥,用于访问应用的 API 接口。每个密钥仅能访问一个应用。完整的接口可以[查看应用对话接口](../../openapi/intro.mdx)。
在 FastGPT 中,你可以为每一个应用创建多个 API 密钥,用于访问应用的 API 接口。每个密钥仅能访问一个应用。完整的接口可以[查看应用对话接口](../../../openapi/intro.mdx)。
## 获取 API 密钥
......@@ -15,7 +15,7 @@ import { Alert } from '@/components/docs/Alert';
密钥需要自己保管好,一旦关闭就无法再复制密钥,只能创建新密钥再复制。
</Alert>
![](../../../public/imgs/fastgpt-api1.jpg)
![](/imgs/fastgpt-api1.jpg)
<Alert icon="🍅" context="success">
Tips: 安全起见,你可以设置一个额度或者过期时间,防止 key 被滥用。
......@@ -30,8 +30,8 @@ OPENAI_API_KEY = 上一步获取到的密钥
**[ChatGPT Next Web](https://github.com/Yidadaa/ChatGPT-Next-Web) 示例:**
![](../../../public/imgs/chatgptnext.png)
![](/imgs/chatgptnext.png)
**[ChatGPT Web](https://github.com/Chanzhaoyu/chatgpt-web) 示例:**
![](../../../public/imgs/chatgptweb.png)
![](/imgs/chatgptweb.png)
......@@ -7,7 +7,7 @@ description: How to integrate FastGPT with a WeChat personal account
Open your FastGPT Agent, click the tab at the top to switch to **Publishing Channels**, select **WeChat Personal Account**, and click **Create**.
![alt text](../../../public/imgs/image-3.png)
![alt text](/imgs/image-3.png)
You can fill in the form fields as needed.
......@@ -15,19 +15,19 @@ You can fill in the form fields as needed.
After creating the channel, a new entry will appear. For the first time, you need to scan a QR code to log in. Click **Scan QR Code to Log In** to display the login QR code.
![alt text](../../../public/imgs/image-4.png)
![alt text](/imgs/image-4.png)
![alt text](../../../public/imgs/image-17.png)
![alt text](/imgs/image-17.png)
## 3. Start Chatting
Once connected via QR code, a **WeChat ClawBot** will appear in your contacts list.
![alt text](../../../public/imgs/image-25.png)
![alt text](/imgs/image-25.png)
Click to open the conversation and start chatting!
![alt text](../../../public/imgs/image-26.png)
![alt text](/imgs/image-26.png)
## FAQ
......
......@@ -7,7 +7,7 @@ description: FastGPT 接入微信个人号教程
进入 FastGPT 搭建好的 Agent,点击顶部的 tab 切换到发布渠道,并选择`微信个人号`,点击新建。
![alt text](../../../public/imgs/image-3.png)
![alt text](/imgs/image-3.png)
表单内容随便填写即可。
......@@ -15,21 +15,21 @@ description: FastGPT 接入微信个人号教程
确认创建渠道后,会多出一条记录,首次需要扫码登录,点击扫码登录,即可跳出登录二维码。
![alt text](../../../public/imgs/image-4.png)
![alt text](/imgs/image-4.png)
![alt text](../../../public/imgs/image-17.png)
![alt text](/imgs/image-17.png)
## 3. 愉快玩耍
扫码连接后,好友列表就会多出一个`微信 ClawBot`的机器人可使用。
![alt text](../../../public/imgs/image-25.png)
![alt text](/imgs/image-25.png)
点击进入后,即可开始聊天啦!
![alt text](../../../public/imgs/image-26.png)
![alt text](/imgs/image-26.png)
## FAQ
......
......@@ -10,7 +10,7 @@ description: FastGPT WeCom Bot Integration Tutorial
WeCom requires intelligent bot message push addresses to use the enterprise's primary domain, so cloud service edition users must configure a custom domain before using WeCom bots.
- [Configure Custom Domain](../../introduction/guide/team_permissions/customDomain.en.mdx)
- [Configure Custom Domain](../../workspace/customDomain.en.mdx)
If you are a commercial edition user, continue using your enterprise domain.
......@@ -24,43 +24,43 @@ If you are a commercial edition user, continue using your enterprise domain.
On the "Security & Management" - "Management Tools" page, click "Intelligent Bot" (Note: Only the enterprise creator or super admin has permission to see this entry)
![Image](../../../public/imgs/use-cases/external-integration/wecom/1.png)
![Image](/imgs/use-cases/external-integration/wecom/1.png)
### 2.3 Select "API Mode Creation" for the Intelligent Bot
On the create bot page, scroll down and click "API Mode Creation"
![Image](../../../public/imgs/use-cases/external-integration/wecom/2.png)
![Image](/imgs/use-cases/external-integration/wecom/2.png)
### 2.4 Get Key Credentials
Randomly generate or manually enter Token and Encoding-AESKey, and record them
![Image](../../../public/imgs/use-cases/external-integration/wecom/3.png)
![Image](/imgs/use-cases/external-integration/wecom/3.png)
### 2.5 Create WeCom Bot Publishing Channel
In FastGPT, select the Agent you want to use. On the Publishing Channels page, select "WeCom Bot" and click "Create"
![Image](../../../public/imgs/use-cases/external-integration/wecom/4.png)
![Image](/imgs/use-cases/external-integration/wecom/4.png)
### 2.6 Configure Publishing Channel Information
Configure the publishing channel information. You need to enter the Token and AESKey recorded in step 2.4 (Token and Encoding-AESKey)
![Image](../../../public/imgs/use-cases/external-integration/wecom/5.png)
![Image](/imgs/use-cases/external-integration/wecom/5.png)
### 2.7 Copy Callback URL
After clicking "Confirm", select your configured custom domain, copy the callback URL, and paste it back into the WeCom intelligent bot configuration page.
![Image](../../../public/imgs/use-cases/external-integration/wecom/6.png)
![Image](/imgs/use-cases/external-integration/wecom/6.png)
## 3. Use the Intelligent Bot
In the WeCom platform's "Contacts", you can find the created bot and start sending messages
![Image](../../../public/imgs/use-cases/external-integration/wecom/7.png)
![Image](/imgs/use-cases/external-integration/wecom/7.png)
## FAQ
......
......@@ -10,7 +10,7 @@ description: FastGPT 接入企微机器人教程
企微要求智能机器人消息推送地址必须使用企业主体域名,因此云服务版本用户必须先配置自定义域名才能使用企微机器人。
- [配置自定义域名](../../introduction/guide/team_permissions/customDomain.mdx)
- [配置自定义域名](../../workspace/customDomain.mdx)
若您是商业版用户,请继续使用您企业的域名。
......@@ -24,43 +24,43 @@ description: FastGPT 接入企微机器人教程
在"安全与管理" - "管理工具"页面点击"智能机器人" ( 注意: 只有企业创建者或超级管理员才有权限看到这个入口 )
![图片](../../../public/imgs/use-cases/external-integration/wecom/1.png)
![图片](/imgs/use-cases/external-integration/wecom/1.png)
### 2.3 选择 “API模式创建” 智能机器人
在创建机器人页面, 下拉, 点击 "API模式创建"
![图片](../../../public/imgs/use-cases/external-integration/wecom/2.png)
![图片](/imgs/use-cases/external-integration/wecom/2.png)
### 2.4 获取关键密钥
随机生成或者手动输入 Token 和 Encoding-AESKey,并且记录下来
![图片](../../../public/imgs/use-cases/external-integration/wecom/3.png)
![图片](/imgs/use-cases/external-integration/wecom/3.png)
### 2.5 创建企微机器人发布渠道
在 FastGPT 中,选择要使用 Agent,在发布渠道页面,选择“企业微信机器人”,点击“创建”
![图片](../../../public/imgs/use-cases/external-integration/wecom/4.png)
![图片](/imgs/use-cases/external-integration/wecom/4.png)
### 2.6 配置发布渠道信息
配置该发布渠道的信息,需要填入 Token 和 AESKey,也就是第四步中记录下来的 Token 和 Encoding-AESKey
![图片](../../../public/imgs/use-cases/external-integration/wecom/5.png)
![图片](/imgs/use-cases/external-integration/wecom/5.png)
### 2.7 复制回调地址
点击“确认”后,选择您配置的自定义域名,复制回调地址,填回企微智能机器人配置页中。
![图片](../../../public/imgs/use-cases/external-integration/wecom/6.png)
![图片](/imgs/use-cases/external-integration/wecom/6.png)
## 3. 使用智能机器人
在企业微信平台的"通讯录",即可找到创建的机器人,就可以发送消息了
![图片](../../../public/imgs/use-cases/external-integration/wecom/7.png)
![图片](/imgs/use-cases/external-integration/wecom/7.png)
## FAQ
......
......@@ -11,7 +11,7 @@ First, select "New MCP Tools Collection." We'll use the Amap (Gaode Maps) MCP Se
You'll need an MCP URL, e.g., https://mcp.amap.com/sse?key=xxx
![Create MCP tools](../../../../public/imgs/mcp_tools1.png)
![Create MCP tools](/imgs/mcp_tools1.png)
Enter the URL in the dialog and click Parse. The system will discover and list the available tools.
......@@ -21,7 +21,7 @@ Click Create to finish setting up the MCP tools and collection.
Inside the MCP Tools collection, you can debug each tool individually.
![Test MCP tools](../../../../public/imgs/mcp_tools3.png)
![Test MCP tools](/imgs/mcp_tools3.png)
For example, select the maps_weather tool and click Run to see the weather data for Hangzhou.
......@@ -30,13 +30,13 @@ For example, select the maps_weather tool and click Run to see the weather data
### Call Individual Tools
![Call individual tools](../../../../public/imgs/mcp_tools4.png)
![Call individual tools](/imgs/mcp_tools4.png)
Using maps_weather and maps_text_search as examples, ask the AI two different questions. The AI intelligently selects the appropriate tool, retrieves the needed information, and responds based on the results.
| | |
|---|---|
| ![](../../../../public/imgs/mcp_tools5.png) | ![](../../../../public/imgs/mcp_tools6.png) |
| ![](/imgs/mcp_tools5.png) | ![](/imgs/mcp_tools6.png) |
### Call an Entire Tools Collection
......@@ -46,6 +46,6 @@ Click the MCP Tools collection to add a collection-type node, then connect it us
| | |
|---|---|
| ![](../../../../public/imgs/mcp_tools7.png) | ![](../../../../public/imgs/mcp_tools8.png) |
| ![](/imgs/mcp_tools7.png) | ![](/imgs/mcp_tools8.png) |
The AI similarly selects the appropriate tool, retrieves the needed information, and responds based on the results.
......@@ -11,7 +11,7 @@ FastGPT v4.9.6 版本开始,新增了 MCP 工具集 这种新的应用类型
需要获取到一个 MCP 地址,例 https://mcp.amap.com/sse?key=xxx
![创建 MCP tools](../../../../public/imgs/mcp_tools1.png)
![创建 MCP tools](/imgs/mcp_tools1.png)
然后填入到弹窗中的对应位置,点击后面的解析,会解析出对应的一系列工具
......@@ -21,7 +21,7 @@ FastGPT v4.9.6 版本开始,新增了 MCP 工具集 这种新的应用类型
进入到 MCP 工具集内部,能够对每个单独的 MCP 工具进行调试
![测试 MCP tools](../../../../public/imgs/mcp_tools3.png)
![测试 MCP tools](/imgs/mcp_tools3.png)
以 maps_weather 这个查询天气的工具为例,点击运行,可以看到能够获得杭州的具体天气
......@@ -30,13 +30,13 @@ FastGPT v4.9.6 版本开始,新增了 MCP 工具集 这种新的应用类型
### 调用单个工具
![调用单个工具](../../../../public/imgs/mcp_tools4.png)
![调用单个工具](/imgs/mcp_tools4.png)
选中 maps_weather 和 maps_text_search 这两个工具为例,分别问 AI 两个问题,可以看到 AI 智能地调用了相应的工具获得了需要的信息,然后根据获得的信息回答
| | |
|---|---|
| ![](../../../../public/imgs/mcp_tools5.png) | ![](../../../../public/imgs/mcp_tools6.png) |
| ![](/imgs/mcp_tools5.png) | ![](/imgs/mcp_tools6.png) |
### 调用工具集
......@@ -46,6 +46,6 @@ FastGPT 也支持调用整个 MCP 工具集,AI 会自动选取需要的工具
| | |
|---|---|
| ![](../../../../public/imgs/mcp_tools7.png) | ![](../../../../public/imgs/mcp_tools8.png) |
| ![](/imgs/mcp_tools7.png) | ![](/imgs/mcp_tools8.png) |
可以看到 AI 同样智能调用了相应的工具,获得了需要的信息,然后根据获得的信息回答
{
"title": "Tools",
"description": "MCP tools and system plugins for app building.",
"pages": ["mcp_tools", "system-plugins"]
}
{
"title": "工具",
"description": "应用构建中的 MCP 工具和系统插件。",
"pages": ["mcp_tools", "system-plugins"]
}
......@@ -7,7 +7,7 @@ description: Step-by-step guide for configuring the FastGPT Bing Search plugin
https://portal.azure.com/
![](../../../../public/imgs/bing_search_plugin1.png)
![](/imgs/bing_search_plugin1.png)
2. # Create a Bing Web Search Resource
......@@ -15,14 +15,14 @@ Search for Bing Search v7 and click Create.
https://portal.azure.com/#create/Microsoft.BingSearch
![](../../../../public/imgs/bing_search_plugin2.png)
![](/imgs/bing_search_plugin2.png)
3. # Go to the Resource Details and Click Manage Keys
![](../../../../public/imgs/bing_search_plugin3.png)
![](/imgs/bing_search_plugin3.png)
# 4. Copy Either Key and Paste It into the Plugin Input
![](../../../../public/imgs/bing_search_plugin4.png)
![](/imgs/bing_search_plugin4.png)
![](../../../../public/imgs/bing_search_plugin5.png)
![](/imgs/bing_search_plugin5.png)
......@@ -7,7 +7,7 @@ description: FastGPT Bing 搜索插件配置步骤详解
https://portal.azure.com/
![](../../../../public/imgs/bing_search_plugin1.png)
![](/imgs/bing_search_plugin1.png)
1. # 创建bing web搜索资源
......@@ -15,14 +15,14 @@ https://portal.azure.com/
https://portal.azure.com/#create/Microsoft.BingSearch
![](../../../../public/imgs/bing_search_plugin2.png)
![](/imgs/bing_search_plugin2.png)
1. # 进入资源详情点击管理密钥
![](../../../../public/imgs/bing_search_plugin3.png)
![](/imgs/bing_search_plugin3.png)
# 4. 复制任意一个密钥填入插件输入
![](../../../../public/imgs/bing_search_plugin4.png)
![](/imgs/bing_search_plugin4.png)
![](../../../../public/imgs/bing_search_plugin5.png)
![](/imgs/bing_search_plugin5.png)
......@@ -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](../../../self-host/dev.en.mdx) to set up a local FastGPT development environment
1. Follow [Quick Start Local Development](../../../../self-host/dev.en.mdx) 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
......@@ -332,11 +332,11 @@ Start the fastgpt-plugin development environment.
Open `http://localhost:PORT/openapi` in a browser to access the `fastgpt-plugin` OpenAPI page for API debugging. Replace PORT with your fastgpt-plugin port number.
![](../../../../public/imgs/plugin-openapi.png)
![](/imgs/plugin-openapi.png)
First, use the `/tool/list` endpoint to get the tool list and find the `toolId` of the tool you want to debug. Then use `/tool/runStream` to run the tool and get results.
![](../../../../public/imgs/plugin-openapi2.png)
![](/imgs/plugin-openapi2.png)
### 6.3 E2E Testing in Dev Mode (with Hot Reload)
......
......@@ -323,7 +323,7 @@ FastGPT-plugin 使用 Vitest 作为单测框架。
### 6.1 部署 E2E 测试环境
1. 参考 [快速开始本地开发](../../../self-host/dev.mdx),在本地部署一套 FastGPT 开发环境
1. 参考 [快速开始本地开发](../../../../self-host/dev.mdx),在本地部署一套 FastGPT 开发环境
2. `cd runtime && cp .env.template .env.local` 复制环境变量样例文件,连接到上一步部署的 Minio, Mongo, Redis 中
3. `bun run dev` 运行开发环境,修改 FastGPT 的环境变量,连接到你刚刚启动的 fastgpt-plugin
......@@ -334,11 +334,11 @@ FastGPT-plugin 使用 Vitest 作为单测框架。
浏览器打开`http://localhost:PORT/openapi`可进入`fastgpt-plugin`的 OpenAPI 页面,进行 API 调试。
PORT 为你的 fastgpt-plugin 的端口
![](../../../../public/imgs/plugin-openapi.png)
![](/imgs/plugin-openapi.png)
可以先通过`/tool/list`接口,获取工具列表,找到需要调试的工具的`toolId`。紧接着,通过`/tool/runStream`来运行工具获取实际结果。
![](../../../../public/imgs/plugin-openapi2.png)
![](/imgs/plugin-openapi2.png)
### 6.3 在开发环境下 e2e 测试(有热更新)
......
......@@ -7,16 +7,16 @@ description: How to configure and use the Doc2x plugin
https://doc2x.noedgeai.com/
![](../../../../public/imgs/doc2x_plugin1.png)
![](/imgs/doc2x_plugin1.png)
![](../../../../public/imgs/doc2x_plugin2.png)
![](/imgs/doc2x_plugin2.png)
2. # Enter the API Key in FastGPT
**In Workflow mode:**
![](../../../../public/imgs/doc2x_plugin3.png)
![](/imgs/doc2x_plugin3.png)
**In Simple mode:**
![](../../../../public/imgs/doc2x_plugin4.png)
![](/imgs/doc2x_plugin4.png)
......@@ -7,16 +7,16 @@ description: 如何配置和使用 Doc2x 插件
https://doc2x.noedgeai.com/
![](../../../../public/imgs/doc2x_plugin1.png)
![](/imgs/doc2x_plugin1.png)
![](../../../../public/imgs/doc2x_plugin2.png)
![](/imgs/doc2x_plugin2.png)
1. # 填写apikey到fastgpt中
**工作流****中:**
![](../../../../public/imgs/doc2x_plugin3.png)
![](/imgs/doc2x_plugin3.png)
**简易模式使用:**
![](../../../../public/imgs/doc2x_plugin4.png)
![](/imgs/doc2x_plugin4.png)
......@@ -9,20 +9,20 @@ https://programmablesearchengine.google.com/
Go to the Custom Search Engine control panel and create a new Search Engine.
![](../../../../public/imgs/google_search_plugin1.png)
![](/imgs/google_search_plugin1.png)
Get the Search Engine ID (cx).
![](../../../../public/imgs/google_search_plugin2.png)
![](/imgs/google_search_plugin2.png)
## 2. Get an API Key
https://developers.google.com/custom-search/v1/overview
![](../../../../public/imgs/google_search_plugin3.png)
![](/imgs/google_search_plugin3.png)
## 3. Fill in the Plugin Input Parameters
Enter the Search Engine ID in the cx field and the API key in the key field.
![](../../../../public/imgs/google_search_plugin4.png)
![](/imgs/google_search_plugin4.png)
......@@ -9,20 +9,20 @@ https://programmablesearchengine.google.com/
我们连到Custom Search Engine control panel 建立Search Engine
![](../../../../public/imgs/google_search_plugin1.png)
![](/imgs/google_search_plugin1.png)
取得搜索引擎的ID,即cx
![](../../../../public/imgs/google_search_plugin2.png)
![](/imgs/google_search_plugin2.png)
1. # 获取api key
https://developers.google.com/custom-search/v1/overview?hl=zh-cn
![](../../../../public/imgs/google_search_plugin3.png)
![](/imgs/google_search_plugin3.png)
1. # 填入插件输入参数
将搜索引擎ID填入cx字段,api key填入key字段
![](../../../../public/imgs/google_search_plugin4.png)
![](/imgs/google_search_plugin4.png)
{
"title": "System Plugins",
"description": "Introduction to using and submitting system plugins, and filling instructions for each plugin",
"description": "Guides for using, developing, and submitting system plugins.",
"pages": [
"dev_system_tool",
"how_to_submit_system_plugin",
"upload_system_tool",
"searxng_plugin_guide",
"google_search_plugin_guide",
"bing_search_plugin",
"doc2x_plugin_guide",
"deepseek_plugin_guide"
"doc2x_plugin_guide"
]
}
{
"title": "系统插件",
"description": "介绍如何使用和提交系统插件,以及各插件的填写说明",
"description": "系统插件的使用、开发与提交说明。",
"pages": [
"dev_system_tool",
"how_to_submit_system_plugin",
"upload_system_tool",
"searxng_plugin_guide",
"google_search_plugin_guide",
"bing_search_plugin",
"doc2x_plugin_guide",
"deepseek_plugin_guide"
"doc2x_plugin_guide"
]
}
......@@ -13,7 +13,7 @@ Open [Sealos Beijing Region](https://bja.sealos.run?uid=fnWRt09fZP), click App L
| Open App Launchpad | Create New App |
| --- | --- |
| ![](../../../../public/imgs/searxng_plugin_guide1.png) | ![alt text](../../../../public/imgs/image-45.png) |
| ![](/imgs/searxng_plugin_guide1.png) | ![alt text](/imgs/image-45.png) |
## 2. Deployment Configuration
......@@ -26,7 +26,7 @@ Fill in the following parameters:
* Enable public access
* Click Advanced Configuration to add environment variables and config files
![alt text](../../../../public/imgs/image-50.png)
![alt text](/imgs/image-50.png)
**Environment Variables**
......@@ -144,7 +144,7 @@ Copy the public URL from your Sealos deployment and paste it into the SearXNG pl
| Copy Public URL | Paste into URL |
| --- | --- |
| ![alt text](../../../../public/imgs/image-48.png) | ![alt text](../../../../public/imgs/image-49.png) |
| ![alt text](/imgs/image-48.png) | ![alt text](/imgs/image-49.png) |
## Response Format
......
......@@ -14,7 +14,7 @@ description: FastGPT SearXNG 搜索插件配置指南
| 打开应用部署 | 点击新建应用 |
| --- | --- |
| ![](../../../../public/imgs/searxng_plugin_guide1.png) | ![alt text](../../../../public/imgs/image-45.png) |
| ![](/imgs/searxng_plugin_guide1.png) | ![alt text](/imgs/image-45.png) |
## 2. 部署配置
......@@ -27,7 +27,7 @@ description: FastGPT SearXNG 搜索插件配置指南
* 开启公网访问
* 点击高级配置,填写环境变量和配置文件
![alt text](../../../../public/imgs/image-50.png)
![alt text](/imgs/image-50.png)
**环境变量**
......@@ -144,7 +144,7 @@ default_doi_resolver: 'oadoi.org'
| 复制公网地址| 填入 URL |
| --- | --- |
| ![alt text](../../../../public/imgs/image-48.png) | ![alt text](../../../../public/imgs/image-49.png) |
| ![alt text](/imgs/image-48.png) | ![alt text](/imgs/image-49.png) |
## 返回格式
......
......@@ -22,13 +22,13 @@ description: FastGPT System Tool Online Upload Guide
### 1. Access the Configuration Page
![](../../../../public/imgs/plugins/entry.png)
![](/imgs/plugins/entry.png)
### 2. Prepare Tool Files
Before uploading, make sure your `.pkg` files are from the `dist/pkgs` folder, built by running `bun run build:pkg` in the fastgpt-plugin project.
![](../../../../public/imgs/plugins/files.png)
![](/imgs/plugins/files.png)
### 3. Upload
......
......@@ -22,13 +22,13 @@ description: FastGPT 系统工具在线上传指南
### 1. 进入配置页面
![](../../../../public/imgs/plugins/entry.png)
![](/imgs/plugins/entry.png)
### 2. 准备工具文件
在上传之前,请确保您的 `.pkg` 文件是从 fastgpt-plugin 项目中通过 `bun run build:pkg` 命令打包后的 `dist/pkgs` 文件夹下得到的
![](../../../../public/imgs/plugins/files.png)
![](/imgs/plugins/files.png)
### 3. 执行上传
......
......@@ -7,7 +7,7 @@ Starting from V4.0, FastGPT adopted a new approach to building AI applications.
[Watch the video tutorial](https://www.bilibili.com/video/BV1is421u7bQ/)
![](../../../../public/imgs/flow-intro1.png)
![](/imgs/flow-intro1.png)
## What is a Node?
......@@ -15,7 +15,7 @@ In programming terms, a node is like a function or API endpoint — think of it
Below is the simplest AI conversation, consisting of a Workflow Start node and an AI Chat node.
![](../../../../public/imgs/flow-intro2.png)
![](/imgs/flow-intro2.png)
Execution flow:
1. The user inputs a question. The [Workflow Start] node executes and saves the user's question.
......@@ -33,7 +33,7 @@ Functionally, nodes fall into 2 categories:
Each node has 3 core parts: inputs, outputs, and triggers.
![](../../../../public/imgs/flow-intro3.png)
![](/imgs/flow-intro3.png)
- AI model, prompt, chat history, user question, and Knowledge Base citation are inputs. Inputs can be manual entries or variable references, which include "global variables" and outputs from any previous node.
- New context and AI reply content are outputs. Outputs can be referenced by any subsequent node.
......@@ -45,7 +45,7 @@ FastGPT Workflows start from the [Workflow Start] node, triggered when the user
Let's look at how workflows execute and when each node is triggered.
![](../../../../public/imgs/flow-intro1.png)
![](/imgs/flow-intro1.png)
As shown above, nodes can "be connected to" and "connect to other nodes." We call incoming connections "predecessor lines" and outgoing connections "successor lines." In the example, the [Knowledge Base Search] node has one predecessor line on the left and one successor line on the right. The [AI Chat] node only has a predecessor line on the left.
......
......@@ -7,7 +7,7 @@ FastGPT 莉 V4.0 迚域悽蠑蟋矩逕ィ譁ー逧コ、莠呈婿蠑乗擂譫サコ AI 蠎皮畑縲ゆスソ逕
[查看视频教程](https://www.bilibili.com/video/BV1is421u7bQ/)
![](../../../../public/imgs/flow-intro1.png)
![](/imgs/flow-intro1.png)
## 什么是节点?
......@@ -15,7 +15,7 @@ FastGPT 莉 V4.0 迚域悽蠑蟋矩逕ィ譁ー逧コ、莠呈婿蠑乗擂譫サコ AI 蠎皮畑縲ゆスソ逕
如下图,这是一个最简单的 AI 对话。它由用流程开始和 AI 对话节点组成。
![](../../../../public/imgs/flow-intro2.png)
![](/imgs/flow-intro2.png)
执行流程如下:
1. 用户输入问题后,【流程开始】节点执行,用户问题被保存。
......@@ -33,7 +33,7 @@ FastGPT 莉 V4.0 迚域悽蠑蟋矩逕ィ譁ー逧コ、莠呈婿蠑乗擂譫サコ AI 蠎皮畑縲ゆスソ逕
每个节点会包含 3 个核心部分:输入、输出和触发器。
![](../../../../public/imgs/flow-intro3.png)
![](/imgs/flow-intro3.png)
- AI模型、提示词、聊天记录、用户问题,知识库引用为输入,节点的输入可以是手动输入也可以是变量引用,变量引用的范围包括“全局变量”和之前任意一个节点的输出。
- 新的上下文和AI回复内容为输出,输出可以被之后任意节点变量引用。
......@@ -45,7 +45,7 @@ FastGPT逧キ・菴懈オ∽サ弱先オ∫ィ句シ蟋九題鰍轤ケ蠑蟋区鴬陦鯉シ悟庄莉・逅ァ」荳コ莉守
下面我们来看下,工作流是如何运行的,以及每个节点何时被触发执行。
![](../../../../public/imgs/flow-intro1.png)
![](/imgs/flow-intro1.png)
如上图所示节点会“被连接”也会“连接其他节点”,我们称“被连接”的那根线为前置线,“连接其他节点的线”为后置线。上图例子中【知识库搜索】模块左侧有一根前置线,右侧有一根后置线。而【AI对话】节点只有左侧一根前置线。
......
{
"title": "Workflow",
"description": "FastGPT workflow introduction and node guides.",
"pages": ["intro", "nodes"]
}
{
"title": "工作流",
"description": "FastGPT 工作流介绍和节点说明。",
"pages": ["intro", "nodes"]
}
......@@ -11,7 +11,7 @@ import { Alert } from '@/components/docs/Alert';
- Trigger-based execution
- Core module
![](../../../../../public/imgs/aichat.png)
![](/imgs/aichat.png)
## Parameters
......@@ -21,10 +21,10 @@ Configure available chat models via [config.json](../../../../self-host/config/m
Click the AI model to configure its parameters.
![](../../../../../public/imgs/aichat02.png)
![](/imgs/aichat02.png)
![](../../../../../public/imgs/aichat2.png)
![](/imgs/aichat2.png)
<Alert icon="🍅" context="success">
For detailed parameter descriptions, see: [AI Parameter Configuration](../../course/ai_settings.en.mdx)
For detailed parameter descriptions, see: [AI Parameter Configuration](../../general/ai_settings.en.mdx)
</Alert>
......@@ -11,7 +11,7 @@ import { Alert } from '@/components/docs/Alert';
- 触发执行
- 核心模块
![](../../../../../public/imgs/aichat.png)
![](/imgs/aichat.png)
## 参数说明
......@@ -21,10 +21,10 @@ import { Alert } from '@/components/docs/Alert';
点击AI模型后,可以配置模型的相关参数。
![](../../../../../public/imgs/aichat02.png)
![](/imgs/aichat02.png)
![](../../../../../public/imgs/aichat2.png)
![](/imgs/aichat2.png)
<Alert icon="🍅" context="success">
具体配置参数介绍可以参考: [AI参数配置说明](../../course/ai_settings.mdx)
具体配置参数介绍可以参考: [AI参数配置说明](../../general/ai_settings.mdx)
</Alert>
......@@ -11,7 +11,7 @@ description: FastGPT Text Content Extraction node overview
- function_call module
- Core module
![](../../../../../public/imgs/extract1.png)
![](/imgs/extract1.png)
## What It Does
......
......@@ -11,7 +11,7 @@ description: FastGPT 内容提取模块介绍
- function_call 模块
- 核心模块
![](../../../../../public/imgs/extract1.png)
![](/imgs/extract1.png)
## 功能
......
......@@ -9,7 +9,7 @@ description: FastGPT Query Enhancement node overview and usage
- Has external input
- Trigger-based execution
![](../../../../../public/imgs/coreferenceResolution1.jpg)
![](/imgs/coreferenceResolution1.jpg)
## Background
......@@ -17,11 +17,11 @@ In RAG, we perform embedding searches against the database based on the input qu
During search -- especially in multi-turn conversations -- follow-up questions often fail to retrieve useful results. One reason is that Knowledge Base search only uses the "current" question. Consider this example:
![](../../../../../public/imgs/coreferenceResolution2.webp)
![](/imgs/coreferenceResolution2.webp)
When the user asks "What is the second point?", the system searches the Knowledge Base for exactly that phrase and finds nothing. The actual intended query is "What is the QA structure?". This is why we need a Query Enhancement node to refine the user's current question so the Knowledge Base search can return relevant results. With query enhancement applied:
![](../../../../../public/imgs/coreferenceResolution3.webp)
![](/imgs/coreferenceResolution3.webp)
## What It Does
......
......@@ -9,7 +9,7 @@ description: 问题优化模块介绍和使用
- 有外部输入
- 触发执行
![](../../../../../public/imgs/coreferenceResolution1.jpg)
![](/imgs/coreferenceResolution1.jpg)
## 背景
......@@ -17,11 +17,11 @@ description: 问题优化模块介绍和使用
在搜索的过程中,尤其是连续对话的搜索,我们通常会发现后续的问题难以搜索到合适的内容,其中一个原因是知识库搜索只会使用“当前”的问题去执行。看下面的例子:
![](../../../../../public/imgs/coreferenceResolution2.webp)
![](/imgs/coreferenceResolution2.webp)
用户在提问“第二点是什么”的时候,只会去知识库里查找“第二点是什么”,压根查不到内容。实际上需要查询的是“QA结构是什么”。因此我们需要引入一个【问题优化】模块,来对用户当前的问题进行补全,从而使得知识库搜索能够搜索到合适的内容。使用补全后效果如下:
![](../../../../../public/imgs/coreferenceResolution3.webp)
![](/imgs/coreferenceResolution3.webp)
## 功能
......
......@@ -14,8 +14,8 @@ This is a temporary module that will receive a more comprehensive redesign in th
| | |
| --------------------- | --------------------- |
| ![](../../../../../public/imgs/customfeedback1.jpg) | ![](../../../../../public/imgs/customfeedback2.jpg) |
| ![](../../../../../public/imgs/customfeedback3.jpg) | ![](../../../../../public/imgs/customfeedback4.jpg) |
| ![](/imgs/customfeedback1.jpg) | ![](/imgs/customfeedback2.jpg) |
| ![](/imgs/customfeedback3.jpg) | ![](/imgs/customfeedback4.jpg) |
## Overview
......
......@@ -14,8 +14,8 @@ description: 自定义反馈模块介绍
| | |
| --------------------- | --------------------- |
| ![](../../../../../public/imgs/customfeedback1.jpg) | ![](../../../../../public/imgs/customfeedback2.jpg) |
| ![](../../../../../public/imgs/customfeedback3.jpg) | ![](../../../../../public/imgs/customfeedback4.jpg) |
| ![](/imgs/customfeedback1.jpg) | ![](/imgs/customfeedback2.jpg) |
| ![](/imgs/customfeedback3.jpg) | ![](/imgs/customfeedback4.jpg) |
## 介绍
......
......@@ -3,7 +3,7 @@ title: Knowledge Base Search
description: FastGPT Knowledge Base Search node overview
---
For detailed parameters and internal logic, see: [FastGPT Knowledge Base Search](../../knowledge_base/rag.en.mdx)
For detailed parameters and internal logic, see: [FastGPT Knowledge Base Search](../../../dataset/rag.en.mdx)
## Characteristics
......@@ -13,7 +13,7 @@ For detailed parameters and internal logic, see: [FastGPT Knowledge Base Search]
- Trigger-based execution
- Core module
![](../../../../../public/imgs/flow-dataset1.png)
![](/imgs/flow-dataset1.png)
## Parameters
......@@ -23,7 +23,7 @@ Select one or more Knowledge Bases using the **same embedding model** for vector
### Input - Search Parameters
[View parameter details](../../knowledge_base/dataset_engine.en.mdx#搜索参数)
[View parameter details](../../../dataset/dataset_engine.en.mdx#搜索参数)
### Output - Referenced Content
......
......@@ -3,7 +3,7 @@ title: 知识库搜索
description: FastGPT AI 知识库搜索模块介绍
---
知识库搜索具体参数说明,以及内部逻辑请移步:[FastGPT知识库搜索方案](../../knowledge_base/rag.mdx)
知识库搜索具体参数说明,以及内部逻辑请移步:[FastGPT知识库搜索方案](../../../dataset/rag.mdx)
## 特点
......@@ -13,7 +13,7 @@ description: FastGPT AI 知识库搜索模块介绍
- 触发执行
- 核心模块
![](../../../../../public/imgs/flow-dataset1.png)
![](/imgs/flow-dataset1.png)
## 参数说明
......@@ -23,7 +23,7 @@ description: FastGPT AI 知识库搜索模块介绍
### 输入 - 搜索参数
[点击查看参数介绍](../../knowledge_base/dataset_engine.mdx#搜索参数)
[点击查看参数介绍](../../../dataset/dataset_engine.mdx#搜索参数)
### 输出 - 引用内容
......
......@@ -5,7 +5,7 @@ description: FastGPT Document Parsing node overview
| | |
| --- | --- |
| ![](../../../../../public/imgs/document_analysis1.png) | ![](../../../../../public/imgs/document_analysis2.png) |
| ![](/imgs/document_analysis1.png) | ![](/imgs/document_analysis2.png) |
The Document Parsing component becomes available after enabling file upload.
......
......@@ -5,7 +5,7 @@ description: FastGPT 文档解析模块介绍
| | |
| --- | --- |
| ![](../../../../../public/imgs/document_analysis1.png) | ![](../../../../../public/imgs/document_analysis2.png) |
| ![](/imgs/document_analysis1.png) | ![](/imgs/document_analysis2.png) |
开启文件上传后,可使用文档解析组件。
......
......@@ -9,17 +9,17 @@ description: FastGPT Form Input node overview
- Can be added multiple times
- Trigger-based execution
![](../../../../../public/imgs/form_input1.png)
![](/imgs/form_input1.png)
## What It Does
The Form Input node is a user interaction node. When triggered, the conversation enters an "interactive" state -- the workflow state is saved and execution pauses until the user completes the interaction.
![](../../../../../public/imgs/form_input2.png)
![](/imgs/form_input2.png)
In the example above, when the Form Input node is triggered, the chat box is hidden and the conversation enters interactive mode.
![](../../../../../public/imgs/form_input3.png)
![](/imgs/form_input3.png)
After the user fills in the required fields and clicks submit, the node collects the form data and passes it to subsequent nodes.
......
......@@ -9,17 +9,17 @@ description: FastGPT 表单输入模块介绍
- 可重复添加
- 触发执行
![](../../../../../public/imgs/form_input1.png)
![](/imgs/form_input1.png)
## 功能
「表单输入」节点属于用户交互节点,当触发这个节点时,对话会进入“交互”状态,会记录工作流的状态,等用户完成交互后,继续向下执行工作流
![](../../../../../public/imgs/form_input2.png)
![](/imgs/form_input2.png)
比如上图中的例子,当触发表单输入节点时,对话框隐藏,对话进入“交互状态”
![](../../../../../public/imgs/form_input3.png)
![](/imgs/form_input3.png)
当用户填完必填的信息并点击提交后,节点能够收集用户填写的表单信息,传递到后续的节点中使用
......
......@@ -12,7 +12,7 @@ import { Alert } from '@/components/docs/Alert';
- Trigger-based execution
- Core of core modules
![](../../../../../public/imgs/http1.jpg)
![](/imgs/http1.jpg)
## Overview
......
......@@ -12,7 +12,7 @@ import { Alert } from '@/components/docs/Alert';
- 触发执行
- 核中核模块
![](../../../../../public/imgs/http1.jpg)
![](/imgs/http1.jpg)
## 介绍
......
......@@ -4,7 +4,7 @@ description: FastGPT Knowledge Base Search Merge node overview
---
![](../../../../../public/imgs/knowledge_merge1.png)
![](/imgs/knowledge_merge1.png)
## What It Does
......@@ -14,11 +14,11 @@ Merges search results from multiple Knowledge Bases into a single output, re-ran
The AI Chat node can only accept one Knowledge Base reference input. If you call multiple Knowledge Bases, you cannot directly reference all of them (as shown below).
![](../../../../../public/imgs/knowledge_merge2.png)
![](/imgs/knowledge_merge2.png)
Use **Knowledge Base Search Merge** to combine results from multiple Knowledge Bases into one.
![](../../../../../public/imgs/knowledge_merge3.png)
![](/imgs/knowledge_merge3.png)
## Example Use Cases
......
......@@ -4,7 +4,7 @@ description: FastGPT 知识库搜索引用合并模块介绍
---
![](../../../../../public/imgs/knowledge_merge1.png)
![](/imgs/knowledge_merge1.png)
## 作用
......@@ -14,11 +14,11 @@ description: FastGPT 知识库搜索引用合并模块介绍
AI对话只能接收一个知识库引用内容。因此,如果调用了多个知识库,无法直接引用所有知识库(如下图)
![](../../../../../public/imgs/knowledge_merge2.png)
![](/imgs/knowledge_merge2.png)
使用**知识库搜索引用合并**,可以把多个知识库的搜索结果合在一起。
![](../../../../../public/imgs/knowledge_merge3.png)
![](/imgs/knowledge_merge3.png)
## 可用例子:
......
......@@ -4,7 +4,7 @@ description: FastGPT Laf Function Call node overview
---
![](../../../../../public/imgs/laf1.webp)
![](/imgs/laf1.webp)
## Overview
......@@ -23,7 +23,7 @@ After obtaining a PAT, go to FastGPT's `Account page` or the `Laf module` in the
Enter the PAT for verification, then select the application to bind (the application must be in Running status). You can then call cloud functions under that application.
![](../../../../../public/imgs/laf2.webp)
![](/imgs/laf2.webp)
## Writing Cloud Functions
......@@ -79,13 +79,13 @@ You can also select the `fastgpt_template` on the Laf platform to quickly genera
To do this, go to the Laf functions page and create a new function (note: FastGPT only calls POST functions). Then either paste the code above or click "More Templates" and search for "fastgpt" to use the template shown below.
![](../../../../../public/imgs/laf3.webp)
![](/imgs/laf3.webp)
## Using in FastGPT
After selecting a function, click "Sync Parameters" to automatically sync the cloud function's parameters into FastGPT. You can also add parameters manually -- manually modified parameters will not be overwritten by "Sync Parameters".
![](../../../../../public/imgs/laf4.png)
![](/imgs/laf4.png)
## Notes
......
......@@ -4,7 +4,7 @@ description: FastGPT Laf 函数调用模块介绍
---
![](../../../../../public/imgs/laf1.webp)
![](/imgs/laf1.webp)
## 介绍
......@@ -23,7 +23,7 @@ Laf 提供了 PAT(访问凭证) 来实现 Laf 平台外的快捷登录,可以
填入 PAT 验证后,选择需要绑定的应用(应用需要是 Running 状态),即可调用该应用下的云函数。
![](../../../../../public/imgs/laf2.webp)
![](/imgs/laf2.webp)
## 编写云函数
......@@ -79,13 +79,13 @@ export default async function (ctx: FunctionContext): Promise<IResponse> {
具体操作可以是,进入 Laf 的函数页面,新建函数(注意 fastgpt 只会调用 post 请求的函数),然后复制上面的代码或者点击更多模板搜索“fastgpt”,使用下面的模板
![](../../../../../public/imgs/laf3.webp)
![](/imgs/laf3.webp)
## FastGPT 中使用
在选择函数后,可以通过点击“同步参数”,自动同步云函数的参数到 FastGPT 中。当然也可以手动添加,手动修改后的参数不会被“同步参数”修改。
![](../../../../../public/imgs/laf4.png)
![](/imgs/laf4.png)
## 使用注意事项
......
......@@ -9,7 +9,7 @@ The **Batch Processing** node was introduced in FastGPT V4.8.11. It allows workf
This node is inspired by loop structures in programming languages, presented in a visual format.
![Batch Processing node](../../../../../public/imgs/fastgpt-loop-node.png)
![Batch Processing node](/imgs/fastgpt-loop-node.png)
> In programming terms, nodes are like functions or API endpoints -- each one is a **step**. By connecting multiple nodes together, you build a step-by-step process that produces the final AI output.
......@@ -74,7 +74,7 @@ The **Batch Processing** node requires two core inputs:
### Loop Body Configuration
![Loop body configuration](../../../../../public/imgs/fastgpt-loop-node-config.webp)
![Loop body configuration](/imgs/fastgpt-loop-node-config.webp)
1. Inside the loop body, you can add any type of node:
- AI Chat node
......@@ -97,7 +97,7 @@ Suppose you have an array of texts that each need AI processing. This is the mos
1. Prepare the input array
![Prepare input array](../../../../../public/imgs/fastgpt-loop-node-example-1.png)
![Prepare input array](/imgs/fastgpt-loop-node-example-1.png)
Use a Code Execution node to create a test array:
......@@ -112,7 +112,7 @@ Suppose you have an array of texts that each need AI processing. This is the mos
2. Configure the Batch Processing node
![Configure Batch Processing node](../../../../../public/imgs/fastgpt-loop-node-example-2.png)
![Configure Batch Processing node](/imgs/fastgpt-loop-node-example-2.png)
- Array input: Select the `textArray` output from the previous Code Execution node.
- Add an AI Chat node inside the loop body to process each text. Set the prompt to: `Please translate this text to English`.
......@@ -121,7 +121,7 @@ Suppose you have an array of texts that each need AI processing. This is the mos
#### Execution Flow
![Execution flow](../../../../../public/imgs/fastgpt-loop-node-example-3.png)
![Execution flow](/imgs/fastgpt-loop-node-example-3.png)
1. The Code Execution node runs and generates the test array
2. The Batch Processing node receives the array and begins iteration
......@@ -146,7 +146,7 @@ The **Batch Processing** node handles these well.
1. Text preprocessing and segmentation
![Text preprocessing and segmentation](../../../../../public/imgs/fastgpt-loop-node-example-4.png)
![Text preprocessing and segmentation](/imgs/fastgpt-loop-node-example-4.png)
Use a Code Execution node for text segmentation:
......@@ -279,7 +279,7 @@ The **Batch Processing** node handles these well.
2. Configure the Batch Processing node
![Configure Batch Processing node](../../../../../public/imgs/fastgpt-loop-node-example-5.png)
![Configure Batch Processing node](/imgs/fastgpt-loop-node-example-5.png)
- Array input: Select the `chunks` output from the previous Code Execution node.
- Add a Code Execution node inside the loop body to format the source text.
......
......@@ -9,7 +9,7 @@ description: FastGPT 批量运行节点介绍和使用
这个节点的设计灵感来自编程语言中的循环结构,但以可视化的方式呈现。
![批量运行节点](../../../../../public/imgs/fastgpt-loop-node.png)
![批量运行节点](/imgs/fastgpt-loop-node.png)
> 在程序中,节点可以理解为一个个 Function 或者接口。可以理解为它就是一个**步骤**。将多个节点一个个拼接起来,即可一步步的去实现最终的 AI 输出。
......@@ -74,7 +74,7 @@ description: FastGPT 批量运行节点介绍和使用
### 循环体配置
![循环体配置](../../../../../public/imgs/fastgpt-loop-node-config.webp)
![循环体配置](/imgs/fastgpt-loop-node-config.webp)
1. 在循环体内部,可以添加任意类型的节点,如:
- AI 对话节点
......@@ -97,7 +97,7 @@ description: FastGPT 批量运行节点介绍和使用
1. 准备输入数组
![准备输入数组](../../../../../public/imgs/fastgpt-loop-node-example-1.png)
![准备输入数组](/imgs/fastgpt-loop-node-example-1.png)
使用【代码运行】节点创建测试数组:
......@@ -112,7 +112,7 @@ description: FastGPT 批量运行节点介绍和使用
2. 配置批量运行节点
![配置批量运行节点](../../../../../public/imgs/fastgpt-loop-node-example-2.png)
![配置批量运行节点](/imgs/fastgpt-loop-node-example-2.png)
- 数组输入:选择上一步代码运行节点的输出变量 `textArray`。
- 循环体内添加一个【AI 对话】节点,用于处理每个文本。这里我们输入的 prompt 为:`请将这段文本翻译成英文`。
......@@ -121,7 +121,7 @@ description: FastGPT 批量运行节点介绍和使用
#### 运行流程
![运行流程](../../../../../public/imgs/fastgpt-loop-node-example-3.png)
![运行流程](/imgs/fastgpt-loop-node-example-3.png)
1. 【代码运行】节点执行,生成测试数组
2. 【批量运行】节点接收数组,开始遍历
......@@ -146,7 +146,7 @@ description: FastGPT 批量运行节点介绍和使用
1. 文本预处理与分段
![文本预处理与分段](../../../../../public/imgs/fastgpt-loop-node-example-4.png)
![文本预处理与分段](/imgs/fastgpt-loop-node-example-4.png)
使用【代码运行】节点进行文本分段,代码如下:
......@@ -279,7 +279,7 @@ description: FastGPT 批量运行节点介绍和使用
2. 配置批量运行节点
![配置批量运行节点](../../../../../public/imgs/fastgpt-loop-node-example-5.png)
![配置批量运行节点](/imgs/fastgpt-loop-node-example-5.png)
- 数组输入:选择上一步代码运行节点的输出变量 `chunks`。
- 循环体内添加一个【代码运行】节点,对源文本进行格式化。
......
{
"title": "Workflow Nodes",
"description": "FastGPT workflow node configuration and usage guide",
"title": "Nodes",
"description": "FastGPT workflow node settings and usage guides.",
"pages": [
"ai_chat",
"dataset_search",
"tool",
"question_classify",
"content_extract",
"user-selection",
......@@ -13,6 +12,7 @@
"reply",
"document_parsing",
"http",
"tool",
"tfswitch",
"variable_update",
"sandbox-v2",
......
{
"title": "工作流节点",
"description": "FastGPT 工作流节点设置和使用指南",
"title": "节点",
"description": "FastGPT 工作流节点设置和使用指南。",
"pages": [
"ai_chat",
"dataset_search",
"tool",
"question_classify",
"content_extract",
"user-selection",
......@@ -13,6 +12,7 @@
"reply",
"document_parsing",
"http",
"tool",
"tfswitch",
"variable_update",
"sandbox-v2",
......
......@@ -7,7 +7,7 @@ description: FastGPT Parallel Run node overview and usage (available in 4.14.11+
The **Parallel Run** node takes an array as input and runs the same sub-workflow for **every element at the same time**, then aggregates the results.
![Parallel Run node](../../../../../public/imgs/fastgpt-parallel-run-node.png)
![Parallel Run node](/imgs/fastgpt-parallel-run-node.png)
It fits batch tasks where each item is **independent and does not depend on the others** — for example:
......@@ -70,7 +70,7 @@ The following environment variables can be tuned on self-hosted deployments:
The minimal flow below translates a few text snippets into English in parallel.
![Parallel translate example](../../../../../public/imgs/fastgpt-parallel-run-example.png)
![Parallel translate example](/imgs/fastgpt-parallel-run-example.png)
#### Steps
......@@ -105,7 +105,7 @@ The minimal flow below translates a few text snippets into English in parallel.
#### Execution Flow
![Parallel run detail](../../../../../public/imgs/fastgpt-parallel-run-detail.png)
![Parallel run detail](/imgs/fastgpt-parallel-run-detail.png)
1. The Code Execution node produces 3 text snippets
2. The Parallel Run node sends all 3 snippets to the AI chat node at the same time
......
......@@ -7,7 +7,7 @@ description: FastGPT 并行执行节点介绍和使用(适用于 4.14.11 及
【**并行执行**】节点接收一个数组,对每个元素**同时**执行同一段子工作流,最后把所有结果汇总输出。
![并行执行节点](../../../../../public/imgs/fastgpt-parallel-run-node.png)
![并行执行节点](/imgs/fastgpt-parallel-run-node.png)
适合那些**每一项都可以独立完成、互不依赖**的批量任务,比如:
......@@ -69,7 +69,7 @@ description: FastGPT 并行执行节点介绍和使用(适用于 4.14.11 及
## 场景示例:并行翻译文本数组
假设我们要把一组文本片段并行翻译成英文,下面是最简流程。
![并行翻译文本数组](../../../../../public/imgs/fastgpt-parallel-run-example.png)
![并行翻译文本数组](/imgs/fastgpt-parallel-run-example.png)
#### 实现步骤
......@@ -104,7 +104,7 @@ description: FastGPT 并行执行节点介绍和使用(适用于 4.14.11 及
#### 执行流程
![并行执行详情](../../../../../public/imgs/fastgpt-parallel-run-detail.png)
![并行执行详情](/imgs/fastgpt-parallel-run-detail.png)
1. 【代码运行】节点生成 3 段文本
2. 【并行执行】节点接收数组,3 段文本同时送入 AI 翻译
......
......@@ -11,7 +11,7 @@ description: FastGPT Question Classification node overview
- Trigger-based execution
- function_call module
![](../../../../../public/imgs/cq1.png)
![](/imgs/cq1.png)
## What It Does
......
......@@ -11,7 +11,7 @@ description: FastGPT 问题分类模块介绍
- 触发执行
- function_call 模块
![](../../../../../public/imgs/cq1.png)
![](/imgs/cq1.png)
## 功能
......
......@@ -15,4 +15,4 @@ The Specified Reply module is typically used for special-case responses. There a
1. Manually enter fixed content.
2. Use variable references.
![](../../../../../public/imgs/specialreply.png)
![](/imgs/specialreply.png)
......@@ -15,4 +15,4 @@ description: FastGPT 指定回复模块介绍
1. 一种是手动输入固定内容。
2. 一种是通过变量引用。
![](../../../../../public/imgs/specialreply.png)
![](/imgs/specialreply.png)
......@@ -10,7 +10,7 @@ description: FastGPT Text Concatenation module overview
- Trigger-based execution
- Manual configuration
![](../../../../../public/imgs/string.png)
![](/imgs/string.png)
## Function
......
......@@ -10,7 +10,7 @@ description: FastGPT 文本加工模块介绍
- 触发执行
- 手动配置
![](../../../../../public/imgs/string.png)
![](/imgs/string.png)
## 功能
......
......@@ -9,7 +9,7 @@ description: FastGPT Conditional module overview
- Has external inputs
- Trigger-based execution
![](../../../../../public/imgs/judgement1.png)
![](/imgs/judgement1.png)
## Function
......
......@@ -9,7 +9,7 @@ description: FastGPT 判断器模块介绍
- 有外部输入
- 触发执行
![](../../../../../public/imgs/judgement1.png)
![](/imgs/judgement1.png)
## 功能
......
......@@ -3,7 +3,7 @@ title: Tool Calling & Termination
description: FastGPT Tool Calling module overview
---
![](../../../../../public/imgs/flow-tool1.png)
![](/imgs/flow-tool1.png)
### What is a Tool
......@@ -34,13 +34,13 @@ Based on the tool description, parameter descriptions, and whether parameters ar
Models that support `function calling` can invoke multiple tools in a single turn. The calling logic:
![](../../../../../public/imgs/flow-tool2.png)
![](/imgs/flow-tool2.png)
### How to Use
| | |
| --- | --- |
| ![](../../../../../public/imgs/flow-tool3.png) | ![](../../../../../public/imgs/flow-tool4.png) |
| ![](/imgs/flow-tool3.png) | ![](/imgs/flow-tool4.png) |
In the advanced workflow editor, drag from the tool calling connection point. Eligible tools display a diamond icon at the top, which you can connect to the diamond at the bottom of the tool calling module.
......@@ -54,7 +54,7 @@ By default, after the tool calling node invokes a tool, it returns the tool's ou
In the example below, after the Knowledge Base Search runs, results are sent to an HTTP request. The search results are not returned to the tool calling node for AI summarization.
![](../../../../../public/imgs/flow-tool5.png)
![](/imgs/flow-tool5.png)
### Additional Nodes
......@@ -64,13 +64,13 @@ When you use the tool calling node, a Tool Calling Termination node and a Custom
Tool Calling Termination ends the current call cycle. Place it after a tool node. When the workflow reaches this node, it forcibly ends the current tool call -- no further tools are invoked, and the AI won't generate a summary based on tool results.
![](../../../../../public/imgs/flow-tool6.png)
![](/imgs/flow-tool6.png)
### Custom Tool Variables
Custom variables extend tool input capabilities. For nodes that aren't recognized as tool parameters or can't be directly tool-called, you can define custom tool variables with appropriate parameter descriptions. The tool calling node will then invoke this node and its downstream workflow accordingly.
![](../../../../../public/imgs/flow-tool7.png)
![](/imgs/flow-tool7.png)
### Related Examples
......
......@@ -4,7 +4,7 @@ description: FastGPT 工具调用模块介绍
---
![](../../../../../public/imgs/flow-tool1.png)
![](/imgs/flow-tool1.png)
### **什么是工具**
......@@ -35,14 +35,14 @@ description: FastGPT 工具调用模块介绍
在支持`函数调用`的模型中,可以一次性调用多个工具,调用逻辑如下:
![](../../../../../public/imgs/flow-tool2.png)
![](/imgs/flow-tool2.png)
### **怎么用**
| | |
| --- | --- |
| ![](../../../../../public/imgs/flow-tool3.png) | ![](../../../../../public/imgs/flow-tool4.png) |
| ![](/imgs/flow-tool3.png) | ![](/imgs/flow-tool4.png) |
高级编排中,拖动工具调用的连接点,可用的工具头部会出现一个菱形,可以将它与工具调用模块底部的菱形相连接。
......@@ -57,7 +57,7 @@ description: FastGPT 工具调用模块介绍
如下图,在执行知识库搜索后,发送给了 HTTP 请求,搜索将不会返回搜索的结果给工具调用进行 AI 总结。
![](../../../../../public/imgs/flow-tool5.png)
![](/imgs/flow-tool5.png)
### 附加节点
......@@ -67,13 +67,13 @@ description: FastGPT 工具调用模块介绍
工具调用终止可用于结束本次调用,即可以接在某个工具后面,当工作流执行到这个节点时,便会强制结束本次工具调用,不再调用其他工具,也不会再调用 AI 针对工具调用结果回答问题。
![](../../../../../public/imgs/flow-tool6.png)
![](/imgs/flow-tool6.png)
### 自定义工具变量
自定义变量可以扩展工具的变量输入,即对于一些未被视作工具参数或无法工具调用的节点,可以自定义工具变量,填上对应的参数描述,那么工具调用便会相对应的调用这个节点,进而调用其之后的工作流。
![](../../../../../public/imgs/flow-tool7.png)
![](/imgs/flow-tool7.png)
### **相关示例**
......
......@@ -9,17 +9,17 @@ description: FastGPT User Selection module usage guide
- Can be added multiple times
- Trigger-based execution
![](../../../../../public/imgs/user-selection1.png)
![](/imgs/user-selection1.png)
## Function
The "User Selection" node is an interactive node. When triggered, the conversation enters an "interactive" state -- the workflow state is saved and execution pauses until the user completes the interaction.
![](../../../../../public/imgs/user-selection2.png)
![](/imgs/user-selection2.png)
In the example above, when the User Selection node triggers, the chat input is hidden and the conversation enters interactive mode.
![](../../../../../public/imgs/user-selection3.png)
![](/imgs/user-selection3.png)
When the user makes a choice, the node evaluates the selection and executes the corresponding branch (e.g., the "Yes" branch).
......
......@@ -9,17 +9,17 @@ description: FastGPT 用户选择模块的使用说明
- 可重复添加
- 触发执行
![](../../../../../public/imgs/user-selection1.png)
![](/imgs/user-selection1.png)
## 功能
「用户选择」节点属于用户交互节点,当触发这个节点时,对话会进入“交互”状态,会记录工作流的状态,等用户完成交互后,继续向下执行工作流
![](../../../../../public/imgs/user-selection2.png)
![](/imgs/user-selection2.png)
比如上图中的例子,当触发用户选择节点时,对话框隐藏,对话进入“交互状态”
![](../../../../../public/imgs/user-selection3.png)
![](/imgs/user-selection3.png)
当用户做出选择时,节点会判断用户的选择,执行“是”的分支
......
......@@ -10,21 +10,21 @@ description: FastGPT Variable Update module overview
- Trigger-based execution
- Manual configuration
![](../../../../../public/imgs/variable_update1.png)
![](/imgs/variable_update1.png)
## Function
- Update the output value of a specified node
![](../../../../../public/imgs/variable_update2.png)
![](/imgs/variable_update2.png)
![](../../../../../public/imgs/variable_update3.png)
![](/imgs/variable_update3.png)
- Update global variables
![](../../../../../public/imgs/variable_update4.png)
![](/imgs/variable_update4.png)
![](../../../../../public/imgs/variable_update5.png)
![](/imgs/variable_update5.png)
## Use Cases
......
......@@ -10,21 +10,21 @@ description: FastGPT 变量更新模块介绍
- 触发执行
- 手动配置
![](../../../../../public/imgs/variable_update1.png)
![](/imgs/variable_update1.png)
## 功能
- 更新指定节点的输出值
![](../../../../../public/imgs/variable_update2.png)
![](/imgs/variable_update2.png)
![](../../../../../public/imgs/variable_update3.png)
![](/imgs/variable_update3.png)
- 更新全局变量
![](../../../../../public/imgs/variable_update4.png)
![](/imgs/variable_update4.png)
![](../../../../../public/imgs/variable_update5.png)
![](/imgs/variable_update5.png)
## 作用
......
......@@ -5,7 +5,7 @@ description: How to embed HTML code blocks in FastGPT via Markdown, with fullscr
| Source Mode | Preview Mode | Fullscreen Mode |
| --- | --- | --- |
| ![](../../../../public/imgs/htmlRendering1.png) | ![](../../../../public/imgs/htmlRendering2.png) | ![](../../../../public/imgs/htmlRendering3.png) |
| ![](/imgs/htmlRendering1.png) | ![](/imgs/htmlRendering2.png) | ![](/imgs/htmlRendering3.png) |
### 1. Design Background
......
......@@ -5,7 +5,7 @@ description: 如何在FastGPT中通过Markdown嵌入HTML代码块,并提供全
| 源码模式 | 预览模式 | 全屏模式 |
| --- | --- | --- |
| ![](../../../../public/imgs/htmlRendering1.png) | ![](../../../../public/imgs/htmlRendering2.png) | ![](../../../../public/imgs/htmlRendering3.png) |
| ![](/imgs/htmlRendering1.png) | ![](/imgs/htmlRendering2.png) | ![](/imgs/htmlRendering3.png) |
### 1. **设计背景**
......
{
"title": "Dialog Boxes",
"description": "Dialog box components that support multiple interaction methods to enhance user experience in applications.",
"title": "Chat Box",
"root": false,
"pages": [
"htmlRendering",
"quoteList"
......
{
"title": "对话框",
"root": false,
"pages": [
"htmlRendering",
"quoteList"
]
}
......@@ -15,13 +15,13 @@ Previously, after uploading documents to the knowledge base, traditional citatio
| Question | Citation |
| --- | --- |
| ![](../../../../public/imgs/chunkReader1.png) | ![](../../../../public/imgs/chunkReader2.jpg) |
| ![](/imgs/chunkReader1.png) | ![](/imgs/chunkReader2.jpg) |
## FastGPT Chunk Reader: Precise Positioning, Seamless Reading
With FastGPT's Chunk Reader, the same knowledge base content and questions are presented in a fundamentally better way:
![](../../../../public/imgs/chunkReader4.jpg)
![](/imgs/chunkReader4.jpg)
When AI cites knowledge base content, click the citation link to open a popup showing the full original text with the cited passage clearly highlighted. This ensures traceability while providing a convenient reading experience.
......@@ -35,25 +35,25 @@ In the conversation interface, when AI cites knowledge base content, source info
This design ensures answer traceability and makes it easy to verify AI accuracy and review surrounding context.
![](../../../../public/imgs/chunkReader3.webp)
![](/imgs/chunkReader3.webp)
## Citation Navigation
The top-right corner of the Chunk Reader provides simple navigation controls for switching between multiple citations. The navigation area displays the current citation index and total count (e.g., "7/10"), so you always know your browsing progress.
![](../../../../public/imgs/chunkReader5.jpg)
![](/imgs/chunkReader5.jpg)
## Citation Quality Scoring
Each citation includes a relevance score label showing its ranking among all matched knowledge fragments. Hover over the label to see full scoring details, including why the citation was selected and how its relevance score breaks down.
![](../../../../public/imgs/chunkReader6.png)
![](/imgs/chunkReader6.png)
## One-Click Document Export
The Chunk Reader includes a content export feature so valuable information is never lost. Users with read access to the knowledge base can save the full cited document to their local device with a single click.
![](../../../../public/imgs/chunkReader7.jpg)
![](/imgs/chunkReader7.jpg)
# Advanced Features
......@@ -65,7 +65,7 @@ When set to "citation content only," external users clicking a citation link wil
| | |
| --- | --- |
| ![](../../../../public/imgs/chunkReader8.png) | ![](../../../../public/imgs/chunkReader9.jpg) |
| ![](/imgs/chunkReader8.png) | ![](/imgs/chunkReader9.jpg) |
## Instant Annotation
......
......@@ -14,13 +14,13 @@ description: FastGPT 分块阅读器功能介绍
| 问题 | 引用 |
| --- | --- |
| ![](../../../../public/imgs/chunkReader1.png) | ![](../../../../public/imgs/chunkReader2.jpg) |
| ![](/imgs/chunkReader1.png) | ![](/imgs/chunkReader2.jpg) |
## FastGPT 分块阅读器:精准定位,无缝阅读
而在 FastGPT 全新的分块式阅读器中,同样的知识库内容和问题,呈现方式发生了质的飞跃
![](../../../../public/imgs/chunkReader4.jpg)
![](/imgs/chunkReader4.jpg)
当 AI 引用知识库内容时,用户只需点击引用链接,即可打开一个浮窗,呈现完整的原文内容,并通过醒目的高亮标记精确显示引用的文本片段。这既保证了回答的可溯源性,又提供了便捷的原文查阅体验。
......@@ -34,27 +34,27 @@ description: FastGPT 分块阅读器功能介绍
这一设计既保证了回答的可溯源性,又提供了便捷的原文查阅体验,让用户能轻松验证AI回答的准确性和相关上下文。
![](../../../../public/imgs/chunkReader3.webp)
![](/imgs/chunkReader3.webp)
## 便捷引用导航
分块阅读器右上角设计了简洁实用的导航控制,用户可以通过这对按钮轻松在多个引用间切换浏览。导航区还直观显示当前查看的引用序号及总引用数量(如 "7/10"),帮助用户随时了解浏览进度和引用内容的整体规模。
![](../../../../public/imgs/chunkReader5.jpg)
![](/imgs/chunkReader5.jpg)
## 引用质量评分
每条引用内容旁边都配有智能评分标签,直观展示该引用在所有知识片段中的相关性排名。用户只需将鼠标悬停在评分标签上,即可查看完整的评分详情,了解这段引用内容为何被AI选中以及其相关性的具体构成。
![](../../../../public/imgs/chunkReader6.png)
![](/imgs/chunkReader6.png)
## 文档内容一键导出
分块阅读器贴心配备了内容导出功能,让有效信息不再流失。只要用户拥有相应知识库的阅读权限,便可通过简单点击将引用涉及的全文直接保存到本地设备。
![](../../../../public/imgs/chunkReader7.jpg)
![](/imgs/chunkReader7.jpg)
# 进阶特性
......@@ -66,7 +66,7 @@ FastGPT提供灵活的引用可见度设置,让知识共享既开放又安全
| | |
| --- | --- |
| ![](../../../../public/imgs/chunkReader8.png) | ![](../../../../public/imgs/chunkReader9.jpg) |
| ![](/imgs/chunkReader8.png) | ![](/imgs/chunkReader9.jpg) |
## 即时标注优化
......
......@@ -9,7 +9,7 @@ You can also use tags as collection filters during knowledge base searches for m
| | | |
| --------------------- | --------------------- | --------------------- |
| ![](../../../../public/imgs/collection-tags-1.png) | ![](../../../../public/imgs/collection-tags-2.png) | ![](../../../../public/imgs/collection-tags-3.png) |
| ![](/imgs/collection-tags-1.png) | ![](/imgs/collection-tags-2.png) | ![](/imgs/collection-tags-3.png) |
## Basic Tag Operations
......
......@@ -9,7 +9,7 @@ description: FastGPT 知识库集合标签使用说明
| | | |
| --------------------- | --------------------- | --------------------- |
| ![](../../../../public/imgs/collection-tags-1.png) | ![](../../../../public/imgs/collection-tags-2.png) | ![](../../../../public/imgs/collection-tags-3.png) |
| ![](/imgs/collection-tags-1.png) | ![](/imgs/collection-tags-2.png) | ![](/imgs/collection-tags-3.png) |
## 标签基础操作说明
......
......@@ -34,7 +34,7 @@ Retriever precision is relatively straightforward to address, and training vecto
In FastGPT, a knowledge base consists of three parts: libraries, collections, and data entries. A collection can be thought of as a "file." A library can contain multiple collections, and a collection can contain multiple data entries. The smallest searchable unit is the library — searches span the entire library. Collections are only for organizing and managing data and do not affect search results (at least for now).
![](../../../../public/imgs/dataset_tree.png)
![](/imgs/dataset_tree.png)
### Vector Storage Structure
......@@ -44,7 +44,7 @@ In `MongoDB`'s `dataset.datas` collection, vector source data is stored along wi
In `PostgreSQL`, a `vector` field stores the vectors. During search, vectors are recalled first, then their IDs are used to look up the original data in `MongoDB`. If multiple vectors map to the same source data, they are merged and the highest vector score is used.
![](../../../../public/imgs/datasetSetting1.png)
![](/imgs/datasetSetting1.png)
### Purpose and Usage of Multi-Vector Mapping
......@@ -61,13 +61,13 @@ This means you can continuously improve data chunk accuracy through annotation.
3. Use `RRF` (Reciprocal Rank Fusion) to merge results from multiple search channels.
4. Use `Rerank` for secondary sorting to improve precision.
![](../../../../public/imgs/dataset_search_process.png)
![](/imgs/dataset_search_process.png)
## Search Parameters
| | | |
| --- |---| --- |
|![](../../../../public/imgs/dataset_search_params1.png)| ![](../../../../public/imgs/dataset_search_params2.png) | ![](../../../../public/imgs/dataset_search_params3.png) |
|![](/imgs/dataset_search_params1.png)| ![](/imgs/dataset_search_params2.png) | ![](/imgs/dataset_search_params3.png) |
### Search Modes
......@@ -123,11 +123,11 @@ In RAG, we need to perform embedding searches against the database based on the
During search — especially in multi-turn conversations — follow-up questions often fail to find relevant content because knowledge base search only uses the "current" question. Consider this example:
![](../../../../public/imgs/coreferenceResolution2.webp)
![](/imgs/coreferenceResolution2.webp)
When the user asks "What's the second point?", the system searches for "What's the second point?" in the knowledge base, which returns nothing useful. The actual query should be "What is the QA structure?". This is why we need a Query Optimization module to complete the user's current question, enabling the knowledge base search to find relevant content. Here's the result after optimization:
![](../../../../public/imgs/coreferenceResolution3.webp)
![](/imgs/coreferenceResolution3.webp)
#### How It Works
......
......@@ -34,7 +34,7 @@ FastGPT 采用了 RAG 中的 Embedding 方案构建知识库,要使用好 Fast
在 FastGPT 中,整个知识库由库、集合和数据 3 部分组成。集合可以简单理解为一个`文件`。一个`库`中可以包含多个`集合`,一个`集合`中可以包含多组`数据`。最小的搜索单位是`库`,也就是说,知识库搜索时,是对整个`库`进行搜索,而集合仅是为了对数据进行分类管理,与搜索效果无关。(起码目前还是)
![](../../../../public/imgs/dataset_tree.png)
![](/imgs/dataset_tree.png)
### 向量存储结构
......@@ -44,7 +44,7 @@ FastGPT 采用了`PostgresSQL`的`PG Vector`插件作为向量检索器,索引
在`PostgresSQL`的表中,设置一个`vector`字段用于存储向量。在检索时,会先召回向量,再根据向量的ID,去`MongoDB`中寻找原数据内容,如果对应了同一组原数据,则进行合并,向量得分取最高得分。
![](../../../../public/imgs/datasetSetting1.png)
![](/imgs/datasetSetting1.png)
### 多向量的目的和使用方式
......@@ -61,13 +61,13 @@ FastGPT 采用了`PostgresSQL`的`PG Vector`插件作为向量检索器,索引
3. 通过`RRF`合并方式,综合多个渠道的检索效果。
4. 通过`Rerank`来二次排序,提高精度。
![](../../../../public/imgs/dataset_search_process.png)
![](/imgs/dataset_search_process.png)
## 搜索参数
| | | |
| --- |---| --- |
|![](../../../../public/imgs/dataset_search_params1.png)| ![](../../../../public/imgs/dataset_search_params2.png) | ![](../../../../public/imgs/dataset_search_params3.png) |
|![](/imgs/dataset_search_params1.png)| ![](/imgs/dataset_search_params2.png) | ![](/imgs/dataset_search_params3.png) |
### 搜索模式
......@@ -123,11 +123,11 @@ FastGPT 会使用 `RRF` 对重排结果、向量搜索结果、全文检索结
在搜索的过程中,尤其是连续对话的搜索,我们通常会发现后续的问题难以搜索到合适的内容,其中一个原因是知识库搜索只会使用“当前”的问题去执行。看下面的例子:
![](../../../../public/imgs/coreferenceResolution2.webp)
![](/imgs/coreferenceResolution2.webp)
用户在提问“第二点是什么”的时候,只会去知识库里查找“第二点是什么”,压根查不到内容。实际上需要查询的是“QA结构是什么”。因此我们需要引入一个【问题优化】模块,来对用户当前的问题进行补全,从而使得知识库搜索能够搜索到合适的内容。使用补全后效果如下:
![](../../../../public/imgs/coreferenceResolution3.webp)
![](/imgs/coreferenceResolution3.webp)
#### 实现方式
......
{
"title": "Knowledge Base",
"description": "Basic principles of knowledge base, search solutions, web site synchronization, and usage methods for external file knowledge bases.",
"root": false,
"pages": [
"rag",
"dataset_engine",
"collection_tags",
"api_dataset",
"lark_dataset",
"yuque_dataset",
"dingtalk_dataset",
"websync",
"third_dataset",
"third-party",
"template"
]
}
{
"title": "知识库",
"description": "知识库的基础原理、搜索方案、Web站点同步和外部文件知识库的使用方法。",
"root": false,
"pages": [
"rag",
"dataset_engine",
"collection_tags",
"api_dataset",
"lark_dataset",
"yuque_dataset",
"dingtalk_dataset",
"websync",
"third_dataset",
"third-party",
"template"
]
}
......@@ -179,7 +179,7 @@ The generator produces natural language answers based on retrieved context. Accu
## 5.5 RAG Pipeline
![](../../../../public/imgs/RAG1.png)
![](/imgs/RAG1.png)
1. Data loading and query input:
1. The user submits a natural language query through the UI or API.
......@@ -208,7 +208,7 @@ RAG models have been widely adopted across multiple domains:
- RAG generates accurate, detailed answers by retrieving from external knowledge bases in real time, avoiding the hallucination issues of traditional generative models. For example, in medical Q&A systems, RAG can incorporate the latest medical literature to generate answers with current treatment protocols, helping medical professionals quickly access the latest research and clinical recommendations.
- [Medical Q&A System Case Study](https://www.apexon.com/blog/empowering-discovery-the-role-of-rag-architecture-generative-ai-in-healthcare-life-sciences/)
- ![](../../../../public/imgs/RAG2.png)
- ![](/imgs/RAG2.png)
- User submits a query through the web application:
1. The user enters a query in the web app, which enters the backend system and initiates the data processing pipeline.
- Authentication via Azure AD:
......@@ -234,7 +234,7 @@ RAG models have been widely adopted across multiple domains:
- Summary:
- Background: Traditional LLMs perform well in generation tasks but have limitations with complex legal tasks. Legal documents have unique structures and terminology that standard retrieval benchmarks often fail to capture. LegalBench-RAG aims to provide a dedicated benchmark for evaluating legal document retrieval.
- LegalBench-RAG structure:
1. ![](../../../../public/imgs/RAG3.png)
1. ![](/imgs/RAG3.png)
2. Workflow:
3. User inputs a question (Q: ?, A: ?): The user submits a query through the interface.
4. Embed + Retrieve module: Receives the query, embeds it as a vector, and performs similarity search in external knowledge bases or documents.
......
......@@ -244,7 +244,7 @@ RAG模型的数据分块与内容管理是优化检索与生成流程的关键
## 5.5 RAG流程
![](../../../../public/imgs/RAG1.png)
![](/imgs/RAG1.png)
1. 数据加载与查询输入:
1. 用户通过界面或API提交自然语言查询,系统接收查询作为输入。
......@@ -273,7 +273,7 @@ RAG模型已在多个领域得到广泛应用,主要包括:
- RAG通过实时检索外部知识库,生成包含准确且详细的答案,避免传统生成模型可能产生的错误信息。例如,在医疗问答系统中,RAG能够结合最新的医学文献,生成包含最新治疗方案的准确答案,避免生成模型提供过时或错误的建议。这种方法帮助医疗专家快速获得最新的研究成果和诊疗建议,提升医疗决策的质量。
- [医疗问答系统案例](https://www.apexon.com/blog/empowering-discovery-the-role-of-rag-architecture-generative-ai-in-healthcare-life-sciences/)
- ![](../../../../public/imgs/RAG2.png)
- ![](/imgs/RAG2.png)
- 用户通过Web应用程序发起查询:
1. 用户在一个Web应用上输入查询请求,这个请求进入后端系统,启动了整个数据处理流程。
- 使用Azure AD进行身份验证:
......@@ -299,7 +299,7 @@ RAG模型已在多个领域得到广泛应用,主要包括:
- 内容总结:
- 背景: 传统的大语言模型 (LLMs) 在生成任务中表现优异,但在处理法律领域中的复杂任务时存在局限。法律文档具有独特的结构和术语,标准的检索评估基准往往无法充分捕捉这些领域特有的复杂性。为了弥补这一不足,LegalBench-RAG 旨在提供一个评估法律文档检索效果的专用基准。
- LegalBench-RAG 的结构:
1. ![](../../../../public/imgs/RAG3.png)
1. ![](/imgs/RAG3.png)
2. 工作流程:
3. 用户输入问题(Q: ?,A: ?):用户通过界面输入查询问题,提出需要答案的具体问题。
4. 嵌入与检索模块(Embed + Retrieve):该模块接收到用户的查询后,会对问题进行嵌入(将其转化为向量),并在外部知识库或文档中执行相似度检索。通过检索算法,系统找到与查询相关的文档片段或信息。
......
......@@ -28,9 +28,9 @@ q,a,indexes
### 1. Open the Knowledge Base, Click Import, and Select Template Import
![](../../../../public/imgs/template/import.png)
![](/imgs/template/import.png)
![](../../../../public/imgs/template/box.png)
![](/imgs/template/box.png)
### 2. Download the Template
......@@ -38,21 +38,21 @@ Click to download the CSV template. It contains two content modes:
#### Standard Mode Template
![](../../../../public/imgs/template/nomal.png)
![](/imgs/template/nomal.png)
Corresponding CSV format:
![](../../../../public/imgs/template/nomal_data.png)
![](/imgs/template/nomal_data.png)
In standard mode, q is the content, a is empty, and indexes can have multiple entries.
#### Q&A Pair Mode Template
![](../../../../public/imgs/template/Question-answer.png)
![](/imgs/template/Question-answer.png)
Corresponding CSV format:
![](../../../../public/imgs/template/Question-answer_data.png)
![](/imgs/template/Question-answer_data.png)
In Q&A pair mode, q is the question, a is the answer, and indexes are the index entries.
......@@ -72,7 +72,7 @@ Fill in your Q&A data following the template format:
After a successful import:
![](../../../../public/imgs/template/import_csv.png)
![](/imgs/template/import_csv.png)
### 4. Important Notes
......
......@@ -28,9 +28,9 @@ q,a,indexes
### 1. 打开知识库,点击导入,选择模版导入
![](../../../../public/imgs/template/import.png)
![](/imgs/template/import.png)
![](../../../../public/imgs/template/box.png)
![](/imgs/template/box.png)
### 2. 下载模板
......@@ -38,21 +38,21 @@ q,a,indexes
#### 常规模式的数据模版
![](../../../../public/imgs/template/nomal.png)
![](/imgs/template/nomal.png)
对应 CSV 格式为
![](../../../../public/imgs/template/nomal_data.png)
![](/imgs/template/nomal_data.png)
常规模式下,q为内容,a为空,indexes可多个
#### 问答对的数据模版
![](../../../../public/imgs/template/Question-answer.png)
![](/imgs/template/Question-answer.png)
对应CSV格式为
![](../../../../public/imgs/template/Question-answer_data.png)
![](/imgs/template/Question-answer_data.png)
问答对模式下,q为问题,a为答案,indexes即为索引部分
......@@ -72,7 +72,7 @@ q,a,indexes
成功导入后如下:
![](../../../../public/imgs/template/import_csv.png)
![](/imgs/template/import_csv.png)
### 4. 注意事项
......
......@@ -7,7 +7,7 @@ import { Alert } from '@/components/docs/Alert';
| | |
| --- | --- |
| ![](../../../../public/imgs/image-18.png) | ![](../../../../public/imgs/image-19.png) |
| ![](/imgs/image-18.png) | ![](/imgs/image-19.png) |
## Background
......
......@@ -7,7 +7,7 @@ import { Alert } from '@/components/docs/Alert';
| | |
| --- | --- |
| ![](../../../../public/imgs/image-18.png) | ![](../../../../public/imgs/image-19.png) |
| ![](/imgs/image-18.png) | ![](/imgs/image-19.png) |
## 背景
......
......@@ -9,7 +9,7 @@ Only DingTalk online document text is supported. Binary files such as PDF, Word,
## 1. Create a DingTalk app
![Create a DingTalk app](../../../../public/imgs/image-dd3.png)
![Create a DingTalk app](/imgs/image-dd3.png)
Open the [DingTalk developer app page](https://open-dev.dingtalk.com/fe/app?hash=%23%2Fcorp%2Fapp#/corp/app), then select an internal enterprise app under the target organization.
......@@ -17,7 +17,7 @@ If you do not have an app yet, create an internal enterprise app from `Applicati
## 2. Get the FastGPT fields
![Get App Key and App Secret](../../../../public/imgs/image-dd4.png)
![Get App Key and App Secret](/imgs/image-dd4.png)
| FastGPT field | Where to get it in DingTalk |
| --- | --- |
......@@ -35,7 +35,7 @@ Notes:
## 3. Enable DingTalk app permissions
![Enable DingTalk app permissions](../../../../public/imgs/image-dd5.png)
![Enable DingTalk app permissions](/imgs/image-dd5.png)
Open `Permissions` in the DingTalk app detail page, then search for and enable:
......
......@@ -5,7 +5,7 @@ description: FastGPT 钉钉知识库功能介绍和使用方式
| | |
| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
| ![alt text](../../../../public/imgs/image-dd1.png) | ![alt text](../../../../public/imgs/image-dd2.png) |
| ![alt text](/imgs/image-dd1.png) | ![alt text](/imgs/image-dd2.png) |
FastGPT 支持通过钉钉企业内部应用接入钉钉知识库。创建时只需要填写 `App Key`、`App Secret`、`User ID`,创建完成后进入知识库详情页点击`添加文件`,再选择要导入的钉钉知识库、在线文档或文件夹。
......@@ -13,7 +13,7 @@ FastGPT 支持通过钉钉企业内部应用接入钉钉知识库。创建时只
## 1. 创建钉钉应用
![创建钉钉应用](../../../../public/imgs/image-dd3.png)
![创建钉钉应用](/imgs/image-dd3.png)
打开 [钉钉开发者后台应用详情](https://open-dev.dingtalk.com/fe/app?hash=%23%2Fcorp%2Fapp#/corp/app),选择目标企业下的企业内部应用。
......@@ -21,7 +21,7 @@ FastGPT 支持通过钉钉企业内部应用接入钉钉知识库。创建时只
## 2. 获取 FastGPT 要填写的参数
![获取 App Key 和 App Secret](../../../../public/imgs/image-dd4.png)
![获取 App Key 和 App Secret](/imgs/image-dd4.png)
| FastGPT 字段 | 钉钉里去哪里拿 |
| --- | --- |
......@@ -39,7 +39,7 @@ FastGPT 支持通过钉钉企业内部应用接入钉钉知识库。创建时只
## 3. 配置钉钉应用权限
![配置钉钉应用权限](../../../../public/imgs/image-dd5.png)
![配置钉钉应用权限](/imgs/image-dd5.png)
在钉钉应用详情页左侧进入`权限管理`,搜索并开通以下权限:
......
......@@ -5,7 +5,7 @@ description: Introduction and usage of the FastGPT Lark Knowledge Base
| | |
| --- | --- |
| ![alt text](../../../../public/imgs/image-39.png) | ![alt text](../../../../public/imgs/image-40.png) |
| ![alt text](/imgs/image-39.png) | ![alt text](/imgs/image-40.png) |
Starting from FastGPT v4.8.16, commercial edition users can import from Lark knowledge bases. Configure a Lark app's appId and appSecret, then select a **top-level folder in a document space** to import. This feature is currently in beta — some interactions may still need refinement.
......@@ -26,11 +26,11 @@ After creating the app, configure the following **3 permissions**:
2. View new-format documents
3. View, comment, edit, and manage all files in the cloud space
![alt text](../../../../public/imgs/image-41.png)
![alt text](/imgs/image-41.png)
## 3. Get the appId and appSecret
![alt text](../../../../public/imgs/image-42.png)
![alt text](/imgs/image-42.png)
## 4. Grant Folder Permissions
......@@ -43,16 +43,16 @@ In summary:
If your directory already has permissions granted to the "All Members" group, you can skip the steps above and go directly to getting the Folder Token.
![alt text](../../../../public/imgs/image-43.png)
![alt text](/imgs/image-43.png)
## 5. Get the Folder Token
You can find the Folder Token in the page URL. Make sure not to include the question mark.
![alt text](../../../../public/imgs/image-44.png)
![alt text](/imgs/image-44.png)
## 6. Create the Knowledge Base
Using the 3 parameters obtained from steps 3 and 5, create a knowledge base. Select the Lark file library type, fill in the parameters, and click Create.
![alt text](../../../../public/imgs/image-39.png)
![alt text](/imgs/image-39.png)
......@@ -5,7 +5,7 @@ description: FastGPT 飞书知识库功能介绍和使用方式
| | |
| --- | --- |
| ![alt text](../../../../public/imgs/image-39.png) | ![alt text](../../../../public/imgs/image-40.png) |
| ![alt text](/imgs/image-39.png) | ![alt text](/imgs/image-40.png) |
FastGPT v4.8.16 版本开始,商业版用户支持飞书知识库导入,用户可以通过配置飞书应用的 appId 和 appSecret,并选中一个**文档空间的顶层文件夹**来导入飞书知识库。目前处于测试阶段,部分交互有待优化。
......@@ -26,11 +26,11 @@ FastGPT v4.8.16 版本开始,商业版用户支持飞书知识库导入,用
2. 查看新版文档
3. 查看、评论、编辑和管理云空间中所有文件
![alt text](../../../../public/imgs/image-41.png)
![alt text](/imgs/image-41.png)
## 3. 获取 appId 和 appSecret
![alt text](../../../../public/imgs/image-42.png)
![alt text](/imgs/image-42.png)
## 4. 给 Folder 增加权限
......@@ -43,16 +43,16 @@ FastGPT v4.8.16 版本开始,商业版用户支持飞书知识库导入,用
如果你的目录已经给全员组增加权限了,则可以跳过上面步骤,直接获取 Folder Token。
![alt text](../../../../public/imgs/image-43.png)
![alt text](/imgs/image-43.png)
## 5. 获取 Folder Token
可以页面路径上获取 Folder Token,注意不要把问号复制进来。
![alt text](../../../../public/imgs/image-44.png)
![alt text](/imgs/image-44.png)
## 6. 创建知识库
根据 3 和 5 获取到的 3 个参数,创建知识库,选择飞书文件库类型,然后填入对应的参数,点击创建。
![alt text](../../../../public/imgs/image-39.png)
![alt text](/imgs/image-39.png)
{
"title": "Third-party Knowledge Base",
"description": "API, Lark, Yuque, DingTalk, and custom third-party knowledge base guides.",
"pages": ["api_dataset", "lark_dataset", "yuque_dataset", "dingtalk_dataset", "third_dataset"]
}
{
"title": "第三方知识库",
"description": "API、飞书、语雀、钉钉及第三方知识库开发说明。",
"pages": ["api_dataset", "lark_dataset", "yuque_dataset", "dingtalk_dataset", "third_dataset"]
}
---
title: Third-Party Knowledge Base Development
description: How to integrate a third-party knowledge base with FastGPT
sidebarTag: DEV
---
import { Alert } from '@/components/docs/Alert';
......@@ -41,7 +42,7 @@ If the document library supports a `root directory` selection feature, add a `ba
</Alert>
![](../../../../public/imgs/thirddataset-1.png)
![](/imgs/thirddataset-1.png)
### 2. Create the Hook File
......@@ -59,29 +60,29 @@ Each third-party document library uses a Hook pattern to maintain a set of API e
In `FastGPT\packages\global\core\dataset\type.d.ts`, import your new knowledge base type.
![](../../../../public/imgs/thirddataset-2.png)
![](/imgs/thirddataset-2.png)
### 4. Add Knowledge Base Data Retrieval
In `FastGPT\packages\global\core\dataset\apiDataset\utils.ts`, add the following content.
![](../../../../public/imgs/thirddataset-3.png)
![](/imgs/thirddataset-3.png)
### 5. Add Knowledge Base Invocation Method
In `FastGPT\packages\service\core\dataset\apiDataset\index.ts`, add the following content.
![](../../../../public/imgs/thirddataset-4.png)
![](/imgs/thirddataset-4.png)
## Adding the Frontend
Add your i18n translations in `FastGPT\packages\web\i18n\zh-CN\dataset.json`, `FastGPT\packages\web\i18n\en\dataset.json`, and `FastGPT\packages\web\i18n\zh-Hant\dataset.json`. Using Chinese translations as an example, you'll generally need the following:
![](../../../../public/imgs/thirddataset-5.png)
![](/imgs/thirddataset-5.png)
In `FastGPT\packages\service\support\user/audit\util.ts`, add the following to support i18n translation retrieval.
![](../../../../public/imgs/thirddataset-6.png)
![](/imgs/thirddataset-6.png)
<Alert icon="🤖" context="success">
......@@ -91,23 +92,23 @@ The i18n translation content is stored in `FastGPT\packages\web\i18n\zh-Hant\acc
Add your knowledge base icons under `FastGPT\packages\web\components\common\Icon\icons\core\dataset\`. You need two icons: `Outline` (monochrome) and `Color` (colored), as shown below.
![](../../../../public/imgs/thirddataset-7.png)
![](/imgs/thirddataset-7.png)
In `FastGPT\packages\web\components\common\Icon\constants.ts`, register your icons. The `import` path points to where the icons are stored.
![](../../../../public/imgs/thirddataset-8.png)
![](/imgs/thirddataset-8.png)
In `FastGPT\packages\global\core\dataset\constants.ts`, add your knowledge base type to both `DatasetTypeEnum` and `ApiDatasetTypeMap`.
| | |
| --- | --- |
| ![](../../../../public/imgs/thirddataset-9.png) | ![](../../../../public/imgs/thirddataset-10.png) |
| ![](/imgs/thirddataset-9.png) | ![](/imgs/thirddataset-10.png) |
<Alert icon="🤖" context="success">
The `courseUrl` field links to the relevant documentation — add it if available.
Documentation goes in `FastGPT/document/content/introduction/guide/dashboard/workflow/knowledge_base_search_merge.mdx`.
Documentation goes in `FastGPT/document/content/guide/build/workflow/nodes/knowledge_base_search_merge.mdx`.
The `label` value is the knowledge base name you added via i18n translations.
`icon` and `avatar` are the two icons you added earlier.
......@@ -115,13 +116,13 @@ The `label` value is the knowledge base name you added via i18n translations.
In `FastGPT\projects\app\src\pages\dataset\list\index.tsx`, add the following. This file handles the menu that appears when clicking the "New" button on the knowledge base list page. Your knowledge base must be added here to be creatable.
![](../../../../public/imgs/thirddataset-11.png)
![](/imgs/thirddataset-11.png)
In `FastGPT\projects\app\src\pageComponents\dataset\detail\Info\index.tsx`, add the following. This configuration corresponds to the UI shown below.
| | |
| --- | --- |
![](../../../../public/imgs/thirddataset-12.png)|![](../../../../public/imgs/thirddataset-13.png)
![](/imgs/thirddataset-12.png)|![](/imgs/thirddataset-13.png)
## Adding the Configuration Form
......@@ -129,7 +130,7 @@ In `FastGPT\projects\app\src\pageComponents\dataset\ApiDatasetForm.tsx`, add the
| | | |
| --- | --- | --- |
| ![](../../../../public/imgs/thirddataset-14.png) | ![](../../../../public/imgs/thirddataset-15.png) | ![](../../../../public/imgs/thirddataset-16.png) |
| ![](/imgs/thirddataset-14.png) | ![](/imgs/thirddataset-15.png) | ![](/imgs/thirddataset-16.png) |
The two components added in the code render the root directory selector, corresponding to the `getFileDetail` API method. If your knowledge base doesn't support this, you can omit them.
......@@ -140,7 +141,7 @@ The two components added in the code render the root directory selector, corresp
| | |
| --- | --- |
| ![](../../../../public/imgs/thirddataset-17.png) | ![](../../../../public/imgs/thirddataset-18.png) |
| ![](/imgs/thirddataset-17.png) | ![](/imgs/thirddataset-18.png) |
If the knowledge base needs root directory support, also add the following in the `ApiDatasetForm` file.
......@@ -148,19 +149,19 @@ If the knowledge base needs root directory support, also add the following in th
Parse your knowledge base type from `apiDatasetServer`, as shown:
![](../../../../public/imgs/thirddataset-19.png)
![](/imgs/thirddataset-19.png)
### 2. Add Root Directory Selection Logic and `parentId` Assignment
Add root directory selection logic to ensure the user has filled in all required fields for the API methods, such as the Token.
![](../../../../public/imgs/thirddataset-20.png)
![](/imgs/thirddataset-20.png)
### 3. Add Field Validation and Assignment Logic
Verify that all required fields are present before calling the API, and assign the root directory value to the corresponding field after selection.
![](../../../../public/imgs/thirddataset-21.png)
![](/imgs/thirddataset-21.png)
## Tips
......
---
title: 第三方知识库开发
description: 本节详细介绍如何在FastGPT上自己接入第三方知识库
sidebarTag: DEV
---
import { Alert } from '@/components/docs/Alert';
......@@ -41,7 +42,7 @@ export type YuqueServer = {
</Alert>
![](../../../../public/imgs/thirddataset-1.png)
![](/imgs/thirddataset-1.png)
### 2. 创建 Hook 文件
......@@ -59,29 +60,29 @@ export type YuqueServer = {
在`FastGPT\packages\global\core\dataset\type.d.ts`文件中,导入自己创建的知识库类型。
![](../../../../public/imgs/thirddataset-2.png)
![](/imgs/thirddataset-2.png)
### 4. 添加知识库数据获取
在`FastGPT\packages\global\core\dataset\apiDataset\utils.ts`文件中,添加如下内容。
![](../../../../public/imgs/thirddataset-3.png)
![](/imgs/thirddataset-3.png)
### 5. 添加知识库调用方法
在`FastGPT\packages\service\core\dataset\apiDataset\index.ts`文件下,添加如下内容。
![](../../../../public/imgs/thirddataset-4.png)
![](/imgs/thirddataset-4.png)
## 添加前端
`FastGPT\packages\web\i18n\zh-CN\dataset.json`,`FastGPT\packages\web\i18n\en\dataset.json`和`FastGPT\packages\web\i18n\zh-Hant\dataset.json`中添加自己的 I18n 翻译,以中文翻译为例,大体需要如下几个内容:
![](../../../../public/imgs/thirddataset-5.png)
![](/imgs/thirddataset-5.png)
`FastGPT\packages\service\support\user/audit\util.ts`文件下添加如下内容,以支持获取 I18n 翻译。
![](../../../../public/imgs/thirddataset-6.png)
![](/imgs/thirddataset-6.png)
<Alert icon="🤖" context="success">
......@@ -91,23 +92,23 @@ export type YuqueServer = {
`FastGPT\packages\web\components\common\Icon\icons\core\dataset\`添加自己的知识库图标,一共是两个,分为`Outline`和`Color`,分别是有颜色的和无色的,具体看如下图片。
![](../../../../public/imgs/thirddataset-7.png)
![](/imgs/thirddataset-7.png)
在`FastGPT\packages\web\components\common\Icon\constants.ts`文件中,添加自己的图标。 `import` 是图标的存放路径。
![](../../../../public/imgs/thirddataset-8.png)
![](/imgs/thirddataset-8.png)
在`FastGPT\packages\global\core\dataset\constants.ts`中,添加自己的知识库类型,分别要在`DatasetTypeEnum`和`ApiDatasetTypeMap`中添加内容。
| | |
| --- | --- |
| ![](../../../../public/imgs/thirddataset-9.png) | ![](../../../../public/imgs/thirddataset-10.png) |
| ![](/imgs/thirddataset-9.png) | ![](/imgs/thirddataset-10.png) |
<Alert icon="🤖" context="success">
`courseUrl`字段是相应的文档说明,如果有的话,可以添加。
文档添加在`FastGPT/document/content/introduction/guide/dashboard/workflow/knowledge_base_search_merge.mdx`
文档添加在`FastGPT/document/content/guide/build/workflow/nodes/knowledge_base_search_merge.mdx`
`label`内容是自己之前通过 i18n 翻译添加的知识库名称的。
`icon`和`avatar`是自己之前添加的两个图标
......@@ -115,13 +116,13 @@ export type YuqueServer = {
在`FastGPT\projects\app\src\pages\dataset\list\index.tsx`文件下,添加如下内容。这个文件负责的是知识库列表页的`新建`按钮点击后的菜单,只有在该文件添加知识库后,才能创建知识库。
![](../../../../public/imgs/thirddataset-11.png)
![](/imgs/thirddataset-11.png)
在`FastGPT\projects\app\src\pageComponents\dataset\detail\Info\index.tsx`文件下,添加如下内容。此处配置对应ui界面的如下。
| | |
| --- | --- |
![](../../../../public/imgs/thirddataset-12.png)|![](../../../../public/imgs/thirddataset-13.png)
![](/imgs/thirddataset-12.png)|![](/imgs/thirddataset-13.png)
## 添加配置表单
......@@ -129,7 +130,7 @@ export type YuqueServer = {
| | | |
| --- | --- | --- |
| ![](../../../../public/imgs/thirddataset-14.png) | ![](../../../../public/imgs/thirddataset-15.png) | ![](../../../../public/imgs/thirddataset-16.png) |
| ![](/imgs/thirddataset-14.png) | ![](/imgs/thirddataset-15.png) | ![](/imgs/thirddataset-16.png) |
代码中添加的两个组件是对根目录选择的渲染,对应设计的 api 的 getfiledetail 方法,如果你的知识库不支持,你可以不引用。
......@@ -140,7 +141,7 @@ export type YuqueServer = {
| | |
| --- | --- |
| ![](../../../../public/imgs/thirddataset-17.png) | ![](../../../../public/imgs/thirddataset-18.png) |
| ![](/imgs/thirddataset-17.png) | ![](/imgs/thirddataset-18.png) |
如果知识库需要支持根目录,还需要在`ApiDatasetForm`文件中添加如下内容。
......@@ -148,19 +149,19 @@ export type YuqueServer = {
需要从`apiDatasetServer`解析出自己的知识库类型,如图:
![](../../../../public/imgs/thirddataset-19.png)
![](/imgs/thirddataset-19.png)
### 2. 添加选择根目录逻辑和`parentId`赋值逻辑
需要添加根目录选择逻辑,来确保用户已经填写了调动的 api 方法所必需的字段,比如 Token 之类的。
![](../../../../public/imgs/thirddataset-20.png)
![](/imgs/thirddataset-20.png)
### 3. 添加字段检查和赋值逻辑
需要在调用方法前再次检测是否以及获取完所有必须字段,在选择根目录后,将根目录值赋值给对应的字段。
![](../../../../public/imgs/thirddataset-21.png)
![](/imgs/thirddataset-21.png)
## 提示
......
......@@ -5,7 +5,7 @@ description: Introduction and usage of the FastGPT Yuque File Library
| | |
| --- | --- |
| ![alt text](../../../../public/imgs/image-31.png) | ![alt text](../../../../public/imgs/image-32.png) |
| ![alt text](/imgs/image-31.png) | ![alt text](/imgs/image-32.png) |
Starting from FastGPT v4.8.16, commercial edition users can import from Yuque file libraries by configuring a Yuque token and uid. This feature is currently in beta — some interactions may still need refinement.
......@@ -13,7 +13,7 @@ Starting from FastGPT v4.8.16, commercial edition users can import from Yuque fi
Go to the Yuque homepage > click your avatar > Settings to find the relevant parameters.
![alt text](../../../../public/imgs/image-36.png)
![alt text](/imgs/image-36.png)
Follow the images below to get the Token and User ID. Make sure to assign the appropriate permissions to the Token:
......@@ -21,21 +21,21 @@ Follow the images below to get the Token and User ID. Make sure to assign the ap
| Get Token | Add Permissions | Get User ID |
| --- | --- | --- |
| ![alt text](../../../../public/imgs/image-33.png) | ![alt text](../../../../public/imgs/image-34.png) | ![alt text](../../../../public/imgs/image-35.png) |
| ![alt text](/imgs/image-33.png) | ![alt text](/imgs/image-34.png) | ![alt text](/imgs/image-35.png) |
**Enterprise Edition**:
| Get Token | Get User ID |
| --- | --- |
| ![alt text](../../../../public/imgs/image-109.png) | ![alt text](../../../../public/imgs/image-108.png) |
| ![alt text](/imgs/image-109.png) | ![alt text](/imgs/image-108.png) |
## 2. Create the Knowledge Base
Using the token and uid from the previous step, create a knowledge base. Select the Yuque file library type, fill in the parameters, and click Create.
![alt text](../../../../public/imgs/image-37.png)
![alt text](/imgs/image-37.png)
![alt text](../../../../public/imgs/image-31.png)
![alt text](/imgs/image-31.png)
## 3. Import Documents
......@@ -43,4 +43,4 @@ After creating the knowledge base, click `Add File` to import from your Yuque do
The Yuque knowledge base supports scheduled sync — it scans once daily at varying times. If documents have been updated, they will be synced automatically. You can also trigger a manual sync.
![alt text](../../../../public/imgs/image-38.png)
![alt text](/imgs/image-38.png)
......@@ -5,7 +5,7 @@ description: FastGPT 语雀文件库功能介绍和使用方式
| | |
| --- | --- |
| ![alt text](../../../../public/imgs/image-31.png) | ![alt text](../../../../public/imgs/image-32.png) |
| ![alt text](/imgs/image-31.png) | ![alt text](/imgs/image-32.png) |
FastGPT v4.8.16 版本开始,商业版用户支持语雀文件库导入,用户可以通过配置语雀的 token 和 uid 来导入语雀文档库。目前处于测试阶段,部分交互有待优化。
......@@ -13,7 +13,7 @@ FastGPT v4.8.16 版本开始,商业版用户支持语雀文件库导入,用
在语雀首页 - 个人头像 - 设置,可找到对应参数。
![alt text](../../../../public/imgs/image-36.png)
![alt text](/imgs/image-36.png)
参考下图获取 Token 和 User ID,注意给 Token 赋值权限:
......@@ -21,21 +21,21 @@ FastGPT v4.8.16 版本开始,商业版用户支持语雀文件库导入,用
| 获取 Token | 增加权限 | 获取 User ID |
| --- | --- | --- |
| ![alt text](../../../../public/imgs/image-33.png) | ![alt text](../../../../public/imgs/image-34.png) | ![alt text](../../../../public/imgs/image-35.png) |
| ![alt text](/imgs/image-33.png) | ![alt text](/imgs/image-34.png) | ![alt text](/imgs/image-35.png) |
**企业版**:
| 获取 Token | 获取 User ID |
| --- | --- |
| ![alt text](../../../../public/imgs/image-109.png) | ![alt text](../../../../public/imgs/image-108.png) |
| ![alt text](/imgs/image-109.png) | ![alt text](/imgs/image-108.png) |
## 2. 创建知识库
使用上一步获取的 token 和 uid,创建知识库,选择语雀文件库类型,然后填入对应的参数,点击创建。
![alt text](../../../../public/imgs/image-37.png)
![alt text](/imgs/image-37.png)
![alt text](../../../../public/imgs/image-31.png)
![alt text](/imgs/image-31.png)
## 3. 导入文档
......@@ -43,4 +43,4 @@ FastGPT v4.8.16 版本开始,商业版用户支持语雀文件库导入,用
语雀知识库支持定时同步功能,每天会不定时的扫描一次,如果文档有更新,则会进行同步,也可以进行手动同步。
![alt text](../../../../public/imgs/image-38.png)
![alt text](/imgs/image-38.png)
......@@ -3,7 +3,7 @@ title: Web Site Sync
description: Introduction and usage of the FastGPT Web Site Sync feature
---
![](../../../../public/imgs/webSync1.jpg)
![](/imgs/webSync1.jpg)
This feature is currently only available to commercial edition users.
......@@ -14,32 +14,32 @@ Web Site Sync uses crawler technology to automatically discover all pages under
Tip: Most China-based media sites are not supported, including WeChat Official Accounts, CSDN, Zhihu, etc. You can verify whether a site is static by sending a `curl` request from the terminal:
```bash
curl https://doc.fastgpt.io/intro/
curl https://doc.fastgpt.io/guide/getting-started
```
## How to Use
### 1. Create a New Knowledge Base and Select Web Site Sync
![](../../../../public/imgs/webSync2.jpg)
![](/imgs/webSync2.jpg)
![](../../../../public/imgs/webSync3.jpg)
![](/imgs/webSync3.jpg)
### 2. Click to Configure Site Information
![](../../../../public/imgs/webSync4.jpg)
![](/imgs/webSync4.jpg)
### 3. Enter the URL and Selector
![](../../../../public/imgs/webSync5.jpg)
![](/imgs/webSync5.jpg)
![](../../../../public/imgs/webSync5-1.jpg)
![](/imgs/webSync5-1.jpg)
Click Start Sync and wait for the system to automatically crawl the site content.
## Create an App and Bind the Knowledge Base
![](../../../../public/imgs/webSync6.jpg)
![](/imgs/webSync6.jpg)
## How to Use Selectors
......@@ -47,9 +47,9 @@ Selectors are based on HTML/CSS/JS. You can use selectors to target specific con
### Open the Browser DevTools (usually F12, or Right-click > Inspect)
![](../../../../public/imgs/webSync7.webp)
![](/imgs/webSync7.webp)
![](../../../../public/imgs/webSync8.webp)
![](/imgs/webSync8.webp)
### Enter the Element Selector
......@@ -60,7 +60,7 @@ In the image above, we selected an area corresponding to a `div` tag with three
Besides attribute selectors, class and ID selectors are also common. For example:
![](../../../../public/imgs/webSync9.webp)
![](/imgs/webSync9.webp)
The `class` in the image contains class names (there may be multiple separated by spaces — just pick one). The selector would be: **`.docs-content`**
......@@ -68,7 +68,7 @@ The `class` in the image contains class names (there may be multiple separated b
In the earlier demo, we used multiple selectors for the FastGPT documentation site, separated by commas.
![](../../../../public/imgs/webSync10.webp)
![](/imgs/webSync10.webp)
We want to select content from the two tags shown above, which requires two selectors. The first is: `.docs-content .mb-0.d-flex`, meaning child elements under the `docs-content` class that have both the `mb-0` and `d-flex` classes.
......
......@@ -3,7 +3,7 @@ title: Web 站点同步
description: FastGPT Web 站点同步功能介绍和使用方式
---
![](../../../../public/imgs/webSync1.jpg)
![](/imgs/webSync1.jpg)
该功能目前仅向商业版用户开放。
......@@ -14,32 +14,32 @@ Web 站点同步利用爬虫的技术,可以通过一个入口网站,自动
Tips: 国内的媒体站点基本不可用,公众号、csdn、知乎等。可以通过终端发送`curl`请求检测是否为静态站点,例如:
```bash
curl https://doc.fastgpt.io/intro/
curl https://doc.fastgpt.io/guide/getting-started
```
## 如何使用
### 1. 新建知识库,选择 Web 站点同步
![](../../../../public/imgs/webSync2.jpg)
![](/imgs/webSync2.jpg)
![](../../../../public/imgs/webSync3.jpg)
![](/imgs/webSync3.jpg)
### 2. 点击配置站点信息
![](../../../../public/imgs/webSync4.jpg)
![](/imgs/webSync4.jpg)
### 3. 填写网址和选择器
![](../../../../public/imgs/webSync5.jpg)
![](/imgs/webSync5.jpg)
![](../../../../public/imgs/webSync5-1.jpg)
![](/imgs/webSync5-1.jpg)
好了, 现在点击开始同步,静等系统自动抓取网站信息即可。
## 创建应用,绑定知识库
![](../../../../public/imgs/webSync6.jpg)
![](/imgs/webSync6.jpg)
## 选择器如何使用
......@@ -47,9 +47,9 @@ curl https://doc.fastgpt.io/intro/
### 首先打开浏览器调试面板(通常是 F12,或者【右键 - 检查】)
![](../../../../public/imgs/webSync7.webp)
![](/imgs/webSync7.webp)
![](../../../../public/imgs/webSync8.webp)
![](/imgs/webSync8.webp)
### 输入对应元素的选择器
......@@ -60,7 +60,7 @@ curl https://doc.fastgpt.io/intro/
除了属性选择器,常见的还有类和ID选择器。例如:
![](../../../../public/imgs/webSync9.webp)
![](/imgs/webSync9.webp)
上图 class 里的是类名(可能包含多个类名,都是空格隔开的,选择一个即可),选择器可以为:**`.docs-content`**
......@@ -68,7 +68,7 @@ curl https://doc.fastgpt.io/intro/
在开头的演示中,我们对 FastGPT 文档是使用了多选择器的方式来选择,通过逗号隔开了两个选择器。
![](../../../../public/imgs/webSync10.webp)
![](/imgs/webSync10.webp)
我们希望选中上图两个标签中的内容,此时就需要两组选择器。一组是:`.docs-content .mb-0.d-flex`,含义是 `docs-content` 类下同时包含 `mb-0`和`d-flex` 两个类的子元素;
......
......@@ -15,7 +15,7 @@ Quick Start
| | |
| --------------------- | --------------------------------- |
| ![](../../public/imgs/intro/image1.png) | ![](../../public/imgs/intro/image2.png) |
| ![](/imgs/intro/image1.png) | ![](/imgs/intro/image2.png) |
# Why FastGPT
## 1. Simple and Flexible, Like Building Blocks 🧱
......@@ -30,26 +30,26 @@ FastGPT is open source under the Apache 2.0 license and supports custom developm
# What Can FastGPT Do
## 1. Comprehensive Knowledge Base
Import documents and data with automatic knowledge structuring. Features intelligent Q&A with multi-turn context understanding and a continuously improving knowledge base management experience.
![](../../public/imgs/intro/image3.png)
![](/imgs/intro/image3.png)
## 2. Visual Workflow
FastGPT's intuitive drag-and-drop interface lets you build complex business processes with zero code. Rich functional node components handle diverse business needs with flexible process orchestration.
![](../../public/imgs/intro/image4.png)
![](/imgs/intro/image4.png)
## 3. Intelligent Data Parsing
FastGPT's knowledge base system handles imported data with great flexibility — intelligently processing complex PDF structures while preserving images, tables, and LaTeX formulas. It automatically recognizes scanned files and structures content into clean Markdown format. It also supports automatic image annotation and indexing, making visual content searchable and ensuring knowledge is presented accurately in AI Q&A.
![](../../public/imgs/intro/image5.png)
![](/imgs/intro/image5.png)
## 4. Workflow Orchestration
Flow-based workflow orchestration lets you design complex Q&A processes — such as querying databases, checking inventory, or booking lab resources.
![](../../public/imgs/intro/image6.png)
![](/imgs/intro/image6.png)
## 5. Powerful API Integration
FastGPT is fully compatible with the OpenAI API interface, supporting one-click integration with WeCom, WeChat Official Account, Lark, DingTalk, and more — bringing AI capabilities into your business workflows.
![](../../public/imgs/intro/image7.png)
![](/imgs/intro/image7.png)
---
......@@ -65,7 +65,7 @@ FastGPT is fully compatible with the OpenAI API interface, supporting one-click
# Knowledge Base Core Process Diagram
![](../../public/imgs/intro/image8.png)
![](/imgs/intro/image8.png)
---
......
......@@ -15,7 +15,7 @@ FastGPT 是一个基于 LLM 大语言模型的知识库问答系统,将智能
| | |
| --------------------- | --------------------------------- |
| ![](../../public/imgs/intro/image1.png) | ![](../../public/imgs/intro/image2.png) |
| ![](/imgs/intro/image1.png) | ![](/imgs/intro/image2.png) |
# FastGPT 的优势
## 1. 简单灵活,像搭积木一样简单 🧱
......@@ -30,26 +30,26 @@ FastGPT 基于 Apache 2.0 协议开源,支持二次开发。通过标准 API
# FastGPT 能做什么
## 1. 全能知识库
可轻松导入各式各样的文档及数据,能自动对其开展知识结构化处理工作。同时,具备支持多轮上下文理解的智能问答功能,还可为用户带来持续优化的知识库管理体验。
![](../../public/imgs/intro/image3.png)
![](/imgs/intro/image3.png)
## 2. 可视化工作流
FastGPT直观的拖拽式界面设计,可零代码搭建复杂业务流程。还拥有丰富的功能节点组件,能应对多种业务需求,有着灵活的流程编排能力,按需定制业务流程。
![](../../public/imgs/intro/image4.png)
![](/imgs/intro/image4.png)
## 3. 数据智能解析
FastGPT知识库系统对导入数据的处理极为灵活,可以智能处理PDF文档的复杂结构,保留图片、表格和LaTeX公式,自动识别扫描文件,并将内容结构化为清晰的Markdown格式。同时支持图片自动标注和索引,让视觉内容可被理解和检索,确保知识在AI问答中能被完整、准确地呈现和应用。
![](../../public/imgs/intro/image5.png)
![](/imgs/intro/image5.png)
## 4. 工作流编排
基于 Flow 模块的工作流编排,可以帮助你设计更加复杂的问答流程。例如查询数据库、查询库存、预约实验室等。
![](../../public/imgs/intro/image6.png)
![](/imgs/intro/image6.png)
## 5. 强大的 API 集成
FastGPT 完全对齐 OpenAI 官方接口,支持一键接入企业微信、公众号、飞书、钉钉等平台,让 AI 能力轻松融入您的业务场景。
![](../../public/imgs/intro/image7.png)
![](/imgs/intro/image7.png)
---
......@@ -65,7 +65,7 @@ FastGPT 完全对齐 OpenAI 官方接口,支持一键接入企业微信、公
# 知识库核心流程图
![](../../public/imgs/intro/image8.png)
![](/imgs/intro/image8.png)
---
......
{
"title": "Basic Tutorial",
"description": "FastGPT basic tutorial",
"title": "Getting Started",
"root": false,
"pages": [
"index",
"quick-start",
"ai_settings",
"chat_input_guide",
"fileInput"
"[Video Tutorials](https://video.fastgpt.cn/videos)"
]
}
{
"title": "入门",
"root": false,
"pages": [
"index",
"quick-start",
"[视频教程](https://video.fastgpt.cn/videos)"
]
}
......@@ -13,7 +13,7 @@ We'll use the FastGPT Chinese README file as an example.
First, create a Knowledge Base.
![](../../../../public/imgs/create-rep.png)
![](/imgs/create-rep.png)
After creating the Knowledge Base, upload some content.
......@@ -25,26 +25,26 @@ There are four upload modes:
Here we'll use QA Split to let AI generate QA pairs automatically. You can edit them manually later if the quality isn't satisfactory.
![](../../../../public/imgs/upload-data.png)
![](/imgs/upload-data.png)
After uploading, wait for processing to complete until the file status shows as available.
![](../../../../public/imgs/upload-data2.png)
![](/imgs/upload-data2.png)
## Application
Click the "Application" button to create a new app. There are four templates — select "Knowledge Base + Chat Guide."
![](../../../../public/imgs/create-app.png)
![](/imgs/create-app.png)
After creating the app, go to the detail page, find the "Knowledge Base" section, and add the Knowledge Base you just created.
![](../../../../public/imgs/create-app2.png)
![](/imgs/create-app2.png)
After adding the Knowledge Base, click "Save and Preview" to link your app with the Knowledge Base.
![](../../../../public/imgs/create-app3.png)
![](/imgs/create-app3.png)
Now you're ready to start chatting.
![](../../../../public/imgs/create-app4.png)
![](/imgs/create-app4.png)
......@@ -13,7 +13,7 @@ description: 快速体验 FastGPT 基础功能
首先我们需要创建一个知识库。
![](../../../../public/imgs/create-rep.png)
![](/imgs/create-rep.png)
知识库创建完之后我们需要上传一点内容。
......@@ -25,26 +25,26 @@ description: 快速体验 FastGPT 基础功能
这里,我们选择 QA 拆分,让 AI 自动生成问答,若问答质量不高,可以后期手动修改。
![](../../../../public/imgs/upload-data.png)
![](/imgs/upload-data.png)
点击上传后我们需要等待数据处理完成,直到我们上传的文件状态为可用。
![](../../../../public/imgs/upload-data2.png)
![](/imgs/upload-data2.png)
## 应用
点击「应用」按钮来新建一个应用,这里有四个模板,我们选择「知识库 + 对话引导」。
![](../../../../public/imgs/create-app.png)
![](/imgs/create-app.png)
应用创建后来再应用详情页找到「知识库」模块,把我们刚刚创建的知识库添加进去。
![](../../../../public/imgs/create-app2.png)
![](/imgs/create-app2.png)
添加完知识库后记得点击「保存并预览」,这样我们的应用就和知识库关联起来了。
![](../../../../public/imgs/create-app3.png)
![](/imgs/create-app3.png)
然后我们就可以愉快的开始聊天啦。
![](../../../../public/imgs/create-app4.png)
![](/imgs/create-app4.png)
---
title: User Guide
description: FastGPT User Guide
---
import { Redirect } from '@/components/docs/Redirect';
<Redirect to="/guide/getting-started" />
---
title: 使用指南
description: FastGPT 使用指南
---
import { Redirect } from '@/components/docs/Redirect';
<Redirect to="/guide/getting-started" />
{
"title": "User Guide",
"root": true,
"pages": [
"getting-started",
"build",
"chat",
"dataset",
"workspace",
"admin",
"version"
],
"order": 1
}
{
"title": "使用指南",
"root": true,
"pages": [
"getting-started",
"build",
"chat",
"dataset",
"workspace",
"admin",
"version"
],
"order": 1
}
......@@ -100,10 +100,10 @@ You can modify the Community Edition source code, but the Commercial Edition ima
Sealos cloud services use pay-as-you-go billing. Here's the pricing table:
![alt text](../../public/imgs/image-58.png)
![alt text](/imgs/image-58.png)
## Admin Dashboard Screenshots
| | | |
| ------------------------------- | ------------------------------- | ------------------------------- |
| ![alt text](../../public/imgs/image-55.png) | ![alt text](../../public/imgs/image-56.png) | ![alt text](../../public/imgs/image-57.png) |
| ![alt text](/imgs/image-55.png) | ![alt text](/imgs/image-56.png) | ![alt text](/imgs/image-57.png) |
......@@ -101,10 +101,10 @@ FastGPT 商业版软件根据不同的部署方式,分为 3 类收费模式。
Sealos 云服务属于按量计费,下面是它的价格表:
![alt text](../../public/imgs/image-58.png)
![alt text](/imgs/image-58.png)
## 管理后台部分截图
| | | |
| ------------------------------- | ------------------------------- | ------------------------------- |
| ![alt text](../../public/imgs/image-55.png) | ![alt text](../../public/imgs/image-56.png) | ![alt text](../../public/imgs/image-57.png) |
| ![alt text](/imgs/image-55.png) | ![alt text](/imgs/image-56.png) | ![alt text](/imgs/image-57.png) |
{
"title": "User Guide",
"root": true,
"title": "Editions",
"root": false,
"pages": [
"---Tutorials---",
"index",
"...guide",
"---Editions---",
"cloud",
"commercial",
"opensource"
],
"order": 1
]
}
{
"title": "使用文档",
"root": true,
"title": "版本介绍",
"root": false,
"pages": [
"---教程---",
"index",
"...guide",
"---版本介绍---",
"cloud",
"commercial",
"opensource"
],
"order": 1
]
}
......@@ -8,5 +8,5 @@ FastGPT Community Edition is the free version of FastGPT, designed for individua
**Related Links**
* [GitHub Repository](https://github.com/labring/FastGPT)
* [Deployment Guide](https://doc.fastgpt.io/self-host/intro/)
* [Local Development Guide](https://doc.fastgpt.io/self-host/intro/)
\ No newline at end of file
* [Deployment Guide](../../../self-host/deploy/docker.en.mdx)
* [Local Development Guide](../../../self-host/dev.en.mdx)
......@@ -8,5 +8,5 @@ FastGPT 社区版是 FastGPT 的免费版本,适合于个人开发者或小型
**相关链接**
* [GitHub 仓库](https://github.com/labring/FastGPT)
* [部署教程](https://doc.fastgpt.io/self-host/intro/)
* [本地开发介绍](https://doc.fastgpt.io/self-host/intro/)
\ No newline at end of file
* [部署教程](../../../self-host/deploy/docker.mdx)
* [本地开发介绍](../../../self-host/dev.mdx)
......@@ -13,7 +13,7 @@ In the sidebar, go to "Account" -> "Custom Domain" to open the configuration pag
If your plan does not support this feature, follow the on-screen instructions to upgrade.
![Open configuration page](../../../../public/imgs/guide/team_permissions/customDomain/1.png)
![Open configuration page](/imgs/guide/team_permissions/customDomain/1.png)
### 2. Add a Custom Domain
......@@ -24,7 +24,7 @@ If your plan does not support this feature, follow the on-screen instructions to
5. After adding the DNS record, click "Save". The system will automatically verify the DNS configuration -- this usually takes less than a minute. If verification takes too long, try again.
6. Once the status shows "Active", click "Confirm" to finish.
![Configure custom domain](../../../../public/imgs/guide/team_permissions/customDomain/2.png)
![Configure custom domain](/imgs/guide/team_permissions/customDomain/2.png)
You can now access FastGPT services and call FastGPT APIs using your own domain.
......@@ -32,11 +32,11 @@ You can now access FastGPT services and call FastGPT APIs using your own domain.
The system checks DNS resolution daily. If the DNS record becomes invalid, the custom domain will be disabled. You can re-verify it by clicking "Edit" on the "Custom Domain" management page.
![Edit](../../../../public/imgs/guide/team_permissions/customDomain/3.png)
![Edit](/imgs/guide/team_permissions/customDomain/3.png)
To change your custom domain or switch providers, delete the existing configuration and set it up again.
## Use Cases
- [Integrate with WeCom Bot](../../../use-cases/external-integration/wecom.en.mdx)
- [Integrate with WeCom Bot](../build/publish/wecom.en.mdx)
......@@ -13,7 +13,7 @@ FastGPT 云服务版自 v4.14.4 后支持配置自定义域名。
如果您的套餐等级不支持配置,请根据页面的指引升级套餐。
![打开配置页面](../../../../public/imgs/guide/team_permissions/customDomain/1.png)
![打开配置页面](/imgs/guide/team_permissions/customDomain/1.png)
### 2. 添加自定义域名
......@@ -24,7 +24,7 @@ FastGPT 云服务版自 v4.14.4 后支持配置自定义域名。
5. 添加解析记录后,点击"保存"按钮。系统将自动检查 DNS 解析情况,一般情况下,在一分钟内就可以获取到解析记录。如果长时间没有获取到记录,可以重试一次。
6. 待状态提示显示为“已生效”后,点击“确认”按钮即可。
![配置自定义域名](../../../../public/imgs/guide/team_permissions/customDomain/2.png)
![配置自定义域名](/imgs/guide/team_permissions/customDomain/2.png)
现在您可以通过您自己的域名访问 fastgpt 服务、调用 fastgpt 的 API 了。
......@@ -32,11 +32,11 @@ FastGPT 云服务版自 v4.14.4 后支持配置自定义域名。
系统会每天对 DNS 解析进行检查,如果发现 DNS 解析记录失效,则会停用该自定义域名,可以在"自定义域名"管理界面中点击"编辑"进行重新解析。
![编辑](../../../../public/imgs/guide/team_permissions/customDomain/3.png)
![编辑](/imgs/guide/team_permissions/customDomain/3.png)
如果您需要修改自定义域名、或修改服务商,则需要删除自定义域名配置后进行重新配置。
## 使用案例
- [接入企业微信智能机器人](../../../use-cases/external-integration/wecom.mdx)
- [接入企业微信智能机器人](../build/publish/wecom.mdx)
{
"title": "Team & Permissions",
"description": "Team management, member groups, and permission settings to ensure data security and proper permission allocation in team collaboration.",
"title": "Workspace",
"root": false,
"pages": [
"team_roles_permissions",
"invitation_link",
"team",
"customDomain"
]
}
{
"title": "工作区",
"root": false,
"pages": [
"team",
"customDomain"
]
}
......@@ -11,15 +11,15 @@ After upgrading, any pending invitations that haven't been accepted will be auto
1. **On the team management page, admins can click the "Invite Members" button to open the invitation dialog**
![](../../../../public/imgs/guide/team_permissions/invitation_link/image1.png)
![](/imgs/guide/team_permissions/invitation_link/image1.png)
2. **In the invitation dialog, click "Create Invitation Link" to generate a new link**
![](../../../../public/imgs/guide/team_permissions/invitation_link/image2.png)
![](/imgs/guide/team_permissions/invitation_link/image2.png)
3. **Fill in the details**
![](../../../../public/imgs/guide/team_permissions/invitation_link/image3.png)
![](/imgs/guide/team_permissions/invitation_link/image3.png)
Link description: We recommend describing the intended use case or purpose. The description cannot be changed after creation.
......@@ -29,13 +29,13 @@ Usage limit: 1 person or unlimited
4. **Click "Copy Link" and send it to the people you want to invite**
![](../../../../public/imgs/guide/team_permissions/invitation_link/image4.png)
![](/imgs/guide/team_permissions/invitation_link/image4.png)
5. **When a user visits the link, they will be redirected to the login page if not logged in or registered. After logging in, they will be taken to the team page to handle the invitation.**
> Invitation links look like: fastgpt.cn/account/team?invitelinkid=xxxx
![](../../../../public/imgs/guide/team_permissions/invitation_link/image5.png)
![](/imgs/guide/team_permissions/invitation_link/image5.png)
Click "Accept" to join the team.
......
......@@ -11,15 +11,15 @@ v4.9.1 团队邀请成员将开始使用「邀请链接」的模式,弃用之
1. **在团队管理页面,管理员可点击「邀请成员」按钮打开邀请成员弹窗**
![](../../../../public/imgs/guide/team_permissions/invitation_link/image1.png)
![](/imgs/guide/team_permissions/invitation_link/image1.png)
2. **在邀请成员弹窗中,点击「创建邀请链接」按钮,创建邀请链接。**
![](../../../../public/imgs/guide/team_permissions/invitation_link/image2.png)
![](/imgs/guide/team_permissions/invitation_link/image2.png)
3. **输入对应内容**
![](../../../../public/imgs/guide/team_permissions/invitation_link/image3.png)
![](/imgs/guide/team_permissions/invitation_link/image3.png)
链接描述:建议将链接描述为使用场景或用途。链接创建后不支持修改噢。
......@@ -29,13 +29,13 @@ v4.9.1 团队邀请成员将开始使用「邀请链接」的模式,弃用之
4. **点击复制链接,并将其发送给想要邀请的人。**
![](../../../../public/imgs/guide/team_permissions/invitation_link/image4.png)
![](/imgs/guide/team_permissions/invitation_link/image4.png)
5. **用户访问链接后,如果未登录/未注册,则先跳转到登录页面进行登录。在登录后将进入团队页面,处理邀请。**
> 邀请链接形如:fastgpt.cn/account/team?invitelinkid=xxxx
![](../../../../public/imgs/guide/team_permissions/invitation_link/image5.png)
![](/imgs/guide/team_permissions/invitation_link/image5.png)
点击接受,则用户将加入团队
......
{
"title": "Team Management",
"description": "Team members, permissions, and invitation link management.",
"pages": ["team_roles_permissions", "invitation_link"]
}
{
"title": "团队管理",
"description": "团队成员、权限和邀请链接管理。",
"pages": ["team_roles_permissions", "invitation_link"]
}
......@@ -31,7 +31,7 @@ Final permissions are the combination of the above
Authorization logic:
![](../../../../public/imgs/guide/team_permissions/team_roles_permissions/image1.jpeg)
![](/imgs/guide/team_permissions/team_roles_permissions/image1.jpeg)
### Resource Permissions
......@@ -100,19 +100,19 @@ The table below shows the manageable permissions for different resources.
You must add **collaborators** before managing their permissions:
![](../../../../public/imgs/guide/team_permissions/team_roles_permissions/image2.png)
![](/imgs/guide/team_permissions/team_roles_permissions/image2.png)
When managing team permissions, first select members/organizations/groups, then configure permissions.
![](../../../../public/imgs/guide/team_permissions/team_roles_permissions/image3.png)
![](/imgs/guide/team_permissions/team_roles_permissions/image3.png)
For resources like apps and knowledge bases, you can directly modify member permissions.
![](../../../../public/imgs/guide/team_permissions/team_roles_permissions/image4.png)
![](/imgs/guide/team_permissions/team_roles_permissions/image4.png)
Team permissions are set on a dedicated permissions page.
![](../../../../public/imgs/guide/team_permissions/team_roles_permissions/image5.png)
![](/imgs/guide/team_permissions/team_roles_permissions/image5.png)
## Special Permissions
......
......@@ -32,7 +32,7 @@ FastGPT 提供三种权限管理维度:
鉴权逻辑如下:
![](../../../../public/imgs/guide/team_permissions/team_roles_permissions/image1.jpeg)
![](/imgs/guide/team_permissions/team_roles_permissions/image1.jpeg)
### 资源权限
......@@ -101,19 +101,19 @@ FastGPT 提供三种权限管理维度:
必须先添加**协作者**,才能对其进行权限管理:
![](../../../../public/imgs/guide/team_permissions/team_roles_permissions/image2.png)
![](/imgs/guide/team_permissions/team_roles_permissions/image2.png)
管理团队权限时,需先选择成员/组织/群组,再进行权限配置。
![](../../../../public/imgs/guide/team_permissions/team_roles_permissions/image3.png)
![](/imgs/guide/team_permissions/team_roles_permissions/image3.png)
对于应用和知识库等资源,可直接修改成员权限。
![](../../../../public/imgs/guide/team_permissions/team_roles_permissions/image4.png)
![](/imgs/guide/team_permissions/team_roles_permissions/image4.png)
团队权限在专门的权限页面进行设置
![](../../../../public/imgs/guide/team_permissions/team_roles_permissions/image5.png)
![](/imgs/guide/team_permissions/team_roles_permissions/image5.png)
## 特殊权限说明
......
{
"title": "对话框",
"description": "对话框组件,支持多种交互方式,提升用户在应用中的交互体验。",
"pages": ["htmlRendering","quoteList"]
}
\ No newline at end of file
{
"title": "商业版后台",
"description": "商业版后台使用教程",
"pages": ["sso","teamMode"]
}
\ No newline at end of file
---
title: AI Configuration Parameters
description: FastGPT AI configuration parameters explained
---
import { Alert } from '@/components/docs/Alert';
The AI Chat module in FastGPT includes an advanced configuration section with various model parameters. This guide explains what each setting does.
| | | |
| --- | --- | --- |
| ![alt text](../../../../public/imgs/image-51.png) | ![alt text](../../../../public/imgs/image-52.png) | ![alt text](../../../../public/imgs/image-53.png) |
## Stream Response (Workflow AI Chat only)
Previously called "Return AI Content," now renamed to "Stream Response."
This is a toggle. When enabled, the AI Chat module streams its output to the browser (API response) in real time. When disabled, the model is called in non-streaming mode and the output is not sent to the browser. However, the generated content can still be accessed via the [AI Reply] output and connected to other modules for further use.
### Max Context
The maximum number of tokens the model can handle.
### Function Calling
Models that support function calling are more accurate when using tools.
### Temperature
Lower values produce more focused, deterministic responses (in practice, the difference is subtle).
### Max Output Tokens
The maximum number of tokens in the response. Note: this is the response token limit, not the context token limit.
Typically: max output = min(model's max output limit, max context - used context)
Because of this, you generally don't set max context to the model's actual maximum — instead, reserve space for the response. For example, a 128k model might use max_context=115000.
### System Prompt
Placed at the beginning of the context array with role `system` to guide the model's behavior.
### Memory Rounds (Basic Mode only)
Configures how many conversation rounds the model retains. If the context exceeds the model's limit, the system automatically truncates to stay within bounds.
So even if you set 30 rounds, the actual number at runtime may be fewer.
## Citation Template & Citation Prompt
After a Knowledge Base search, you can customize how search results are formatted into prompts. This setting is only available in the AI Chat node within workflows, and only takes effect when Knowledge Base content is referenced.
![alt text](../../../../public/imgs/image-54.png)
### AI Chat Message Structure
To use these two variables effectively, you need to understand the message format sent to the AI model. It's an array structured as follows in FastGPT:
```json
[
Built-in prompt (from config.json, usually empty)
System prompt (user-defined prompt)
Chat history
Question (composed of citation prompt, citation template, and user question)
]
```
<Alert icon="🍅" context="success">
Tip: Click the context button to view the full context composition for easier debugging.
</Alert>
### Citation Template and Prompt Design
This feature has been removed from Basic Mode and is only configurable in workflows. Click the `settings icon` next to the Knowledge Base citation in the `AI Chat node` to configure it. As models improve, this feature will gradually become less critical.
Citation templates and citation prompts typically work as a pair — the citation prompt depends on the citation template.
FastGPT stores Knowledge Base data in QA pairs (not necessarily in question-answer format — just two variables). When converting to strings, the data is formatted according to the **citation template**. Available variables include: q, a, sourceId (data ID), index (nth entry), source (collection/file name), and score (distance score, 0-1). Reference them as needed using `{{q}}` `{{a}}` `{{sourceId}}` `{{index}}` `{{source}}` `{{score}}`. Here's an example:
See [Knowledge Base Structure](../knowledge_base/dataset_engine.en.mdx) for details on how the Knowledge Base is structured.
#### Citation Template
```
{instruction:"{{q}}",output:"{{a}}",source:"{{source}}"}
```
Search results automatically replace q, a, and source with the corresponding content. Each result is separated by `\n`. For example:
```
{instruction:"Who directed the movie 'Suzume'?",output:"The movie 'Suzume' was directed by Makoto Shinkai.",source:"Manual input"}
{instruction:"Who is the protagonist?",output:"The protagonist is a girl named Suzume.",source:""}
{instruction:"Who is the male lead in 'Suzume'?",output:"The male lead in 'Suzume' is Souta Munakata, voiced by Hokuto Matsumura.",source:""}
{instruction:"Who wrote the screenplay for 'Suzume'?",output:"Makoto Shinkai wrote the screenplay.",source:"Manual input"}
```
#### Citation Prompt
The citation template must be used together with a citation prompt. The prompt can describe the template format and specify conversation requirements. Use `{{quote}}` to insert the **citation template** content, and `{{question}}` to insert the question. For example:
```
Your background knowledge:
"""
{{quote}}
"""
Conversation requirements:
1. The background knowledge is up-to-date. "instruction" provides relevant context, and "output" is the expected answer or supplement.
2. Use the background knowledge to answer questions.
3. If the background knowledge cannot answer the question, respond politely.
My question is: "{{question}}"
```
After substitution:
```
Your background knowledge:
"""
{instruction:"Who directed the movie 'Suzume'?",output:"The movie 'Suzume' was directed by Makoto Shinkai.",source:"Manual input"}
{instruction:"Who is the protagonist?",output:"The protagonist is a girl named Suzume.",source:""}
{instruction:"Who is the male lead in 'Suzume'?",output:"The male lead in 'Suzume' is Souta Munakata, voiced by Hokuto Matsumura}
"""
Conversation requirements:
1. The background knowledge is up-to-date. "instruction" provides relevant context, and "output" is the expected answer or supplement.
2. Use the background knowledge to answer questions.
3. If the background knowledge cannot answer the question, respond politely.
My question is: "{{question}}"
```
#### Summary
The citation template defines how each search result is formatted into a string, composed of variables like q, a, index, and source.
The citation prompt combines the `citation template` with `instructions` that typically describe the template format and specify requirements for the model.
### Citation Template and Prompt Design Examples
#### General Template vs. QA Template
We compared the general template and QA template using a set of "Who are you?" manual data entries. We intentionally included a humorous answer — under the general template, GPT-3.5 became less compliant, while under the QA template it still answered correctly. This is because structured prompts provide stronger guidance for LLMs.
<Alert icon="🍅" context="success">
Tip: For best results, use only one data type per Knowledge Base for each scenario to maximize prompt effectiveness.
</Alert>
| General template config & results | QA template config & results |
| --- | --- |
| ![](../../../../public/imgs/datasetprompt1.jpg) | ![](../../../../public/imgs/datasetprompt2.jpg) |
| ![](../../../../public/imgs/datasetprompt3.jpg) | ![](../../../../public/imgs/datasetprompt5.jpg) |
| ![](../../../../public/imgs/datasetprompt4.jpg) | ![](../../../../public/imgs/datasetprompt6.jpg) |
#### Strict Template
With a non-strict template, asking about something not in the Knowledge Base typically causes the model to answer from its own knowledge.
| Non-strict template results | Selecting strict template | Strict template results |
| --- | --- | --- |
| ![](../../../../public/imgs/datasetprompt7.webp) | ![](../../../../public/imgs/datasetprompt8.jpg) |![](../../../../public/imgs/datasetprompt9.jpg) |
#### Prompt Design Tips
1. Use numbered lists for different requirements.
2. Use sequencing words like "first," "then," and "finally."
3. When listing requirements for different scenarios, be thorough. For example, cover all three cases: the background knowledge fully answers the question, partially answers it, or is unrelated.
4. Leverage structured prompts — for instance, in the QA template, `instruction` and `output` clearly tell the model that `output` is the expected answer.
5. Use correct and complete punctuation.
---
title: AI 相关参数配置说明
description: FastGPT AI 相关参数配置说明
---
import { Alert } from '@/components/docs/Alert';
在 FastGPT 的 AI 对话模块中,有一个 AI 高级配置,里面包含了 AI 模型的参数配置,本文详细介绍这些配置的含义。
| | | |
| --- | --- | --- |
| ![alt text](../../../../public/imgs/image-51.png) | ![alt text](../../../../public/imgs/image-52.png) | ![alt text](../../../../public/imgs/image-53.png) |
## 流响应(高级编排 AI 对话 特有)
旧版名字叫做:返回 AI 内容;新版改名:流响应。
这是一个开关,打开的时候,当 AI 对话模块运行时,会将其输出的内容返回到浏览器(API响应);
如果关闭,会强制使用非流模式调用模型,并且 AI 输出的内容不会返回到浏览器,但是生成的内容仍可以通过【AI回复】进行输出。你可以将【AI回复】连接到其他模块中进行二次使用。
### 最大上下文
代表模型最多容纳的文字数量。
### 函数调用
支持函数调用的模型,在使用工具时更加准确。
### 温度
越低回答越严谨,少废话(实测下来,感觉差别不大)
### 回复上限
最大回复 token 数量。注意,是回复的Tokens!不是上下文 tokens。
通常,回复上限=min(模型允许的最大回复上限, 最大上下文-已用上下文)
所以,一般配置模型时,不会把最大上下文配置成模型实际最大上下文,而是预留预定空间给回答,例如 128k 模型,可以配置 max_context=115000
### 系统提示词
被放置在上下文数组的最前面,role 为 system,用于引导模型。
### 记忆轮数(仅简易模式)
可以配置模型支持的记忆轮数,如果模型的超出上下文,系统会自动截断,尽可能保证不超模型上下文。
所以尽管配置 30 轮对话,实际运行时候,不一定会达到 30 轮。
## 引用模板 & 引用提示词
进行知识库搜索后,你可以自定义组织检索结果构成的提示词,这个配置,仅工作流中 AI 对话节点可用。并且,只会在有引用知识库内容时才会生效。
![alt text](../../../../public/imgs/image-54.png)
### AI 对话消息组成
想使用明白这两个变量,首先要了解传递传递给 AI 模型的消息格式。它是一个数组,FastGPT 中这个数组的组成形式为:
```json
[
内置提示词(config.json 配置,一般为空)
系统提示词 (用户输入的提示词)
历史记录
问题(由引用提示词、引用模板和用户问题组成)
]
```
<Alert icon="🍅" context="success">
Tips: 可以通过点击上下文按键查看完整的上下文组成,便于调试。
</Alert>
### 引用模板和提示词设计
简易模式已移除该功能,仅在工作流中可配置,可点击工作流中`AI对话节点`内,知识库引用旁边的`setting icon`进行配置。随着模型的增强,这部分功能将逐步弱化。
引用模板和引用提示词通常是成对出现,引用提示词依赖引用模板。
FastGPT 知识库采用 QA 对(不一定都是问答格式,仅代表两个变量)的格式存储,在转义成字符串时候会根据**引用模板**来进行格式化。知识库包含多个可用变量: q, a, sourceId(数据的ID), index(第n个数据), source(数据的集合名、文件名),score(距离得分,0-1) 可以通过 `{{q}}` `{{a}}` `{{sourceId}}` `{{index}}` `{{source}}` `{{score}}` 按需引入。下面一个模板例子:
可以通过 [知识库结构讲解](../knowledge_base/dataset_engine.mdx) 了解详细的知识库的结构。
#### 引用模板
```
{instruction:"{{q}}",output:"{{a}}",source:"{{source}}"}
```
搜索到的知识库,会自动将 q,a,source 替换成对应的内容。每条搜索到的内容,会通过 `\n` 隔开。例如:
```
{instruction:"电影《铃芽之旅》的导演是谁?",output:"电影《铃芽之旅》的导演是新海诚。",source:"手动输入"}
{instruction:"本作的主人公是谁?",output:"本作的主人公是名叫铃芽的少女。",source:""}
{instruction:"电影《铃芽之旅》男主角是谁?",output:"电影《铃芽之旅》男主角是宗像草太,由松村北斗配音。",source:""}
{instruction:"电影《铃芽之旅》的编剧是谁?22",output:"新海诚是本片的编剧。",source:"手动输入"}
```
#### 引用提示词
引用模板需要和引用提示词一起使用,提示词中可以写引用模板的格式说明以及对话的要求等。可以使用 `{{quote}}` 来使用 **引用模板**,使用 `{{question}}` 来引入问题。例如:
```
你的背景知识:
"""
{{quote}}
"""
对话要求:
1. 背景知识是最新的,其中 instruction 是相关介绍,output 是预期回答或补充。
2. 使用背景知识回答问题。
3. 背景知识无法回答问题时,你可以礼貌的的回答用户问题。
我的问题是:"{{question}}"
```
转义后则为:
```
你的背景知识:
"""
{instruction:"电影《铃芽之旅》的导演是谁?",output:"电影《铃芽之旅》的导演是新海诚。",source:"手动输入"}
{instruction:"本作的主人公是谁?",output:"本作的主人公是名叫铃芽的少女。",source:""}
{instruction:"电影《铃芽之旅》男主角是谁?",output:"电影《铃芽之旅》男主角是宗像草太,由松村北斗配音}
"""
对话要求:
1. 背景知识是最新的,其中 instruction 是相关介绍,output 是预期回答或补充。
2. 使用背景知识回答问题。
3. 背景知识无法回答问题时,你可以礼貌的的回答用户问题。
我的问题是:"{{question}}"
```
#### 总结
引用模板规定了搜索出来的内容如何组成一句话,其由 q,a,index,source 多个变量组成。
引用提示词由`引用模板`和`提示词`组成,提示词通常是对引用模板的一个描述,加上对模型的要求。
### 引用模板和提示词设计 示例
#### 通用模板与问答模板对比
我们通过一组`你是谁`的手动数据,对通用模板与问答模板的效果进行对比。此处特意打了个搞笑的答案,通用模板下 GPT35 就变得不那么听话了,而问答模板下 GPT35 依然能够回答正确。这是由于结构化的提示词,在大语言模型中具有更强的引导作用。
<Alert icon="🍅" context="success">
Tips: 建议根据不同的场景,每种知识库仅选择1类数据类型,这样有利于充分发挥提示词的作用。
</Alert>
| 通用模板配置及效果 | 问答模板配置及效果 |
| --- | --- |
| ![](../../../../public/imgs/datasetprompt1.jpg) | ![](../../../../public/imgs/datasetprompt2.jpg) |
| ![](../../../../public/imgs/datasetprompt3.jpg) | ![](../../../../public/imgs/datasetprompt5.jpg) |
| ![](../../../../public/imgs/datasetprompt4.jpg) | ![](../../../../public/imgs/datasetprompt6.jpg) |
#### 严格模板
使用非严格模板,我们随便询问一个不在知识库中的内容,模型通常会根据其自身知识进行回答。
| 非严格模板效果 | 选择严格模板 | 严格模板效果 |
| --- | --- | --- |
| ![](../../../../public/imgs/datasetprompt7.webp) | ![](../../../../public/imgs/datasetprompt8.jpg) |![](../../../../public/imgs/datasetprompt9.jpg) |
#### 提示词设计思路
1. 使用序号进行不同要求描述。
2. 使用首先、然后、最后等词语进行描述。
3. 列举不同场景的要求时,尽量完整,不要遗漏。例如:背景知识完全可以回答、背景知识可以回答一部分、背景知识与问题无关,3种场景都说明清楚。
4. 巧用结构化提示,例如在问答模板中,利用了`instruction`和`output`,清楚的告诉模型,`output`是一个预期的答案。
5. 标点符号正确且完整。
{
"title": "基础教程",
"description": "FastGPT 基础教程",
"pages": ["quick-start", "ai_settings", "chat_input_guide", "fileInput"]
}
---
title: Basic Mode
description: A quick overview of FastGPT Dashboard's Basic Mode
---
---
title: 简易模式
description: 快速了解 FastGPT 工作台的简易模式
---
{
"title": "Dashboard",
"description": "FastGPT dashboard and workflow node usage guide",
"pages": ["basic-mode", "intro", "workflow", "mcp_server", "mcp_tools", "evaluation"]
}
{
"title": "工作台",
"description": "FastGPT 工作台及工作流节点的使用说明",
"pages": ["basic-mode", "intro", "workflow", "mcp_server", "mcp_tools", "evaluation"]
}
{
"title": "Features",
"description": "FastGPT features",
"pages": [
"course",
"dashboard",
"plugins",
"knowledge_base",
"team_permissions",
"DialogBoxes",
"admin"
]
}
{
"title": "功能介绍",
"description": "FastGPT 功能介绍",
"pages": [
"course",
"dashboard",
"plugins",
"knowledge_base",
"team_permissions",
"DialogBoxes",
"admin"
]
}
{
"title": "团队与权限",
"description": "团队管理、成员组与权限设置,确保团队协作中的数据安全和权限分配合理。",
"pages": ["team_roles_permissions","invitation_link", "customDomain"]
}
......@@ -402,7 +402,7 @@ curl --location --request POST 'http://localhost:3000/api/core/dataset/collectio
--header 'Authorization: Bearer {{authorization}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"link":"https://doc.fastgpt.io/course/quick-start/",
"link":"https://doc.fastgpt.io/guide/getting-started/quick-start",
"datasetId":"6593e137231a2be9c5603ba7",
"parentId": null,
......@@ -704,7 +704,7 @@ curl --location --request POST 'http://localhost:3000/api/core/dataset/collectio
"tmbId": "65422be6aa44b7da77729ec9",
"type": "link",
"name": "快速上手 | FastGPT",
"rawLink": "https://doc.fastgpt.io/course/quick-start/",
"rawLink": "https://doc.fastgpt.io/guide/getting-started/quick-start",
"updateTime": "2024-01-20T13:54:53.031Z",
"dataAmount": 3,
"trainingAmount": 0,
......
......@@ -399,7 +399,7 @@ curl --location --request POST 'http://localhost:3000/api/core/dataset/collectio
--header 'Authorization: Bearer {{authorization}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"link":"https://doc.fastgpt.io/course/quick-start/",
"link":"https://doc.fastgpt.io/guide/getting-started/quick-start",
"datasetId":"6593e137231a2be9c5603ba7",
"parentId": null,
......@@ -689,7 +689,7 @@ curl --location --request POST 'http://localhost:3000/api/core/dataset/collectio
"tmbId": "65422be6aa44b7da77729ec9",
"type": "link",
"name": "快速上手 | FastGPT",
"rawLink": "https://doc.fastgpt.io/course/quick-start/",
"rawLink": "https://doc.fastgpt.io/guide/getting-started/quick-start",
"updateTime": "2024-01-20T13:54:53.031Z",
"dataAmount": 3,
"trainingAmount": 0,
......
......@@ -292,7 +292,7 @@ If you set a custom request URL, requests will bypass `Model Channels` and be se
The custom request key is included as the `Authorization: Bearer xxx` header when sending requests to the custom URL.
All endpoints follow the OpenAI model format. Refer to the [OpenAI API documentation](https://platform.openai.com/docs/api-reference/introduction) for details.
All endpoints follow the OpenAI model format. Refer to the [OpenAI API documentation](https://platform.openai.com/docs/api-reference/guide) for details.
Since OpenAI does not provide a Rerank model, the Rerank endpoint follows the Cohere format. [See request examples](../../troubleshooting/model-errors.en.mdx)
......
......@@ -292,7 +292,7 @@ FastGPT 页面上提供了每类模型的简单测试,可以初步检查模型
自定义请求 Key,则是向自定义请求地址发起请求时候,携带请求头:Authorization: Bearer xxx 进行请求。
所有接口均遵循 OpenAI 提供的模型格式,可参考 [OpenAI API 文档](https://platform.openai.com/docs/api-reference/introduction) 进行配置。
所有接口均遵循 OpenAI 提供的模型格式,可参考 [OpenAI API 文档](https://platform.openai.com/docs/api-reference/guide) 进行配置。
由于 OpenAI 没有提供 ReRank 模型,遵循的是 Cohere 的格式。[点击查看接口请求示例](../../troubleshooting/model-errors.mdx)
......
......@@ -50,7 +50,7 @@ Key goals of the split:
- **lib**: Library files with utility functions
- **test**: Tests
For system tool structure, see [How to Develop System Plugins](../../introduction/guide/plugins/dev_system_tool.en.mdx).
For system tool structure, see [How to Develop System Plugins](../../guide/build/tools/system-plugins/dev_system_tool.en.mdx).
## Technical Details
......
......@@ -52,7 +52,7 @@ description: FastGPT 系统插件设计方案
- **lib**: 库文件,提供工具函数和类库
- **test**: 测试相关
系统工具的结构可以参考 [如何开发系统插件](../../introduction/guide/plugins/dev_system_tool.mdx)。
系统工具的结构可以参考 [如何开发系统插件](../../guide/build/tools/system-plugins/dev_system_tool.mdx)。
## 技术细节
......
......@@ -53,5 +53,5 @@ PLUGIN_TOKEN=the AUTH_TOKEN value you just set
## New Features
1. Standalone system tool service with support for independent development and debugging of system tools.
2. Updated [System Tool Development Guide](../../../introduction/guide/plugins/dev_system_tool.en.mdx).
3. Updated [System Tool Design Documentation](../../../introduction/guide/plugins/dev_system_tool.en.mdx).
2. Updated [System Tool Development Guide](../../../guide/build/tools/system-plugins/dev_system_tool.en.mdx).
3. Updated [System Tool Design Documentation](../../../guide/build/tools/system-plugins/dev_system_tool.en.mdx).
......@@ -53,5 +53,5 @@ PLUGIN_TOKEN=刚修改的 AUTH_TOKEN 值
## 🚀 新增内容
1. 独立系统工具服务,支持系统工具独立开发和调试。
2. 更新系统工具开发指南[系统工具开发指南](../../../introduction/guide/plugins/dev_system_tool.mdx)。
3. 更新[系统工具设计文档](../../../introduction/guide/plugins/dev_system_tool.mdx)。
2. 更新系统工具开发指南[系统工具开发指南](../../../guide/build/tools/system-plugins/dev_system_tool.mdx)。
3. 更新[系统工具设计文档](../../../guide/build/tools/system-plugins/dev_system_tool.mdx)。
......@@ -28,7 +28,7 @@ What the initialization does:
4. Improved - History module. The old history module has been deprecated — simply enter the value directly in the relevant field.
5. Adjusted - Knowledge base search module topK logic now uses MaxToken calculation, accommodating text chunks of varying lengths.
6. Adjusted - Authentication order to prioritize API keys, preventing cookies from overriding API key authentication.
7. Link fetching now supports multiple selectors. See [Web Site Sync Usage](../../../introduction/guide/knowledge_base/websync.en.mdx).
7. Link fetching now supports multiple selectors. See [Web Site Sync Usage](../../../guide/dataset/websync.en.mdx).
8. Fixed - Image upload authentication issue in share links.
9. Fixed - Mongo connection pool not being released.
10. Fixed - Dataset description (Intro) not updating.
......
......@@ -28,7 +28,7 @@ curl --location --request POST 'https://{{host}}/api/admin/initv464' \
4. 优化 - 历史记录模块。弃用旧的历史记录模块,直接在对应地方填写数值即可。
5. 调整 - 知识库搜索模块 topk 逻辑,采用 MaxToken 计算,兼容不同长度的文本块
6. 调整鉴权顺序,提高 apikey 的优先级,避免cookie抢占 apikey 的鉴权。
7. 链接读取支持多选择器。参考[Web 站点同步用法](../../../introduction/guide/knowledge_base/websync.mdx)
7. 链接读取支持多选择器。参考[Web 站点同步用法](../../../guide/dataset/websync.mdx)
8. 修复 - 分享链接图片上传鉴权问题
9. 修复 - Mongo 连接池未释放问题。
10. 修复 - Dataset Intro 无法更新
......
......@@ -17,10 +17,10 @@ The question optimization model and content extraction model now share the same
## V4.6.5 New Features
1. New - [Question Optimization node](../../../introduction/guide/dashboard/workflow/coreferenceResolution.en.mdx)
2. New - [Text Editor node](../../../introduction/guide/dashboard/workflow/text_editor.en.mdx)
3. New - [Classifier node](../../../introduction/guide/dashboard/workflow/tfswitch.en.mdx)
4. New - [Custom Feedback node](../../../introduction/guide/dashboard/workflow/custom_feedback.en.mdx)
1. New - [Question Optimization node](../../../guide/build/workflow/nodes/coreferenceResolution.en.mdx)
2. New - [Text Editor node](../../../guide/build/workflow/nodes/text_editor.en.mdx)
3. New - [Classifier node](../../../guide/build/workflow/nodes/tfswitch.en.mdx)
4. New - [Custom Feedback node](../../../guide/build/workflow/nodes/custom_feedback.en.mdx)
5. New - The Content Extraction node now supports model selection and field enumerations.
6. Improved - DOCX parsing with table support (tables are converted to Markdown).
7. Improved - Advanced orchestration connection line interactions.
......
......@@ -17,10 +17,10 @@ description: FastGPT V4.6.5
## V4.6.5 功能介绍
1. 新增 - [问题优化模块](../../../introduction/guide/dashboard/workflow/coreferenceResolution.mdx)
2. 新增 - [文本编辑模块](../../../introduction/guide/dashboard/workflow/text_editor.mdx)
3. 新增 - [判断器模块](../../../introduction/guide/dashboard/workflow/tfswitch.mdx)
4. 新增 - [自定义反馈模块](../../../introduction/guide/dashboard/workflow/custom_feedback.mdx)
1. 新增 - [问题优化模块](../../../guide/build/workflow/nodes/coreferenceResolution.mdx)
2. 新增 - [文本编辑模块](../../../guide/build/workflow/nodes/text_editor.mdx)
3. 新增 - [判断器模块](../../../guide/build/workflow/nodes/tfswitch.mdx)
4. 新增 - [自定义反馈模块](../../../guide/build/workflow/nodes/custom_feedback.mdx)
5. 新增 - 【内容提取】模块支持选择模型,以及字段枚举
6. 优化 - docx读取,兼容表格(表格转markdown)
7. 优化 - 高级编排连接线交互
......
......@@ -87,7 +87,7 @@ This will initialize the billing system. For internal use, you can increase the
1. New - Knowledge Base search merge module.
2. New - Redesigned HTTP module with more flexible parameter input. Supports automatic input/output data type conversion (e.g., JSON output is automatically converted to string type for use by other modules). Additional examples are available in the documentation.
3. Improved - Query completion. Query completion is now built into the Knowledge Base Search module, enabling both "reference resolution" and "query expansion" in a single pass. See [Knowledge Base Search Introduction](../../../introduction/guide/dashboard/workflow/dataset_search.en.mdx) for details.
3. Improved - Query completion. Query completion is now built into the Knowledge Base Search module, enabling both "reference resolution" and "query expansion" in a single pass. See [Knowledge Base Search Introduction](../../../guide/build/workflow/nodes/dataset_search.en.mdx) for details.
4. Improved - LLM model configuration no longer distinguishes between chat, classification, and extraction models. Default parameters per model are now supported via `defaultConfig` to avoid parameter conflicts between different models.
5. Improved - Streaming response, inspired by `ChatNextWeb`'s streaming implementation for smoother output. This may also fix previously reported issues with garbled text and interruptions that resolved after refreshing.
6. Fixed - Voice input file upload failure.
......
......@@ -87,7 +87,7 @@ curl --location --request POST 'https://{{host}}/api/init/v468' \
1. 新增 - 知识库搜索合并模块。
2. 新增 - 新的 Http 模块,支持更加灵活的参数传入。同时支持了输入输出自动数据类型转化,例如:接口输出的 JSON 类型会自动转成字符串类型,直接给其他模块使用。此外,还补充了一些例子,可在文档中查看。
3. 优化 - 内容补全。将内容补全内置到【知识库搜索】中,并实现了一次内容补全,即可完成“指代消除”和“问题扩展”。FastGPT知识库搜索详细流程可查看:[知识库搜索介绍](../../../introduction/guide/dashboard/workflow/dataset_search.mdx)
3. 优化 - 内容补全。将内容补全内置到【知识库搜索】中,并实现了一次内容补全,即可完成“指代消除”和“问题扩展”。FastGPT知识库搜索详细流程可查看:[知识库搜索介绍](../../../guide/build/workflow/nodes/dataset_search.mdx)
4. 优化 - LLM 模型配置,不再区分对话、分类、提取模型。同时支持模型的默认参数,避免不同模型参数冲突,可通过`defaultConfig`传入默认的配置。
5. 优化 - 流响应,参考了`ChatNextWeb`的流,更加丝滑。此外,之前提到的乱码、中断,刷新后又正常了,可能会修复)
6. 修复 - 语音输入文件无法上传。
......
......@@ -19,7 +19,7 @@ description: FastGPT V4.8.13 Release Notes
### 4. Update file upload workflow configuration
While the old file upload workflow configuration is still supported, backward compatibility will be removed within the next two versions. Please update your workflows to use the new file upload logic as soon as possible. In particular, file passing in nested apps will no longer be automatic — you must explicitly specify which files to pass. For details, see: [File Upload Changes](../../../introduction/guide/course/fileInput.en.mdx#4813%E7%89%88%E6%9C%AC%E8%B5%B7%E5%85%B3%E4%BA%8E%E6%96%87%E4%BB%B6%E4%B8%8A%E4%BC%A0%E7%9A%84%E6%9B%B4%E6%96%B0)
While the old file upload workflow configuration is still supported, backward compatibility will be removed within the next two versions. Please update your workflows to use the new file upload logic as soon as possible. In particular, file passing in nested apps will no longer be automatic — you must explicitly specify which files to pass. For details, see: [File Upload Changes](../../../guide/build/general/fileInput.en.mdx#4813%E7%89%88%E6%9C%AC%E8%B5%B7%E5%85%B3%E4%BA%8E%E6%96%87%E4%BB%B6%E4%B8%8A%E4%BC%A0%E7%9A%84%E6%9B%B4%E6%96%B0)
## Release Notes
......
......@@ -19,7 +19,7 @@ description: FastGPT V4.8.13 更新说明
### 4. 调整文件上传编排
虽然依然兼容旧版的文件上传编排,但是未来两个版本内将会去除兼容代码,请尽快调整编排,以适应最新的文件上传逻辑。尤其是嵌套应用的文件传递,未来将不会自动传递,必须手动指定传递的文件。具体内容可参考: [文件上传变更](../../../introduction/guide/course/fileInput.mdx#4813%E7%89%88%E6%9C%AC%E8%B5%B7%E5%85%B3%E4%BA%8E%E6%96%87%E4%BB%B6%E4%B8%8A%E4%BC%A0%E7%9A%84%E6%9B%B4%E6%96%B0)
虽然依然兼容旧版的文件上传编排,但是未来两个版本内将会去除兼容代码,请尽快调整编排,以适应最新的文件上传逻辑。尤其是嵌套应用的文件传递,未来将不会自动传递,必须手动指定传递的文件。具体内容可参考: [文件上传变更](../../../guide/build/general/fileInput.mdx#4813%E7%89%88%E6%9C%AC%E8%B5%B7%E5%85%B3%E4%BA%8E%E6%96%87%E4%BB%B6%E4%B8%8A%E4%BC%A0%E7%9A%84%E6%9B%B4%E6%96%B0)
## 更新说明
......
......@@ -49,7 +49,7 @@ This recalculates free-tier user durations. A previous version upgrade did not r
## Full Release Notes
1. New - API Knowledge Base. See [API Knowledge Base Introduction](../../../introduction/guide/knowledge_base/api_dataset.en.mdx). The external file library will be deprecated.
1. New - API Knowledge Base. See [API Knowledge Base Introduction](../../../guide/dataset/third-party/api_dataset.en.mdx). 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](../../custom-models/marker.en.mdx).
......
......@@ -49,7 +49,7 @@ curl --location --request POST 'https://{{host}}/api/admin/init/refreshFreeUser'
## 完整更新内容
1. 新增 - API 知识库, 见 [API 知识库介绍](../../../introduction/guide/knowledge_base/api_dataset.mdx),外部文件库会被弃用。
1. 新增 - API 知识库, 见 [API 知识库介绍](../../../guide/dataset/third-party/api_dataset.mdx),外部文件库会被弃用。
2. 新增 - 工具箱页面,展示所有可用的系统资源。商业版后台可更便捷的配置系统插件和自定义分类。
3. 新增 - Markdown 中,HTML代码会被额外渲染,可以选择预览模式,会限制所有 script 脚本,仅做展示。
4. 新增 - 自定义系统级文件解析服务, 见 [接入 Marker PDF 文档解析](../../custom-models/marker.mdx)
......
......@@ -44,12 +44,12 @@ Refer to the latest [configuration file documentation](../../config/json.en.mdx)
## Full Release Notes
1. New - SearXNG search plugin. [View tutorial](../../../introduction/guide/plugins/searxng_plugin_guide.en.mdx)
1. New - SearXNG search plugin. [View tutorial](../../../guide/build/tools/system-plugins/searxng_plugin_guide.en.mdx)
2. New - Commercial edition supports scheduled sync for API Knowledge Bases and link collections.
3. New - "Suggested questions" supports model selection and custom prompts.
4. New - DingTalk and WeCom bot webhook plugins.
5. New - Commercial edition supports DingTalk SSO login configuration. [View tutorial](../../../introduction/guide/admin/sso.en.mdx#钉钉)
6. New - Commercial edition supports Lark and Yuque Knowledge Base import. [View tutorial](../../../introduction/guide/knowledge_base/lark_dataset.en.mdx)
5. New - Commercial edition supports DingTalk SSO login configuration. [View tutorial](../../../guide/admin/sso.en.mdx#钉钉)
6. New - Commercial edition supports Lark and Yuque Knowledge Base import. [View tutorial](../../../guide/dataset/third-party/lark_dataset.en.mdx)
7. New - Sandbox adds `createHmac` encryption global method.
8. New - Right-click in workflow supports "Collapse all".
9. Improved - Model selector.
......
......@@ -44,12 +44,12 @@ description: FastGPT V4.8.16 更新说明
## 完整更新内容
1. 新增 - SearXNG 搜索插件[点击查看教程](../../../introduction/guide/plugins/searxng_plugin_guide.mdx)
1. 新增 - SearXNG 搜索插件[点击查看教程](../../../guide/build/tools/system-plugins/searxng_plugin_guide.mdx)
2. 新增 - 商业版支持 API 知识库和链接集合定时同步。
3. 新增 - 猜你想问支持选择模型和自定义提示词。
4. 新增 - 钉钉和企微机器人 webhook 插件。
5. 新增 - 商业版支持钉钉 SSO 登录配置。[点击查看教程](../../../introduction/guide/admin/sso.mdx#钉钉)
6. 新增 - 商业版支持飞书和语雀知识库导入。[点击查看教程](../../../introduction/guide/knowledge_base/lark_dataset.mdx)
5. 新增 - 商业版支持钉钉 SSO 登录配置。[点击查看教程](../../../guide/admin/sso.mdx#钉钉)
6. 新增 - 商业版支持飞书和语雀知识库导入。[点击查看教程](../../../guide/dataset/third-party/lark_dataset.mdx)
7. 新增 - sandbox 新增 createHmac 加密全局方法。
8. 新增 - 工作流右键支持全部折叠。
9. 优化 - 模型选择器。
......
......@@ -36,7 +36,7 @@ curl --location --request POST 'https://{{host}}/api/admin/initv4911' \
3. Sub-workflow version control in workflows now supports a "Keep Latest Version" option — no manual updates needed.
4. Additional audit operation logs.
5. Knowledge base now has an async document parsing queue — documents can be imported without waiting for parsing to complete.
6. Third-party knowledge base development documentation. [View here](../../../introduction/guide/knowledge_base/third_dataset.en.mdx)
6. Third-party knowledge base development documentation. [View here](../../../guide/dataset/third-party/third_dataset.en.mdx)
## Improvements
......
......@@ -36,7 +36,7 @@ curl --location --request POST 'https://{{host}}/api/admin/initv4911' \
3. 工作流中,子流程版本控制,可选择“保持最新版本”,无需手动更新。
4. 增加更多审计操作日志。
5. 知识库增加文档解析异步队列,导入文档时,无需等待文档解析完毕才进行导入。
6. 第三方知识库开发文档, [点击查看](../../../introduction/guide/knowledge_base/third_dataset.mdx)
6. 第三方知识库开发文档, [点击查看](../../../guide/dataset/third-party/third_dataset.mdx)
## ⚙️ 优化
......
......@@ -13,7 +13,7 @@ You can skip directly to v4.9.3 — v4.9.2 has a workflow data type conversion b
Pro edition users using SSO or member sync with DingTalk or WeCom need to migrate their existing SSO configuration:
Refer to [SSO & External Member Sync](../../../introduction/guide/admin/sso.en.mdx) for deploying and configuring the `sso-service`.
Refer to [SSO & External Member Sync](../../../guide/admin/sso.en.mdx) for deploying and configuring the `sso-service`.
1. Before upgrading images, copy and back up the existing configuration from the Pro admin panel (e.g., for WeCom, copy the AppId, Secret, etc.).
2. Follow the documentation above to deploy the SSO service and configure the relevant environment variables.
......
......@@ -13,7 +13,7 @@ description: FastGPT V4.9.2 更新说明
使用了 SSO 或成员同步的商业版用户,并且是对接`钉钉`、`企微`的,需要迁移已有的 SSO 相关配置:
参考:[SSO & 外部成员同步](../../../introduction/guide/admin/sso.mdx)中的配置进行`sso-service`的部署和配置。
参考:[SSO & 外部成员同步](../../../guide/admin/sso.mdx)中的配置进行`sso-service`的部署和配置。
1. 先将原商业版后台中的相关配置项复制备份出来(以企微为例,将 AppId, Secret 等复制出来)再进行镜像升级。
2. 参考上述文档,部署 SSO 服务,配置相关的环境变量
......
......@@ -24,7 +24,7 @@ Pro edition users can contact the FastGPT team for a license replacement plan. A
1. Switched from JWT to SessionId-based login authentication, with configurable maximum concurrent client sessions.
2. New Pro edition license management model.
3. WeChat Official Account calls now display and log chat conversation errors for easier troubleshooting.
4. API knowledge base now supports BasePath selection. Requires an additional API endpoint — see [API Knowledge Base Introduction](../../../introduction/guide/knowledge_base/api_dataset.en.mdx#4-获取文件详细信息用于获取文件信息) for details.
4. API knowledge base now supports BasePath selection. Requires an additional API endpoint — see [API Knowledge Base Introduction](../../../guide/dataset/third-party/api_dataset.en.mdx#4-获取文件详细信息用于获取文件信息) for details.
## Improvements
......
......@@ -24,7 +24,7 @@ description: FastGPT V4.9.9 更新说明
1. 切换 SessionId 来替代 JWT 实现登录鉴权,可控制最大登录客户端数量。
2. 新的商业版 License 管理模式。
3. 公众号调用,显示记录 chat 对话错误,方便排查。
4. API 知识库支持 BasePath 选择,需增加 API 接口,具体可见[API 知识库介绍](../../../introduction/guide/knowledge_base/api_dataset.mdx#4-获取文件详细信息用于获取文件信息)
4. API 知识库支持 BasePath 选择,需增加 API 接口,具体可见[API 知识库介绍](../../../guide/dataset/third-party/api_dataset.mdx#4-获取文件详细信息用于获取文件信息)
## ⚙️ 优化
......
......@@ -9,66 +9,72 @@ description: FastGPT Toc
- [/en/faq/external_channel_integration](/en/faq/external_channel_integration)
- [/en/faq/other](/en/faq/other)
- [/en/faq/points_consumption](/en/faq/points_consumption)
- [/en/introduction/cloud/faq](/en/introduction/cloud/faq)
- [/en/introduction/cloud/intro](/en/introduction/cloud/intro)
- [/en/introduction/cloud/privacy](/en/introduction/cloud/privacy)
- [/en/introduction/cloud/terms](/en/introduction/cloud/terms)
- [/en/introduction/commercial](/en/introduction/commercial)
- [/en/introduction/guide/DialogBoxes/htmlRendering](/en/introduction/guide/DialogBoxes/htmlRendering)
- [/en/introduction/guide/DialogBoxes/quoteList](/en/introduction/guide/DialogBoxes/quoteList)
- [/en/introduction/guide/admin/sso](/en/introduction/guide/admin/sso)
- [/en/introduction/guide/admin/teamMode](/en/introduction/guide/admin/teamMode)
- [/en/introduction/guide/course/ai_settings](/en/introduction/guide/course/ai_settings)
- [/en/introduction/guide/course/chat_input_guide](/en/introduction/guide/course/chat_input_guide)
- [/en/introduction/guide/course/fileInput](/en/introduction/guide/course/fileInput)
- [/en/introduction/guide/course/quick-start](/en/introduction/guide/course/quick-start)
- [/en/introduction/guide/dashboard/basic-mode](/en/introduction/guide/dashboard/basic-mode)
- [/en/introduction/guide/dashboard/evaluation](/en/introduction/guide/dashboard/evaluation)
- [/en/introduction/guide/dashboard/intro](/en/introduction/guide/dashboard/intro)
- [/en/introduction/guide/dashboard/mcp_server](/en/introduction/guide/dashboard/mcp_server)
- [/en/introduction/guide/dashboard/mcp_tools](/en/introduction/guide/dashboard/mcp_tools)
- [/en/introduction/guide/dashboard/workflow/ai_chat](/en/introduction/guide/dashboard/workflow/ai_chat)
- [/en/introduction/guide/dashboard/workflow/content_extract](/en/introduction/guide/dashboard/workflow/content_extract)
- [/en/introduction/guide/dashboard/workflow/coreferenceResolution](/en/introduction/guide/dashboard/workflow/coreferenceResolution)
- [/en/introduction/guide/dashboard/workflow/custom_feedback](/en/introduction/guide/dashboard/workflow/custom_feedback)
- [/en/introduction/guide/dashboard/workflow/dataset_search](/en/introduction/guide/dashboard/workflow/dataset_search)
- [/en/introduction/guide/dashboard/workflow/document_parsing](/en/introduction/guide/dashboard/workflow/document_parsing)
- [/en/introduction/guide/dashboard/workflow/form_input](/en/introduction/guide/dashboard/workflow/form_input)
- [/en/introduction/guide/dashboard/workflow/http](/en/introduction/guide/dashboard/workflow/http)
- [/en/introduction/guide/dashboard/workflow/knowledge_base_search_merge](/en/introduction/guide/dashboard/workflow/knowledge_base_search_merge)
- [/en/introduction/guide/dashboard/workflow/laf](/en/introduction/guide/dashboard/workflow/laf)
- [/en/introduction/guide/dashboard/workflow/loop](/en/introduction/guide/dashboard/workflow/loop)
- [/en/introduction/guide/dashboard/workflow/parallel_run](/en/introduction/guide/dashboard/workflow/parallel_run)
- [/en/introduction/guide/dashboard/workflow/question_classify](/en/introduction/guide/dashboard/workflow/question_classify)
- [/en/introduction/guide/dashboard/workflow/reply](/en/introduction/guide/dashboard/workflow/reply)
- [/en/introduction/guide/dashboard/workflow/sandbox-v2](/en/introduction/guide/dashboard/workflow/sandbox-v2)
- [/en/introduction/guide/dashboard/workflow/text_editor](/en/introduction/guide/dashboard/workflow/text_editor)
- [/en/introduction/guide/dashboard/workflow/tfswitch](/en/introduction/guide/dashboard/workflow/tfswitch)
- [/en/introduction/guide/dashboard/workflow/tool](/en/introduction/guide/dashboard/workflow/tool)
- [/en/introduction/guide/dashboard/workflow/user-selection](/en/introduction/guide/dashboard/workflow/user-selection)
- [/en/introduction/guide/dashboard/workflow/variable_update](/en/introduction/guide/dashboard/workflow/variable_update)
- [/en/introduction/guide/knowledge_base/api_dataset](/en/introduction/guide/knowledge_base/api_dataset)
- [/en/introduction/guide/knowledge_base/collection_tags](/en/introduction/guide/knowledge_base/collection_tags)
- [/en/introduction/guide/knowledge_base/dataset_engine](/en/introduction/guide/knowledge_base/dataset_engine)
- [/en/introduction/guide/knowledge_base/dingtalk_dataset](/en/introduction/guide/knowledge_base/dingtalk_dataset)
- [/en/introduction/guide/knowledge_base/lark_dataset](/en/introduction/guide/knowledge_base/lark_dataset)
- [/en/introduction/guide/knowledge_base/rag](/en/introduction/guide/knowledge_base/rag)
- [/en/introduction/guide/knowledge_base/template](/en/introduction/guide/knowledge_base/template)
- [/en/introduction/guide/knowledge_base/third_dataset](/en/introduction/guide/knowledge_base/third_dataset)
- [/en/introduction/guide/knowledge_base/websync](/en/introduction/guide/knowledge_base/websync)
- [/en/introduction/guide/knowledge_base/yuque_dataset](/en/introduction/guide/knowledge_base/yuque_dataset)
- [/en/introduction/guide/plugins/bing_search_plugin](/en/introduction/guide/plugins/bing_search_plugin)
- [/en/introduction/guide/plugins/dev_system_tool](/en/introduction/guide/plugins/dev_system_tool)
- [/en/introduction/guide/plugins/doc2x_plugin_guide](/en/introduction/guide/plugins/doc2x_plugin_guide)
- [/en/introduction/guide/plugins/google_search_plugin_guide](/en/introduction/guide/plugins/google_search_plugin_guide)
- [/en/introduction/guide/plugins/searxng_plugin_guide](/en/introduction/guide/plugins/searxng_plugin_guide)
- [/en/introduction/guide/plugins/upload_system_tool](/en/introduction/guide/plugins/upload_system_tool)
- [/en/introduction/guide/team_permissions/customDomain](/en/introduction/guide/team_permissions/customDomain)
- [/en/introduction/guide/team_permissions/invitation_link](/en/introduction/guide/team_permissions/invitation_link)
- [/en/introduction/guide/team_permissions/team_roles_permissions](/en/introduction/guide/team_permissions/team_roles_permissions)
- [/en/introduction/index](/en/introduction/index)
- [/en/introduction/opensource/intro](/en/introduction/opensource/intro)
- [/en/introduction/opensource/license](/en/introduction/opensource/license)
- [/en/guide/admin/sso](/en/guide/admin/sso)
- [/en/guide/admin/teamMode](/en/guide/admin/teamMode)
- [/en/guide/build/evaluation](/en/guide/build/evaluation)
- [/en/guide/build/general/ai_settings](/en/guide/build/general/ai_settings)
- [/en/guide/build/general/chat_input_guide](/en/guide/build/general/chat_input_guide)
- [/en/guide/build/general/fileInput](/en/guide/build/general/fileInput)
- [/en/guide/build/publish/dingtalk](/en/guide/build/publish/dingtalk)
- [/en/guide/build/publish/feishu](/en/guide/build/publish/feishu)
- [/en/guide/build/publish/mcp_server](/en/guide/build/publish/mcp_server)
- [/en/guide/build/publish/official_account](/en/guide/build/publish/official_account)
- [/en/guide/build/publish/openapi](/en/guide/build/publish/openapi)
- [/en/guide/build/publish/wechat](/en/guide/build/publish/wechat)
- [/en/guide/build/publish/wecom](/en/guide/build/publish/wecom)
- [/en/guide/build/tools/mcp_tools](/en/guide/build/tools/mcp_tools)
- [/en/guide/build/tools/system-plugins/bing_search_plugin](/en/guide/build/tools/system-plugins/bing_search_plugin)
- [/en/guide/build/tools/system-plugins/dev_system_tool](/en/guide/build/tools/system-plugins/dev_system_tool)
- [/en/guide/build/tools/system-plugins/doc2x_plugin_guide](/en/guide/build/tools/system-plugins/doc2x_plugin_guide)
- [/en/guide/build/tools/system-plugins/google_search_plugin_guide](/en/guide/build/tools/system-plugins/google_search_plugin_guide)
- [/en/guide/build/tools/system-plugins/searxng_plugin_guide](/en/guide/build/tools/system-plugins/searxng_plugin_guide)
- [/en/guide/build/tools/system-plugins/upload_system_tool](/en/guide/build/tools/system-plugins/upload_system_tool)
- [/en/guide/build/workflow/intro](/en/guide/build/workflow/intro)
- [/en/guide/build/workflow/nodes/ai_chat](/en/guide/build/workflow/nodes/ai_chat)
- [/en/guide/build/workflow/nodes/content_extract](/en/guide/build/workflow/nodes/content_extract)
- [/en/guide/build/workflow/nodes/coreferenceResolution](/en/guide/build/workflow/nodes/coreferenceResolution)
- [/en/guide/build/workflow/nodes/custom_feedback](/en/guide/build/workflow/nodes/custom_feedback)
- [/en/guide/build/workflow/nodes/dataset_search](/en/guide/build/workflow/nodes/dataset_search)
- [/en/guide/build/workflow/nodes/document_parsing](/en/guide/build/workflow/nodes/document_parsing)
- [/en/guide/build/workflow/nodes/form_input](/en/guide/build/workflow/nodes/form_input)
- [/en/guide/build/workflow/nodes/http](/en/guide/build/workflow/nodes/http)
- [/en/guide/build/workflow/nodes/knowledge_base_search_merge](/en/guide/build/workflow/nodes/knowledge_base_search_merge)
- [/en/guide/build/workflow/nodes/laf](/en/guide/build/workflow/nodes/laf)
- [/en/guide/build/workflow/nodes/loop](/en/guide/build/workflow/nodes/loop)
- [/en/guide/build/workflow/nodes/parallel_run](/en/guide/build/workflow/nodes/parallel_run)
- [/en/guide/build/workflow/nodes/question_classify](/en/guide/build/workflow/nodes/question_classify)
- [/en/guide/build/workflow/nodes/reply](/en/guide/build/workflow/nodes/reply)
- [/en/guide/build/workflow/nodes/sandbox-v2](/en/guide/build/workflow/nodes/sandbox-v2)
- [/en/guide/build/workflow/nodes/text_editor](/en/guide/build/workflow/nodes/text_editor)
- [/en/guide/build/workflow/nodes/tfswitch](/en/guide/build/workflow/nodes/tfswitch)
- [/en/guide/build/workflow/nodes/tool](/en/guide/build/workflow/nodes/tool)
- [/en/guide/build/workflow/nodes/user-selection](/en/guide/build/workflow/nodes/user-selection)
- [/en/guide/build/workflow/nodes/variable_update](/en/guide/build/workflow/nodes/variable_update)
- [/en/guide/chat/htmlRendering](/en/guide/chat/htmlRendering)
- [/en/guide/chat/quoteList](/en/guide/chat/quoteList)
- [/en/guide/dataset/collection_tags](/en/guide/dataset/collection_tags)
- [/en/guide/dataset/dataset_engine](/en/guide/dataset/dataset_engine)
- [/en/guide/dataset/rag](/en/guide/dataset/rag)
- [/en/guide/dataset/template](/en/guide/dataset/template)
- [/en/guide/dataset/third-party/api_dataset](/en/guide/dataset/third-party/api_dataset)
- [/en/guide/dataset/third-party/dingtalk_dataset](/en/guide/dataset/third-party/dingtalk_dataset)
- [/en/guide/dataset/third-party/lark_dataset](/en/guide/dataset/third-party/lark_dataset)
- [/en/guide/dataset/third-party/third_dataset](/en/guide/dataset/third-party/third_dataset)
- [/en/guide/dataset/third-party/yuque_dataset](/en/guide/dataset/third-party/yuque_dataset)
- [/en/guide/dataset/websync](/en/guide/dataset/websync)
- [/en/guide/getting-started/index](/en/guide/getting-started/index)
- [/en/guide/getting-started/quick-start](/en/guide/getting-started/quick-start)
- [/en/guide/index](/en/guide/index)
- [/en/guide/version/cloud/faq](/en/guide/version/cloud/faq)
- [/en/guide/version/cloud/intro](/en/guide/version/cloud/intro)
- [/en/guide/version/cloud/privacy](/en/guide/version/cloud/privacy)
- [/en/guide/version/cloud/terms](/en/guide/version/cloud/terms)
- [/en/guide/version/commercial](/en/guide/version/commercial)
- [/en/guide/version/opensource/intro](/en/guide/version/opensource/intro)
- [/en/guide/version/opensource/license](/en/guide/version/opensource/license)
- [/en/guide/workspace/customDomain](/en/guide/workspace/customDomain)
- [/en/guide/workspace/team/invitation_link](/en/guide/workspace/team/invitation_link)
- [/en/guide/workspace/team/team_roles_permissions](/en/guide/workspace/team/team_roles_permissions)
- [/en/openapi/app](/en/openapi/app)
- [/en/openapi/chat](/en/openapi/chat)
- [/en/openapi/dataset](/en/openapi/dataset)
......@@ -209,9 +215,3 @@ description: FastGPT Toc
- [/en/use-cases/app-cases/multi_turn_translation_bot](/en/use-cases/app-cases/multi_turn_translation_bot)
- [/en/use-cases/app-cases/submit_application_template](/en/use-cases/app-cases/submit_application_template)
- [/en/use-cases/app-cases/translate-subtitle-using-gpt](/en/use-cases/app-cases/translate-subtitle-using-gpt)
- [/en/use-cases/external-integration/dingtalk](/en/use-cases/external-integration/dingtalk)
- [/en/use-cases/external-integration/feishu](/en/use-cases/external-integration/feishu)
- [/en/use-cases/external-integration/official_account](/en/use-cases/external-integration/official_account)
- [/en/use-cases/external-integration/openapi](/en/use-cases/external-integration/openapi)
- [/en/use-cases/external-integration/wechat](/en/use-cases/external-integration/wechat)
- [/en/use-cases/external-integration/wecom](/en/use-cases/external-integration/wecom)
......@@ -9,66 +9,72 @@ description: FastGPT 文档目录
- [/faq/external_channel_integration](/faq/external_channel_integration)
- [/faq/other](/faq/other)
- [/faq/points_consumption](/faq/points_consumption)
- [/introduction/cloud/faq](/introduction/cloud/faq)
- [/introduction/cloud/intro](/introduction/cloud/intro)
- [/introduction/cloud/privacy](/introduction/cloud/privacy)
- [/introduction/cloud/terms](/introduction/cloud/terms)
- [/introduction/commercial](/introduction/commercial)
- [/introduction/guide/DialogBoxes/htmlRendering](/introduction/guide/DialogBoxes/htmlRendering)
- [/introduction/guide/DialogBoxes/quoteList](/introduction/guide/DialogBoxes/quoteList)
- [/introduction/guide/admin/sso](/introduction/guide/admin/sso)
- [/introduction/guide/admin/teamMode](/introduction/guide/admin/teamMode)
- [/introduction/guide/course/ai_settings](/introduction/guide/course/ai_settings)
- [/introduction/guide/course/chat_input_guide](/introduction/guide/course/chat_input_guide)
- [/introduction/guide/course/fileInput](/introduction/guide/course/fileInput)
- [/introduction/guide/course/quick-start](/introduction/guide/course/quick-start)
- [/introduction/guide/dashboard/basic-mode](/introduction/guide/dashboard/basic-mode)
- [/introduction/guide/dashboard/evaluation](/introduction/guide/dashboard/evaluation)
- [/introduction/guide/dashboard/intro](/introduction/guide/dashboard/intro)
- [/introduction/guide/dashboard/mcp_server](/introduction/guide/dashboard/mcp_server)
- [/introduction/guide/dashboard/mcp_tools](/introduction/guide/dashboard/mcp_tools)
- [/introduction/guide/dashboard/workflow/ai_chat](/introduction/guide/dashboard/workflow/ai_chat)
- [/introduction/guide/dashboard/workflow/content_extract](/introduction/guide/dashboard/workflow/content_extract)
- [/introduction/guide/dashboard/workflow/coreferenceResolution](/introduction/guide/dashboard/workflow/coreferenceResolution)
- [/introduction/guide/dashboard/workflow/custom_feedback](/introduction/guide/dashboard/workflow/custom_feedback)
- [/introduction/guide/dashboard/workflow/dataset_search](/introduction/guide/dashboard/workflow/dataset_search)
- [/introduction/guide/dashboard/workflow/document_parsing](/introduction/guide/dashboard/workflow/document_parsing)
- [/introduction/guide/dashboard/workflow/form_input](/introduction/guide/dashboard/workflow/form_input)
- [/introduction/guide/dashboard/workflow/http](/introduction/guide/dashboard/workflow/http)
- [/introduction/guide/dashboard/workflow/knowledge_base_search_merge](/introduction/guide/dashboard/workflow/knowledge_base_search_merge)
- [/introduction/guide/dashboard/workflow/laf](/introduction/guide/dashboard/workflow/laf)
- [/introduction/guide/dashboard/workflow/loop](/introduction/guide/dashboard/workflow/loop)
- [/introduction/guide/dashboard/workflow/parallel_run](/introduction/guide/dashboard/workflow/parallel_run)
- [/introduction/guide/dashboard/workflow/question_classify](/introduction/guide/dashboard/workflow/question_classify)
- [/introduction/guide/dashboard/workflow/reply](/introduction/guide/dashboard/workflow/reply)
- [/introduction/guide/dashboard/workflow/sandbox-v2](/introduction/guide/dashboard/workflow/sandbox-v2)
- [/introduction/guide/dashboard/workflow/text_editor](/introduction/guide/dashboard/workflow/text_editor)
- [/introduction/guide/dashboard/workflow/tfswitch](/introduction/guide/dashboard/workflow/tfswitch)
- [/introduction/guide/dashboard/workflow/tool](/introduction/guide/dashboard/workflow/tool)
- [/introduction/guide/dashboard/workflow/user-selection](/introduction/guide/dashboard/workflow/user-selection)
- [/introduction/guide/dashboard/workflow/variable_update](/introduction/guide/dashboard/workflow/variable_update)
- [/introduction/guide/knowledge_base/api_dataset](/introduction/guide/knowledge_base/api_dataset)
- [/introduction/guide/knowledge_base/collection_tags](/introduction/guide/knowledge_base/collection_tags)
- [/introduction/guide/knowledge_base/dataset_engine](/introduction/guide/knowledge_base/dataset_engine)
- [/introduction/guide/knowledge_base/dingtalk_dataset](/introduction/guide/knowledge_base/dingtalk_dataset)
- [/introduction/guide/knowledge_base/lark_dataset](/introduction/guide/knowledge_base/lark_dataset)
- [/introduction/guide/knowledge_base/rag](/introduction/guide/knowledge_base/rag)
- [/introduction/guide/knowledge_base/template](/introduction/guide/knowledge_base/template)
- [/introduction/guide/knowledge_base/third_dataset](/introduction/guide/knowledge_base/third_dataset)
- [/introduction/guide/knowledge_base/websync](/introduction/guide/knowledge_base/websync)
- [/introduction/guide/knowledge_base/yuque_dataset](/introduction/guide/knowledge_base/yuque_dataset)
- [/introduction/guide/plugins/bing_search_plugin](/introduction/guide/plugins/bing_search_plugin)
- [/introduction/guide/plugins/dev_system_tool](/introduction/guide/plugins/dev_system_tool)
- [/introduction/guide/plugins/doc2x_plugin_guide](/introduction/guide/plugins/doc2x_plugin_guide)
- [/introduction/guide/plugins/google_search_plugin_guide](/introduction/guide/plugins/google_search_plugin_guide)
- [/introduction/guide/plugins/searxng_plugin_guide](/introduction/guide/plugins/searxng_plugin_guide)
- [/introduction/guide/plugins/upload_system_tool](/introduction/guide/plugins/upload_system_tool)
- [/introduction/guide/team_permissions/customDomain](/introduction/guide/team_permissions/customDomain)
- [/introduction/guide/team_permissions/invitation_link](/introduction/guide/team_permissions/invitation_link)
- [/introduction/guide/team_permissions/team_roles_permissions](/introduction/guide/team_permissions/team_roles_permissions)
- [/introduction/index](/introduction/index)
- [/introduction/opensource/intro](/introduction/opensource/intro)
- [/introduction/opensource/license](/introduction/opensource/license)
- [/guide/admin/sso](/guide/admin/sso)
- [/guide/admin/teamMode](/guide/admin/teamMode)
- [/guide/build/evaluation](/guide/build/evaluation)
- [/guide/build/general/ai_settings](/guide/build/general/ai_settings)
- [/guide/build/general/chat_input_guide](/guide/build/general/chat_input_guide)
- [/guide/build/general/fileInput](/guide/build/general/fileInput)
- [/guide/build/publish/dingtalk](/guide/build/publish/dingtalk)
- [/guide/build/publish/feishu](/guide/build/publish/feishu)
- [/guide/build/publish/mcp_server](/guide/build/publish/mcp_server)
- [/guide/build/publish/official_account](/guide/build/publish/official_account)
- [/guide/build/publish/openapi](/guide/build/publish/openapi)
- [/guide/build/publish/wechat](/guide/build/publish/wechat)
- [/guide/build/publish/wecom](/guide/build/publish/wecom)
- [/guide/build/tools/mcp_tools](/guide/build/tools/mcp_tools)
- [/guide/build/tools/system-plugins/bing_search_plugin](/guide/build/tools/system-plugins/bing_search_plugin)
- [/guide/build/tools/system-plugins/dev_system_tool](/guide/build/tools/system-plugins/dev_system_tool)
- [/guide/build/tools/system-plugins/doc2x_plugin_guide](/guide/build/tools/system-plugins/doc2x_plugin_guide)
- [/guide/build/tools/system-plugins/google_search_plugin_guide](/guide/build/tools/system-plugins/google_search_plugin_guide)
- [/guide/build/tools/system-plugins/searxng_plugin_guide](/guide/build/tools/system-plugins/searxng_plugin_guide)
- [/guide/build/tools/system-plugins/upload_system_tool](/guide/build/tools/system-plugins/upload_system_tool)
- [/guide/build/workflow/intro](/guide/build/workflow/intro)
- [/guide/build/workflow/nodes/ai_chat](/guide/build/workflow/nodes/ai_chat)
- [/guide/build/workflow/nodes/content_extract](/guide/build/workflow/nodes/content_extract)
- [/guide/build/workflow/nodes/coreferenceResolution](/guide/build/workflow/nodes/coreferenceResolution)
- [/guide/build/workflow/nodes/custom_feedback](/guide/build/workflow/nodes/custom_feedback)
- [/guide/build/workflow/nodes/dataset_search](/guide/build/workflow/nodes/dataset_search)
- [/guide/build/workflow/nodes/document_parsing](/guide/build/workflow/nodes/document_parsing)
- [/guide/build/workflow/nodes/form_input](/guide/build/workflow/nodes/form_input)
- [/guide/build/workflow/nodes/http](/guide/build/workflow/nodes/http)
- [/guide/build/workflow/nodes/knowledge_base_search_merge](/guide/build/workflow/nodes/knowledge_base_search_merge)
- [/guide/build/workflow/nodes/laf](/guide/build/workflow/nodes/laf)
- [/guide/build/workflow/nodes/loop](/guide/build/workflow/nodes/loop)
- [/guide/build/workflow/nodes/parallel_run](/guide/build/workflow/nodes/parallel_run)
- [/guide/build/workflow/nodes/question_classify](/guide/build/workflow/nodes/question_classify)
- [/guide/build/workflow/nodes/reply](/guide/build/workflow/nodes/reply)
- [/guide/build/workflow/nodes/sandbox-v2](/guide/build/workflow/nodes/sandbox-v2)
- [/guide/build/workflow/nodes/text_editor](/guide/build/workflow/nodes/text_editor)
- [/guide/build/workflow/nodes/tfswitch](/guide/build/workflow/nodes/tfswitch)
- [/guide/build/workflow/nodes/tool](/guide/build/workflow/nodes/tool)
- [/guide/build/workflow/nodes/user-selection](/guide/build/workflow/nodes/user-selection)
- [/guide/build/workflow/nodes/variable_update](/guide/build/workflow/nodes/variable_update)
- [/guide/chat/htmlRendering](/guide/chat/htmlRendering)
- [/guide/chat/quoteList](/guide/chat/quoteList)
- [/guide/dataset/collection_tags](/guide/dataset/collection_tags)
- [/guide/dataset/dataset_engine](/guide/dataset/dataset_engine)
- [/guide/dataset/rag](/guide/dataset/rag)
- [/guide/dataset/template](/guide/dataset/template)
- [/guide/dataset/third-party/api_dataset](/guide/dataset/third-party/api_dataset)
- [/guide/dataset/third-party/dingtalk_dataset](/guide/dataset/third-party/dingtalk_dataset)
- [/guide/dataset/third-party/lark_dataset](/guide/dataset/third-party/lark_dataset)
- [/guide/dataset/third-party/third_dataset](/guide/dataset/third-party/third_dataset)
- [/guide/dataset/third-party/yuque_dataset](/guide/dataset/third-party/yuque_dataset)
- [/guide/dataset/websync](/guide/dataset/websync)
- [/guide/getting-started/index](/guide/getting-started/index)
- [/guide/getting-started/quick-start](/guide/getting-started/quick-start)
- [/guide/index](/guide/index)
- [/guide/version/cloud/faq](/guide/version/cloud/faq)
- [/guide/version/cloud/intro](/guide/version/cloud/intro)
- [/guide/version/cloud/privacy](/guide/version/cloud/privacy)
- [/guide/version/cloud/terms](/guide/version/cloud/terms)
- [/guide/version/commercial](/guide/version/commercial)
- [/guide/version/opensource/intro](/guide/version/opensource/intro)
- [/guide/version/opensource/license](/guide/version/opensource/license)
- [/guide/workspace/customDomain](/guide/workspace/customDomain)
- [/guide/workspace/team/invitation_link](/guide/workspace/team/invitation_link)
- [/guide/workspace/team/team_roles_permissions](/guide/workspace/team/team_roles_permissions)
- [/openapi/app](/openapi/app)
- [/openapi/chat](/openapi/chat)
- [/openapi/dataset](/openapi/dataset)
......@@ -212,9 +218,3 @@ description: FastGPT 文档目录
- [/use-cases/app-cases/multi_turn_translation_bot](/use-cases/app-cases/multi_turn_translation_bot)
- [/use-cases/app-cases/submit_application_template](/use-cases/app-cases/submit_application_template)
- [/use-cases/app-cases/translate-subtitle-using-gpt](/use-cases/app-cases/translate-subtitle-using-gpt)
- [/use-cases/external-integration/dingtalk](/use-cases/external-integration/dingtalk)
- [/use-cases/external-integration/feishu](/use-cases/external-integration/feishu)
- [/use-cases/external-integration/official_account](/use-cases/external-integration/official_account)
- [/use-cases/external-integration/openapi](/use-cases/external-integration/openapi)
- [/use-cases/external-integration/wechat](/use-cases/external-integration/wechat)
- [/use-cases/external-integration/wecom](/use-cases/external-integration/wecom)
......@@ -19,7 +19,7 @@ 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](../../self-host/dev.en.mdx)
- [How to Develop System Plugins](../../introduction/guide/plugins/dev_system_tool.en.mdx)
- [How to Develop System Plugins](../../guide/build/tools/system-plugins/dev_system_tool.en.mdx)
### 2. Create an Application Template
......
......@@ -19,7 +19,7 @@ description: 指南:如何向 FastGPT 提交应用模板
可参照下面两篇文档在本地运行 FastGPT 开发环境和 FastGPT-plugin 开发环境
- [FastGPT|快速开始本地开发](../../self-host/dev.mdx)
- [如何开发系统插件](../../introduction/guide/plugins/dev_system_tool.mdx)
- [如何开发系统插件](../../guide/build/tools/system-plugins/dev_system_tool.mdx)
### 2. 创建应用模版
......
{
"title": "External FastGPT Integration",
"description": "Tutorial on external applications calling FastGPT features through various methods",
"pages": ["openapi", "wechat", "feishu", "dingtalk", "wecom", "official_account"]
}
{
"title": "外部调用 FastGPT",
"description": "外部应用通过多种方式调用 FastGPT 功能的教程",
"pages": ["openapi", "wechat", "feishu", "dingtalk", "wecom", "official_account"]
}
......@@ -5,4 +5,4 @@ description: FastGPT Use Cases
import { Redirect } from '@/components/docs/Redirect';
<Redirect to="/use-cases/external-integration/openapi" />
<Redirect to="/use-cases/app-cases/submit_application_template" />
......@@ -5,4 +5,4 @@ description: FastGPT 使用案例
import { Redirect } from '@/components/docs/Redirect';
<Redirect to="/use-cases/external-integration/openapi" />
<Redirect to="/use-cases/app-cases/submit_application_template" />
......@@ -3,9 +3,6 @@
"description": "More information about FastGPT practical use cases",
"root": true,
"pages": [
"---External Integration---",
"...external-integration",
"---Application Examples---",
"...app-cases"
]
}
......@@ -3,9 +3,6 @@
"description": "有关 FastGPT 其他实践案例的更多信息",
"root": true,
"pages": [
"---外部调用 FastGPT---",
"...external-integration",
"---应用搭建案例---",
"...app-cases"
]
}
......@@ -13,132 +13,144 @@
"content/faq/other.mdx": "2026-04-26T21:08:47+08:00",
"content/faq/points_consumption.en.mdx": "2026-04-26T21:08:47+08:00",
"content/faq/points_consumption.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/cloud/faq.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/cloud/faq.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/cloud/intro.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/cloud/intro.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/cloud/privacy.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/cloud/privacy.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/cloud/terms.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/cloud/terms.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/commercial.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/commercial.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/DialogBoxes/htmlRendering.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/DialogBoxes/htmlRendering.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/DialogBoxes/quoteList.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/DialogBoxes/quoteList.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/admin/sso.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/admin/sso.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/admin/teamMode.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/admin/teamMode.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/course/ai_settings.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/course/ai_settings.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/course/chat_input_guide.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/course/chat_input_guide.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/course/fileInput.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/course/fileInput.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/course/quick-start.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/course/quick-start.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/dashboard/basic-mode.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/dashboard/basic-mode.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/dashboard/evaluation.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/dashboard/evaluation.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/dashboard/intro.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/dashboard/intro.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/dashboard/mcp_server.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/dashboard/mcp_server.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/dashboard/mcp_tools.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/dashboard/mcp_tools.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/dashboard/workflow/ai_chat.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/dashboard/workflow/ai_chat.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/dashboard/workflow/content_extract.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/dashboard/workflow/content_extract.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/dashboard/workflow/coreferenceResolution.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/dashboard/workflow/coreferenceResolution.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/dashboard/workflow/custom_feedback.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/dashboard/workflow/custom_feedback.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/dashboard/workflow/dataset_search.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/dashboard/workflow/dataset_search.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/dashboard/workflow/document_parsing.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/dashboard/workflow/document_parsing.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/dashboard/workflow/form_input.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/dashboard/workflow/form_input.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/dashboard/workflow/http.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/dashboard/workflow/http.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/dashboard/workflow/knowledge_base_search_merge.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/dashboard/workflow/knowledge_base_search_merge.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/dashboard/workflow/laf.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/dashboard/workflow/laf.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/dashboard/workflow/loop.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/dashboard/workflow/loop.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/dashboard/workflow/parallel_run.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/dashboard/workflow/parallel_run.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/dashboard/workflow/question_classify.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/dashboard/workflow/question_classify.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/dashboard/workflow/reply.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/dashboard/workflow/reply.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/dashboard/workflow/sandbox-v2.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/dashboard/workflow/sandbox-v2.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/dashboard/workflow/text_editor.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/dashboard/workflow/text_editor.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/dashboard/workflow/tfswitch.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/dashboard/workflow/tfswitch.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/dashboard/workflow/tool.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/dashboard/workflow/tool.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/dashboard/workflow/user-selection.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/dashboard/workflow/user-selection.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/dashboard/workflow/variable_update.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/dashboard/workflow/variable_update.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/knowledge_base/api_dataset.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/knowledge_base/api_dataset.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/knowledge_base/collection_tags.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/knowledge_base/collection_tags.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/knowledge_base/dataset_engine.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/knowledge_base/dataset_engine.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/knowledge_base/dingtalk_dataset.en.mdx": "2026-04-29T20:39:24+08:00",
"content/introduction/guide/knowledge_base/dingtalk_dataset.mdx": "2026-04-29T20:39:24+08:00",
"content/introduction/guide/knowledge_base/lark_dataset.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/knowledge_base/lark_dataset.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/knowledge_base/rag.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/knowledge_base/rag.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/knowledge_base/template.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/knowledge_base/template.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/knowledge_base/third_dataset.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/knowledge_base/third_dataset.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/knowledge_base/websync.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/knowledge_base/websync.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/knowledge_base/yuque_dataset.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/knowledge_base/yuque_dataset.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/plugins/bing_search_plugin.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/plugins/bing_search_plugin.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/plugins/dev_system_tool.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/plugins/dev_system_tool.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/plugins/doc2x_plugin_guide.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/plugins/doc2x_plugin_guide.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/plugins/google_search_plugin_guide.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/plugins/google_search_plugin_guide.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/plugins/searxng_plugin_guide.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/plugins/searxng_plugin_guide.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/plugins/upload_system_tool.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/plugins/upload_system_tool.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/team_permissions/customDomain.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/team_permissions/customDomain.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/team_permissions/invitation_link.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/team_permissions/invitation_link.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/team_permissions/team_roles_permissions.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/guide/team_permissions/team_roles_permissions.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/index.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/index.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/opensource/intro.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/opensource/intro.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/opensource/license.en.mdx": "2026-04-26T21:08:47+08:00",
"content/introduction/opensource/license.mdx": "2026-04-26T21:08:47+08:00",
"content/guide/admin/sso.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/admin/sso.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/admin/teamMode.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/admin/teamMode.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/evaluation.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/evaluation.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/general/ai_settings.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/general/ai_settings.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/general/chat_input_guide.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/general/chat_input_guide.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/general/fileInput.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/general/fileInput.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/publish/dingtalk.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/publish/dingtalk.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/publish/feishu.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/publish/feishu.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/publish/mcp_server.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/publish/mcp_server.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/publish/official_account.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/publish/official_account.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/publish/openapi.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/publish/openapi.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/publish/wechat.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/publish/wechat.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/publish/wecom.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/publish/wecom.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/tools/mcp_tools.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/tools/mcp_tools.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/tools/system-plugins/bing_search_plugin.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/tools/system-plugins/bing_search_plugin.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/tools/system-plugins/dev_system_tool.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/tools/system-plugins/dev_system_tool.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/tools/system-plugins/doc2x_plugin_guide.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/tools/system-plugins/doc2x_plugin_guide.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/tools/system-plugins/google_search_plugin_guide.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/tools/system-plugins/google_search_plugin_guide.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/tools/system-plugins/searxng_plugin_guide.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/tools/system-plugins/searxng_plugin_guide.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/tools/system-plugins/upload_system_tool.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/tools/system-plugins/upload_system_tool.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/workflow/intro.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/workflow/intro.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/workflow/nodes/ai_chat.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/workflow/nodes/ai_chat.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/workflow/nodes/content_extract.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/workflow/nodes/content_extract.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/workflow/nodes/coreferenceResolution.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/workflow/nodes/coreferenceResolution.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/workflow/nodes/custom_feedback.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/workflow/nodes/custom_feedback.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/workflow/nodes/dataset_search.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/workflow/nodes/dataset_search.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/workflow/nodes/document_parsing.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/workflow/nodes/document_parsing.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/workflow/nodes/form_input.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/workflow/nodes/form_input.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/workflow/nodes/http.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/workflow/nodes/http.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/workflow/nodes/knowledge_base_search_merge.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/workflow/nodes/knowledge_base_search_merge.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/workflow/nodes/laf.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/workflow/nodes/laf.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/workflow/nodes/loop.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/workflow/nodes/loop.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/workflow/nodes/parallel_run.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/workflow/nodes/parallel_run.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/workflow/nodes/question_classify.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/workflow/nodes/question_classify.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/workflow/nodes/reply.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/workflow/nodes/reply.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/workflow/nodes/sandbox-v2.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/workflow/nodes/sandbox-v2.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/workflow/nodes/text_editor.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/workflow/nodes/text_editor.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/workflow/nodes/tfswitch.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/workflow/nodes/tfswitch.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/workflow/nodes/tool.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/workflow/nodes/tool.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/workflow/nodes/user-selection.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/workflow/nodes/user-selection.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/workflow/nodes/variable_update.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/build/workflow/nodes/variable_update.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/chat/htmlRendering.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/chat/htmlRendering.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/chat/quoteList.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/chat/quoteList.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/dataset/collection_tags.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/dataset/collection_tags.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/dataset/dataset_engine.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/dataset/dataset_engine.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/dataset/rag.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/dataset/rag.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/dataset/template.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/dataset/template.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/dataset/third-party/api_dataset.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/dataset/third-party/api_dataset.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/dataset/third-party/dingtalk_dataset.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/dataset/third-party/dingtalk_dataset.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/dataset/third-party/lark_dataset.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/dataset/third-party/lark_dataset.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/dataset/third-party/third_dataset.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/dataset/third-party/third_dataset.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/dataset/third-party/yuque_dataset.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/dataset/third-party/yuque_dataset.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/dataset/websync.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/dataset/websync.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/getting-started/index.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/getting-started/index.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/getting-started/quick-start.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/getting-started/quick-start.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/index.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/index.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/version/cloud/faq.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/version/cloud/faq.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/version/cloud/intro.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/version/cloud/intro.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/version/cloud/privacy.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/version/cloud/privacy.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/version/cloud/terms.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/version/cloud/terms.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/version/commercial.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/version/commercial.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/version/opensource/intro.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/version/opensource/intro.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/version/opensource/license.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/version/opensource/license.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/workspace/customDomain.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/workspace/customDomain.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/workspace/team/invitation_link.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/workspace/team/invitation_link.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/workspace/team/team_roles_permissions.en.mdx": "2026-05-07T14:11:45+08:00",
"content/guide/workspace/team/team_roles_permissions.mdx": "2026-05-07T14:11:45+08:00",
"content/openapi/app.en.mdx": "2026-04-26T21:08:47+08:00",
"content/openapi/app.mdx": "2026-04-26T21:08:47+08:00",
"content/openapi/chat.en.mdx": "2026-04-26T21:08:47+08:00",
"content/openapi/chat.mdx": "2026-04-26T21:08:47+08:00",
"content/openapi/dataset.en.mdx": "2026-04-26T21:08:47+08:00",
"content/openapi/dataset.mdx": "2026-04-26T21:08:47+08:00",
"content/openapi/dataset.en.mdx": "2026-05-07T14:11:45+08:00",
"content/openapi/dataset.mdx": "2026-05-07T14:11:45+08:00",
"content/openapi/index.en.mdx": "2026-04-26T21:08:47+08:00",
"content/openapi/index.mdx": "2026-04-26T21:08:47+08:00",
"content/openapi/intro.en.mdx": "2026-04-26T21:08:47+08:00",
......@@ -149,8 +161,8 @@
"content/self-host/config/env.mdx": "2026-05-06T18:25:24+08:00",
"content/self-host/config/json.en.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/config/json.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/config/model/intro.en.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/config/model/intro.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/config/model/intro.en.mdx": "2026-05-07T14:11:45+08:00",
"content/self-host/config/model/intro.mdx": "2026-05-07T14:11:45+08:00",
"content/self-host/config/model/minimax.en.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/config/model/minimax.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/config/model/siliconCloud.en.mdx": "2026-04-26T21:08:47+08:00",
......@@ -181,8 +193,8 @@
"content/self-host/deploy/sealos.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/design/dataset.en.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/design/dataset.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/design/design_plugin.en.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/design/design_plugin.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/design/design_plugin.en.mdx": "2026-05-07T14:11:45+08:00",
"content/self-host/design/design_plugin.mdx": "2026-05-07T14:11:45+08:00",
"content/self-host/dev.en.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/dev.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/index.en.mdx": "2026-04-26T21:08:47+08:00",
......@@ -257,13 +269,13 @@
"content/self-host/upgrading/4-14/41481.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/4-14/4149.en.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/4-14/4149.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/4-15/4150.mdx": "2026-05-06T18:31:58+08:00",
"content/self-host/upgrading/4-15/4150.mdx": "2026-05-06T22:27:15+08:00",
"content/self-host/upgrading/outdated/40.en.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/40.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/41.en.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/41.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/4100.en.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/4100.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/4100.en.mdx": "2026-05-07T14:11:45+08:00",
"content/self-host/upgrading/outdated/4100.mdx": "2026-05-07T14:11:45+08:00",
"content/self-host/upgrading/outdated/4101.en.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/4101.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/4110.en.mdx": "2026-04-26T21:08:47+08:00",
......@@ -302,16 +314,16 @@
"content/self-host/upgrading/outdated/462.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/463.en.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/463.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/464.en.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/464.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/465.en.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/465.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/464.en.mdx": "2026-05-07T14:11:45+08:00",
"content/self-host/upgrading/outdated/464.mdx": "2026-05-07T14:11:45+08:00",
"content/self-host/upgrading/outdated/465.en.mdx": "2026-05-07T14:11:45+08:00",
"content/self-host/upgrading/outdated/465.mdx": "2026-05-07T14:11:45+08:00",
"content/self-host/upgrading/outdated/466.en.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/466.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/467.en.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/467.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/468.en.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/468.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/468.en.mdx": "2026-05-07T14:11:45+08:00",
"content/self-host/upgrading/outdated/468.mdx": "2026-05-07T14:11:45+08:00",
"content/self-host/upgrading/outdated/469.en.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/469.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/47.en.mdx": "2026-04-26T21:08:47+08:00",
......@@ -328,14 +340,14 @@
"content/self-host/upgrading/outdated/4811.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/4812.en.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/4812.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/4813.en.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/4813.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/4813.en.mdx": "2026-05-07T14:11:45+08:00",
"content/self-host/upgrading/outdated/4813.mdx": "2026-05-07T14:11:45+08:00",
"content/self-host/upgrading/outdated/4814.en.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/4814.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/4815.en.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/4815.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/4816.en.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/4816.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/4815.en.mdx": "2026-05-07T14:11:45+08:00",
"content/self-host/upgrading/outdated/4815.mdx": "2026-05-07T14:11:45+08:00",
"content/self-host/upgrading/outdated/4816.en.mdx": "2026-05-07T14:11:45+08:00",
"content/self-host/upgrading/outdated/4816.mdx": "2026-05-07T14:11:45+08:00",
"content/self-host/upgrading/outdated/4817.en.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/4817.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/4818.en.mdx": "2026-04-26T21:08:47+08:00",
......@@ -372,16 +384,16 @@
"content/self-host/upgrading/outdated/491.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/4910.en.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/4910.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/4911.en.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/4911.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/4911.en.mdx": "2026-05-07T14:11:45+08:00",
"content/self-host/upgrading/outdated/4911.mdx": "2026-05-07T14:11:45+08:00",
"content/self-host/upgrading/outdated/4912.en.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/4912.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/4913.en.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/4913.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/4914.en.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/4914.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/492.en.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/492.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/492.en.mdx": "2026-05-07T14:11:45+08:00",
"content/self-host/upgrading/outdated/492.mdx": "2026-05-07T14:11:45+08:00",
"content/self-host/upgrading/outdated/493.en.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/493.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/494.en.mdx": "2026-04-26T21:08:47+08:00",
......@@ -394,12 +406,12 @@
"content/self-host/upgrading/outdated/497.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/498.en.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/498.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/499.en.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/499.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/outdated/499.en.mdx": "2026-05-07T14:11:45+08:00",
"content/self-host/upgrading/outdated/499.mdx": "2026-05-07T14:11:45+08:00",
"content/self-host/upgrading/upgrade-intruction.en.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/upgrade-intruction.mdx": "2026-04-26T21:08:47+08:00",
"content/toc.en.mdx": "2026-05-06T18:25:24+08:00",
"content/toc.mdx": "2026-05-06T18:25:24+08:00",
"content/toc.en.mdx": "2026-05-07T14:11:45+08:00",
"content/toc.mdx": "2026-05-07T14:11:45+08:00",
"content/use-cases/app-cases/dalle3.en.mdx": "2026-04-26T21:08:47+08:00",
"content/use-cases/app-cases/dalle3.mdx": "2026-04-26T21:08:47+08:00",
"content/use-cases/app-cases/english_essay_correction_bot.en.mdx": "2026-04-26T21:08:47+08:00",
......@@ -414,22 +426,10 @@
"content/use-cases/app-cases/lab_appointment.mdx": "2026-04-26T21:08:47+08:00",
"content/use-cases/app-cases/multi_turn_translation_bot.en.mdx": "2026-04-26T21:08:47+08:00",
"content/use-cases/app-cases/multi_turn_translation_bot.mdx": "2026-04-26T21:08:47+08:00",
"content/use-cases/app-cases/submit_application_template.en.mdx": "2026-04-26T21:08:47+08:00",
"content/use-cases/app-cases/submit_application_template.mdx": "2026-04-26T21:08:47+08:00",
"content/use-cases/app-cases/submit_application_template.en.mdx": "2026-05-07T14:11:45+08:00",
"content/use-cases/app-cases/submit_application_template.mdx": "2026-05-07T14:11:45+08:00",
"content/use-cases/app-cases/translate-subtitle-using-gpt.en.mdx": "2026-04-26T21:08:47+08:00",
"content/use-cases/app-cases/translate-subtitle-using-gpt.mdx": "2026-04-26T21:08:47+08:00",
"content/use-cases/external-integration/dingtalk.en.mdx": "2026-04-26T21:08:47+08:00",
"content/use-cases/external-integration/dingtalk.mdx": "2026-04-26T21:08:47+08:00",
"content/use-cases/external-integration/feishu.en.mdx": "2026-04-26T21:08:47+08:00",
"content/use-cases/external-integration/feishu.mdx": "2026-04-26T21:08:47+08:00",
"content/use-cases/external-integration/official_account.en.mdx": "2026-04-26T21:08:47+08:00",
"content/use-cases/external-integration/official_account.mdx": "2026-04-26T21:08:47+08:00",
"content/use-cases/external-integration/openapi.en.mdx": "2026-04-26T21:08:47+08:00",
"content/use-cases/external-integration/openapi.mdx": "2026-04-26T21:08:47+08:00",
"content/use-cases/external-integration/wechat.en.mdx": "2026-04-26T21:08:47+08:00",
"content/use-cases/external-integration/wechat.mdx": "2026-04-26T21:08:47+08:00",
"content/use-cases/external-integration/wecom.en.mdx": "2026-04-26T21:08:47+08:00",
"content/use-cases/external-integration/wecom.mdx": "2026-04-26T21:08:47+08:00",
"content/use-cases/index.en.mdx": "2026-04-26T21:08:47+08:00",
"content/use-cases/index.mdx": "2026-04-26T21:08:47+08:00"
"content/use-cases/index.en.mdx": "2026-05-07T14:11:45+08:00",
"content/use-cases/index.mdx": "2026-05-07T14:11:45+08:00"
}
\ No newline at end of file
{
"introduction": "Introduction",
"guide": "Guide",
"version": "Editions",
"api_reference": "API Reference",
"use-cases": "Use Cases",
"selfHost": "Self-Host",
......
{
"introduction": "使用文档",
"guide": "使用指南",
"version": "版本介绍",
"api_reference": "API 文档",
"use-cases": "使用场景",
"selfHost": "自部署",
......
......@@ -6,6 +6,8 @@ export const i18n: I18nConfig = {
hideLocale: 'never'
};
export const defaultHomePath = '/guide/getting-started';
export async function getTranslations(locale: string) {
const translations = await import(`@/i18n/${locale}/common.json`);
return translations.default;
......@@ -32,7 +34,7 @@ export function t(key: string, locale?: string) {
/**
* Get localized URL path based on i18n configuration
* @param path - The base path (e.g., '/introduction')
* @param path - The base path (e.g., '/guide')
* @param lang - The language code
* @returns Localized path with language prefix if needed
*/
......
import type * as React from 'react';
export function mergeRefs<T>(...refs: (React.Ref<T> | undefined)[]): React.RefCallback<T> {
export function mergeRefs<T>(...refs: (React.LegacyRef<T> | undefined)[]): React.RefCallback<T> {
return (value) => {
refs.forEach((ref) => {
if (typeof ref === 'function') {
ref(value);
} else if (ref) {
ref.current = value;
} else if (ref && typeof ref !== 'string') {
(ref as { current: T | null }).current = value;
}
});
};
......
import { type PageTree } from 'fumadocs-core/server';
const VIRTUAL_SECTION_ID_SUFFIX = '#virtual-section';
const isSeparator = (node: PageTree.Node): node is PageTree.Separator => node.type === 'separator';
const groupSeparatorSections = (nodes: PageTree.Node[]): PageTree.Node[] => {
const grouped: PageTree.Node[] = [];
let currentSection: PageTree.Folder | null = null;
for (const node of nodes) {
if (isSeparator(node) && node.name) {
currentSection = {
$id: `${node.$id ?? `section-${grouped.length}`}${VIRTUAL_SECTION_ID_SUFFIX}`,
type: 'folder',
name: node.name,
icon: node.icon,
children: []
};
grouped.push(currentSection);
continue;
}
const nextNode =
node.type === 'folder'
? {
...node,
children: groupSeparatorSections(node.children)
}
: node;
if (currentSection) {
currentSection.children.push(nextNode);
} else {
grouped.push(nextNode);
}
}
return grouped;
};
export const normalizePageTreeSections = (tree: PageTree.Root): PageTree.Root => ({
...tree,
children: groupSeparatorSections(tree.children)
});
......@@ -10,6 +10,14 @@ export const source = loader({
// it assigns a URL to your pages
baseUrl: '/',
source: docs.toFumadocsSource(),
pageTree: {
attachFile(node, file) {
return {
...node,
sidebarTag: file?.data.sidebarTag
};
}
},
icon(iconName) {
return iconName && icons[iconName as keyof typeof icons]
? createElement(icons[iconName as keyof typeof icons])
......
import { createI18nMiddleware } from 'fumadocs-core/i18n';
import { i18n } from '@/lib/i18n';
import { defaultHomePath, i18n } from '@/lib/i18n';
import { type NextRequest, NextResponse } from 'next/server';
// Old path redirects mapping. Keys/values are POST-strip (no /docs prefix).
// Old links like /docs/foo are first stripped to /foo, then matched here.
const exactMap: Record<string, string> = {
'': '/introduction',
'/intro': '/introduction',
'': defaultHomePath,
'/intro': defaultHomePath,
'/guide/dashboard/workflow/coreferenceresolution':
'/introduction/guide/dashboard/workflow/coreferenceResolution',
'/guide/admin/sso_dingtalk':
'/introduction/guide/admin/sso#/introduction/guide/admin/sso#钉钉',
'/guide/knowledge_base/rag': '/introduction/guide/knowledge_base/RAG',
'/commercial/intro': '/introduction/commercial',
'/guide/build/workflow/nodes/coreferenceResolution',
'/guide/admin/sso_dingtalk': '/guide/admin/sso#钉钉',
'/guide/knowledge_base/rag': '/guide/dataset/rag',
'/commercial/intro': '/guide/version/commercial',
'/upgrading/intro': '/self-host/upgrading/upgrade-intruction',
'/upgrading': '/self-host/upgrading/upgrade-intruction',
'/introduction/shopping_cart/intro/': '/introduction/commercial',
'/introduction/cloud': '/introduction/cloud/intro',
'/protocol/terms': '/introduction/cloud/terms',
'/protocol/privacy': '/introduction/cloud/privacy',
'/introduction/shopping_cart/intro': '/guide/version/commercial',
'/introduction/cloud': '/guide/version/cloud/intro',
'/protocol/terms': '/guide/version/cloud/terms',
'/protocol/privacy': '/guide/version/cloud/privacy',
'/introduction/development/docker': '/self-host/deploy/docker',
'/introduction/development/sealos': '/self-host/deploy/sealos',
'/introduction/development/intro': '/self-host/dev',
'/introduction/development/object-storage': '/self-host/config/object-storage'
'/introduction/development/object-storage': '/self-host/config/object-storage',
'/introduction': defaultHomePath,
'/guide/getting-started/video-tutorial': 'https://video.fastgpt.cn/videos',
// navbar 重定向
'/guide': defaultHomePath,
'/use-cases': '/use-cases/app-cases/submit_application_template',
'/self-host': '/self-host/deploy/docker',
'/openapi': '/openapi/intro',
'/faq': '/faq/app'
};
// 前缀匹配
const prefixMap: Record<string, string> = {
'/FAQ': '/faq',
'/guide': '/introduction/guide',
'/shopping_cart': '/introduction/shopping_cart',
'/shopping_cart': '/guide/version/commercial',
'/upgrading': '/self-host/upgrading',
'/development': '/self-host',
'/introduction/development/openapi': '/openapi',
'/introduction/development': '/self-host'
'/introduction/development': '/self-host',
'/introduction/version': '/guide/version',
'/introduction/cloud': '/guide/version/cloud',
'/introduction/opensource': '/guide/version/opensource',
'/introduction': '/guide',
'/version': '/guide/version'
};
const i18nMiddleware = createI18nMiddleware(i18n);
function applyRedirectMaps(path: string): string | null {
if (path in exactMap) return exactMap[path];
const normalizedPath = path.length > 1 ? path.replace(/\/+$/, '') : path;
if (normalizedPath in exactMap) return exactMap[normalizedPath];
for (const [oldPrefix, newPrefix] of Object.entries(prefixMap)) {
if (path.startsWith(oldPrefix)) {
return newPrefix + path.slice(oldPrefix.length);
if (normalizedPath.startsWith(oldPrefix)) {
return newPrefix + normalizedPath.slice(oldPrefix.length);
}
}
return null;
}
function createRedirectUrl(target: string, request: NextRequest, lang: string) {
if (/^https?:\/\//i.test(target)) {
return new URL(target);
}
return new URL(`/${lang}${target || '/'}`, request.url);
}
export default function middleware(request: NextRequest) {
const { pathname } = request.nextUrl;
......@@ -68,17 +91,14 @@ export default function middleware(request: NextRequest) {
const stripped = pathWithoutLang.slice('/docs'.length); // '' for /docs, /foo for /docs/foo
const mapped = applyRedirectMaps(stripped);
const finalPath = mapped ?? stripped;
return NextResponse.redirect(
new URL(`/${lang}${finalPath || '/'}`, request.url),
301
);
return NextResponse.redirect(createRedirectUrl(finalPath, request, lang), 301);
}
// Non-/docs paths still consult the same maps so that direct hits on old
// canonical paths (e.g. /upgrading) get redirected to their new home.
const mapped = applyRedirectMaps(pathWithoutLang);
if (mapped !== null && mapped !== pathWithoutLang) {
return NextResponse.redirect(new URL(`/${lang}${mapped || '/'}`, request.url), 301);
return NextResponse.redirect(createRedirectUrl(mapped, request, lang), 301);
}
// Build enhanced request headers so server components (e.g. (docs)/layout)
......
import { createMDX } from 'fumadocs-mdx/next';
import type { NextConfig } from 'next';
const withMDX = createMDX();
/** @type {import('next').NextConfig} */
const config = {
const config:NextConfig = {
output: 'standalone',
reactStrictMode: true,
compress: true,
......
This source diff could not be displayed because it is too large. You can view the blob instead.
{
"name": "@fastgpt/document",
"version": "0.0.0",
"version": "1.0.0",
"private": true,
"scripts": {
"build": "next build",
......
......@@ -7,7 +7,8 @@ export const docs = defineDocs({
dir: 'content',
docs: {
schema: frontmatterSchema.extend({
title: z.string().optional().default('Untitled')
title: z.string().optional().default('Untitled'),
sidebarTag: z.string().optional()
})
},
meta: {
......
......@@ -25,6 +25,13 @@
}
]
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", "app/not-found.tsx"],
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts",
".next/dev/types/**/*.ts",
"app/not-found.tsx"
],
"exclude": ["node_modules"]
}
......@@ -29,28 +29,28 @@ export const ApiDatasetTypeMap: Record<
avatar: 'core/dataset/externalDatasetColor',
label: i18nT('dataset:api_file'),
collectionLabel: i18nT('common:File'),
courseUrl: '/introduction/guide/knowledge_base/api_dataset/'
courseUrl: '/guide/dataset/third-party/api_dataset'
},
[DatasetTypeEnum.feishu]: {
icon: 'core/dataset/feishuDatasetOutline',
avatar: 'core/dataset/feishuDatasetColor',
label: i18nT('dataset:feishu_dataset'),
collectionLabel: i18nT('common:File'),
courseUrl: '/introduction/guide/knowledge_base/lark_dataset/'
courseUrl: '/guide/dataset/third-party/lark_dataset'
},
[DatasetTypeEnum.yuque]: {
icon: 'core/dataset/yuqueDatasetOutline',
avatar: 'core/dataset/yuqueDatasetColor',
label: i18nT('dataset:yuque_dataset'),
collectionLabel: i18nT('common:File'),
courseUrl: '/introduction/guide/knowledge_base/yuque_dataset/'
courseUrl: '/guide/dataset/third-party/yuque_dataset'
},
[DatasetTypeEnum.dingtalk]: {
icon: 'core/dataset/dingtalkDatasetOutline',
avatar: 'core/dataset/dingtalkDatasetColor',
label: i18nT('dataset:dingtalk_dataset'),
collectionLabel: i18nT('common:File'),
courseUrl: '/introduction/guide/knowledge_base/dingtalk_dataset/'
courseUrl: '/guide/dataset/third-party/dingtalk_dataset'
}
};
export const DatasetTypeMap: Record<
......@@ -81,7 +81,7 @@ export const DatasetTypeMap: Record<
avatar: 'core/dataset/websiteDatasetColor',
label: i18nT('dataset:website_dataset'),
collectionLabel: i18nT('common:Website'),
courseUrl: '/introduction/guide/knowledge_base/websync/'
courseUrl: '/guide/dataset/websync'
},
[DatasetTypeEnum.externalFile]: {
icon: 'core/dataset/externalDatasetOutline',
......
......@@ -32,7 +32,7 @@ export const LoopNode: FlowNodeTemplateType = {
name: i18nT('workflow:loop'),
intro: i18nT('workflow:intro_loop'),
showStatus: true,
courseUrl: '/introduction/guide/dashboard/workflow/loop/',
courseUrl: '/guide/build/workflow/nodes/loop',
inputs: [
{
key: NodeInputKeyEnum.nestedInputArray,
......
......@@ -55,7 +55,7 @@ export const AiChatModule: FlowNodeTemplateType = {
intro: i18nT('workflow:template.ai_chat_intro'),
showStatus: true,
isTool: true,
courseUrl: '/introduction/guide/dashboard/workflow/ai_chat/',
courseUrl: '/guide/build/workflow/nodes/ai_chat',
version: '4.9.7',
catchError: false,
inputs: [
......
......@@ -18,7 +18,7 @@ export const AssignedAnswerModule: FlowNodeTemplateType = {
colorSchema: 'blue',
name: i18nT('workflow:assigned_reply'),
intro: i18nT('workflow:intro_assigned_reply'),
courseUrl: '/introduction/guide/dashboard/workflow/reply/',
courseUrl: '/guide/build/workflow/nodes/reply',
isTool: true,
inputs: [
{
......
......@@ -31,7 +31,7 @@ export const ClassifyQuestionModule: FlowNodeTemplateType = {
intro: i18nT('workflow:intro_question_classification'),
showStatus: true,
version: '4.9.2',
courseUrl: '/introduction/guide/dashboard/workflow/question_classify/',
courseUrl: '/guide/build/workflow/nodes/question_classify',
inputs: [
Input_Template_SelectAIModel,
{
......
......@@ -28,7 +28,7 @@ export const ContextExtractModule: FlowNodeTemplateType = {
showStatus: true,
isTool: true,
catchError: false,
courseUrl: '/introduction/guide/dashboard/workflow/content_extract/',
courseUrl: '/guide/build/workflow/nodes/content_extract',
version: '4.9.2',
inputs: [
Input_Template_SelectAIModel,
......
......@@ -18,7 +18,7 @@ export const CustomFeedbackNode: FlowNodeTemplateType = {
colorSchema: 'yellowGreen',
name: i18nT('workflow:custom_feedback'),
intro: i18nT('workflow:intro_custom_feedback'),
courseUrl: '/introduction/guide/dashboard/workflow/custom_feedback/',
courseUrl: '/guide/build/workflow/nodes/custom_feedback',
inputs: [
{
key: NodeInputKeyEnum.textareaInput,
......
......@@ -43,7 +43,7 @@ export const DatasetConcatModule: FlowNodeTemplateType = {
intro: i18nT('workflow:intro_knowledge_base_search_merge'),
showStatus: false,
courseUrl: '/introduction/guide/dashboard/workflow/knowledge_base_search_merge/',
courseUrl: '/guide/build/workflow/nodes/knowledge_base_search_merge',
inputs: [
{
key: NodeInputKeyEnum.datasetMaxTokens,
......
......@@ -33,7 +33,7 @@ export const DatasetSearchModule: FlowNodeTemplateType = {
showStatus: true,
isTool: true,
catchError: false,
courseUrl: '/introduction/guide/dashboard/workflow/dataset_search/',
courseUrl: '/guide/build/workflow/nodes/dataset_search',
version: '4.9.2',
inputs: [
{
......
......@@ -29,7 +29,7 @@ export const HttpNode468: FlowNodeTemplateType = {
showStatus: true,
isTool: true,
catchError: false,
courseUrl: '/introduction/guide/dashboard/workflow/http/',
courseUrl: '/guide/build/workflow/nodes/http',
inputs: [
{
...Input_Template_DynamicInput,
......
......@@ -24,7 +24,7 @@ export const IfElseNode: FlowNodeTemplateType = {
name: i18nT('workflow:condition_checker'),
intro: i18nT('workflow:execute_different_branches_based_on_conditions'),
showStatus: true,
courseUrl: '/introduction/guide/dashboard/workflow/tfswitch/',
courseUrl: '/guide/build/workflow/nodes/tfswitch',
inputs: [
{
key: NodeInputKeyEnum.ifElseList,
......
......@@ -25,7 +25,7 @@ export const UserSelectNode: FlowNodeTemplateType = {
name: i18nT('app:workflow.user_select'),
intro: i18nT(`app:workflow.user_select_tip`),
isTool: true,
courseUrl: '/introduction/guide/dashboard/workflow/user-selection/',
courseUrl: '/guide/build/workflow/nodes/user-selection',
inputs: [
{
key: NodeInputKeyEnum.description,
......
......@@ -33,7 +33,7 @@ export const LafModule: FlowNodeTemplateType = {
showStatus: true,
isTool: true,
catchError: false,
courseUrl: '/introduction/guide/dashboard/workflow/laf/',
courseUrl: '/guide/build/workflow/nodes/laf',
inputs: [
{
...Input_Template_DynamicInput,
......
......@@ -30,7 +30,7 @@ export const ParallelRunNode: FlowNodeTemplateType = {
name: i18nT('workflow:parallel_run'),
intro: i18nT('workflow:intro_parallel_run'),
showStatus: true,
courseUrl: '/introduction/guide/dashboard/workflow/parallel_run/',
courseUrl: '/guide/build/workflow/nodes/parallel_run',
inputs: [
{
key: NodeInputKeyEnum.nestedInputArray,
......
......@@ -27,7 +27,7 @@ export const ReadFilesNode: FlowNodeTemplateType = {
showStatus: true,
version: '4.9.2',
isTool: false,
courseUrl: '/introduction/guide/course/fileinput/',
courseUrl: '/guide/build/general/fileInput',
inputs: [
{
key: NodeInputKeyEnum.fileUrlList,
......
......@@ -28,7 +28,7 @@ export const CodeNode: FlowNodeTemplateType = {
intro: i18nT('workflow:code_sandbox_intro'),
showStatus: true,
catchError: false,
courseUrl: '/introduction/guide/dashboard/workflow/sandbox-v2',
courseUrl: '/guide/build/workflow/nodes/sandbox-v2',
inputs: [
{
...Input_Template_DynamicInput,
......
......@@ -23,7 +23,7 @@ export const TextEditorNode: FlowNodeTemplateType = {
colorSchema: 'orange',
name: i18nT('workflow:text_concatenation'),
intro: i18nT('workflow:intro_text_concatenation'),
courseUrl: '/introduction/guide/dashboard/workflow/text_editor/',
courseUrl: '/guide/build/workflow/nodes/text_editor',
inputs: [
{
key: NodeInputKeyEnum.textareaInput,
......
......@@ -34,7 +34,7 @@ export const ToolCallNode: FlowNodeTemplateType = {
intro: i18nT('workflow:template.agent_intro'),
showStatus: true,
catchError: false,
courseUrl: '/introduction/guide/dashboard/workflow/tool/',
courseUrl: '/guide/build/workflow/nodes/tool',
version: '4.9.2',
inputs: [
Input_Template_SettingAiModel,
......
......@@ -20,7 +20,7 @@ export const VariableUpdateNode: FlowNodeTemplateType = {
intro: i18nT('workflow:update_specified_node_output_or_global_variable'),
showStatus: false,
isTool: true,
courseUrl: '/introduction/guide/dashboard/workflow/variable_update/',
courseUrl: '/guide/build/workflow/nodes/variable_update',
inputs: [
{
key: NodeInputKeyEnum.updateList,
......
......@@ -219,7 +219,7 @@
"comfirm_import": "Confirm import",
"comfirm_leave_page": "Confirm to Leave This Page?",
"comfirn_create": "Confirm Creation",
"commercial_function_tip": "Please Upgrade to the Commercial Version to Use This Feature: https://doc.fastgpt.cn/introduction/commercial/",
"commercial_function_tip": "Please Upgrade to the Commercial Version to Use This Feature: https://doc.fastgpt.cn/guide/version/commercial",
"community_support": "community support",
"compliance.chat": "The content is generated by third-party AI and cannot be guaranteed to be true and accurate. It is for reference only.",
"compliance.dataset": "Please ensure that your content strictly complies with relevant laws and regulations and avoid containing any illegal or infringing content. \nPlease be careful when uploading materials that may contain sensitive information.",
......
......@@ -34,7 +34,7 @@
"expired_tips": "已经过期了哦~",
"general_info": "通用信息",
"group": "组",
"help_document": "帮助文档",
"help_document": "使用文档",
"member_amount": "成员数量",
"member_name": "成员名",
"month": "月",
......
......@@ -219,7 +219,7 @@
"comfirm_import": "确认导入",
"comfirm_leave_page": "确认离开该页面?",
"comfirn_create": "确认创建",
"commercial_function_tip": "请升级商业版后使用该功能:https://doc.fastgpt.cn/introduction/commercial/",
"commercial_function_tip": "请升级商业版后使用该功能:https://doc.fastgpt.cn/guide/version/commercial",
"community_support": "社区支持",
"compliance.chat": "内容由第三方 AI 生成,无法确保真实准确,仅供参考",
"compliance.dataset": "请确保您的内容严格遵守相关法律法规,避免包含任何违法或侵权的内容。请谨慎上传可能涉及敏感信息的资料。",
......
......@@ -217,7 +217,7 @@
"comfirm_import": "確認匯入",
"comfirm_leave_page": "確認離開此頁面?",
"comfirn_create": "確認建立",
"commercial_function_tip": "請升級為商業版後使用此功能:https://doc.fastgpt.cn/introduction/commercial/",
"commercial_function_tip": "請升級為商業版後使用此功能:https://doc.fastgpt.cn/guide/version/commercial",
"community_support": "社區支持",
"compliance.chat": "內容由第三方 AI 產生,無法保證其真實性與準確性,僅供參考。",
"compliance.dataset": "請確保您的內容嚴格遵守相關法律法規,避免包含任何違法或侵權的內容。\n在上傳可能涉及敏感資訊的資料時請務必謹慎。",
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -8,6 +8,7 @@ packages:
- pro/admin
- pro/sso
- document/
- scripts/icon
- sdk/*
......
Subproject commit a10974c0a73ca45f4e041738e5adb227923e289c
Subproject commit 46972180ebc8de2300a24826cc1b41caae8bfa42
......@@ -81,7 +81,7 @@ const ProModal = (props: { isOpen?: boolean; onClose?: () => void }) => {
<Button
w={'full'}
onClick={() => {
window.open(getDocPath('/introduction/commercial'), '_blank');
window.open(getDocPath('/guide/version/commercial'), '_blank');
}}
fontSize={'14px'}
>
......
......@@ -178,7 +178,7 @@ const AIChatSettingsModal = ({
w={'24px'}
cursor={'pointer'}
onClick={() => {
window.open(getDocPath('/introduction/guide/course/ai_settings/'), '_blank');
window.open(getDocPath('/guide/build/general/ai_settings'), '_blank');
}}
/>
)}
......
......@@ -144,9 +144,7 @@ const InputGuideConfig = ({
<Flex mt={8} alignItems={'center'}>
<FormLabel>{t('chat:custom_input_guide_url')}</FormLabel>
<Flex
onClick={() =>
window.open(getDocPath('/introduction/guide/course/chat_input_guide/'))
}
onClick={() => window.open(getDocPath('/guide/build/general/chat_input_guide'))}
color={'primary.700'}
alignItems={'center'}
cursor={'pointer'}
......
......@@ -105,7 +105,7 @@ const LafAccountModal = ({
<Box fontSize={'sm'} color={'myGray.500'}>
<Box>{t('common:support.user.Laf account intro')}</Box>
<Box textDecoration={'underline'}>
<Link href={getDocPath('/introduction/guide/dashboard/workflow/laf/')} isExternal>
<Link href={getDocPath('/guide/build/workflow/nodes/laf')} isExternal>
{t('common:support.user.Laf account course')}
</Link>
</Box>
......
......@@ -291,23 +291,22 @@ function CreateCustomDomainModal<T extends 'create' | 'refresh'>({
</Tbody>
</Table>
<Flex>
<Link
href={
feConfigs.openAPIDocUrl ||
getDocPath('/introduction/guide/team_permissions/customDomain')
}
href={feConfigs.openAPIDocUrl || getDocPath('/guide/workspace/customDomain')}
target={'_blank'}
mt="2"
ml="2"
color={'primary.500'}
fontSize={'sm'}
display={'inline-flex'}
alignItems={'center'}
>
<Flex alignItems={'center'}>
<Icon w={'17px'} h={'17px'} name="book" mr="1" />
{t('common:read_doc')}
</Flex>
</Link>
</Flex>
</Flex>
</ModalBody>
<ModalFooter>
<Button onClick={onClose} colorScheme="gray" variant="outline" mr={3}>
......
......@@ -90,7 +90,7 @@ const DingTalkEditModal = ({
<Box color="myGray.600">{t('publish:dingtalk.api')}</Box>
{feConfigs?.docUrl && (
<Link
href={getDocPath('/use-cases/external-integration/dingtalk/')}
href={getDocPath('/guide/build/publish/dingtalk')}
target={'_blank'}
ml={2}
color={'primary.500'}
......
......@@ -74,7 +74,7 @@ const DingTalk = ({ appId }: { appId: string }) => {
</Box>
{feConfigs?.docUrl && (
<Link
href={getDocPath('/use-cases/external-integration/dingtalk/')}
href={getDocPath('/guide/build/publish/dingtalk')}
target={'_blank'}
color={'primary.500'}
fontSize={'sm'}
......
......@@ -90,7 +90,7 @@ const FeiShuEditModal = ({
<Box color="myGray.600">{t('publish:feishu_api')}</Box>
{feConfigs?.docUrl && (
<Link
href={getDocPath('/use-cases/external-integration/feishu/')}
href={getDocPath('/guide/build/publish/feishu')}
target={'_blank'}
ml={2}
color={'primary.500'}
......
......@@ -73,7 +73,7 @@ const FeiShu = ({ appId }: { appId: string }) => {
</Box>
{feConfigs?.docUrl && (
<Link
href={getDocPath('/use-cases/external-integration/feishu')}
href={getDocPath('/guide/build/publish/feishu')}
target={'_blank'}
color={'primary.500'}
fontSize={'sm'}
......
......@@ -96,7 +96,7 @@ const OffiAccountEditModal = ({
<Box color="myGray.600">{t('publish:official_account.params')}</Box>
{feConfigs?.docUrl && (
<Link
href={getDocPath('/use-cases/external-integration/official_account/')}
href={getDocPath('/guide/build/publish/official_account')}
target={'_blank'}
ml={2}
color={'primary.500'}
......
......@@ -75,7 +75,7 @@ const OffiAccount = ({ appId }: { appId: string }) => {
{feConfigs?.docUrl && (
<Link
href={getDocPath('/use-cases/external-integration/official_account')}
href={getDocPath('/guide/build/publish/official_account')}
target={'_blank'}
ml={2}
color={'primary.500'}
......
......@@ -72,7 +72,7 @@ const Wechat = ({ appId }: { appId: string }) => {
</Box>
{feConfigs?.docUrl && (
<Link
href={getDocPath('/use-cases/external-integration/wechat')}
href={getDocPath('/guide/build/publish/wechat')}
target={'_blank'}
ml={2}
color={'primary.500'}
......
......@@ -189,7 +189,7 @@ const WecomEditModal = ({
<Flex>
{feConfigs?.docUrl && (
<Link
href={getDocPath('/use-cases/external-integration/wecom')}
href={getDocPath('/guide/build/publish/wecom')}
target={'_blank'}
ml={2}
color={'primary.500'}
......
......@@ -75,7 +75,7 @@ const Wecom = ({ appId }: { appId: string }) => {
</Box>
{feConfigs?.docUrl && (
<Link
href={getDocPath('/use-cases/external-integration/wecom')}
href={getDocPath('/guide/build/publish/wecom')}
target={'_blank'}
ml={2}
color={'primary.500'}
......
......@@ -197,7 +197,10 @@ const ImportPluginModal = ({
leftIcon={<MyIcon name={'book'} w={'14px'} />}
color={'primary.600'}
onClick={() => {
window.open(getDocPath('/introduction/guide/plugins/upload_system_tool'), '_blank');
window.open(
getDocPath('/guide/build/tools/system-plugins/upload_system_tool'),
'_blank'
);
}}
>
{t('common:Instructions')}
......
......@@ -77,7 +77,7 @@ const TemplateImportModal = ({
display={'flex'}
alignItems={'center'}
gap={0.5}
href={getDocPath('/introduction/guide/knowledge_base/template/')}
href={getDocPath('/guide/dataset/template')}
color="primary.600"
target="_blank"
>
......
......@@ -125,7 +125,7 @@ const WebsiteConfigModal = ({
{t('common:core.dataset.website.Config Description')}
{feConfigs?.docUrl && (
<Link
href={getDocPath('/introduction/guide/knowledge_base/websync/')}
href={getDocPath('/guide/dataset/websync')}
target="_blank"
textDecoration={'underline'}
color={'blue.700'}
......
......@@ -82,10 +82,7 @@ const CustomLinkImport = () => {
{t('common:core.dataset.website.Selector')}
<Box color={'myGray.500'} fontSize={'sm'}>
{feConfigs?.docUrl && (
<Link
href={getDocPath('/introduction/guide/knowledge_base/websync/#选择器如何使用')}
target="_blank"
>
<Link href={getDocPath('/guide/dataset/websync#选择器如何使用')} target="_blank">
{t('common:core.dataset.website.Selector Course')}
</Link>
)}
......
......@@ -24,14 +24,14 @@ const PolicyTip = ({ isCenter }: { isCenter: boolean }) => {
div: <Flex justifyContent={'center'} />,
termsLink: (
<Link
href={getDocPath('/introduction/cloud/terms/')}
href={getDocPath('/guide/version/cloud/terms')}
target={'_blank'}
color={'primary.700'}
/>
),
privacyLink: (
<Link
href={getDocPath('/introduction/cloud/privacy/')}
href={getDocPath('/guide/version/cloud/privacy')}
target={'_blank'}
color={'primary.700'}
/>
......
......@@ -75,7 +75,7 @@ const CookiesModal = () => {
textDecorationLine={'underline'}
cursor={'pointer'}
w={'fit-content'}
onClick={() => window.open(getDocPath('/introduction/cloud/privacy/'), '_blank')}
onClick={() => window.open(getDocPath('/guide/version/cloud/privacy'), '_blank')}
>
{t('login:privacy_policy')}
</Box>
......
......@@ -755,7 +755,7 @@ const Other = ({ onOpenContact }: { onOpenContact: () => void }) => {
<Grid gridGap={4}>
{feConfigs?.docUrl && (
<Link
href={getDocPath('/introduction')}
href={getDocPath('/guide/getting-started')}
target="_blank"
textDecoration={'none !important'}
{...ButtonStyles}
......
......@@ -458,7 +458,7 @@ const ToolkitMarketplace = ({ marketplaceUrl }: { marketplaceUrl: string }) => {
{feConfigs?.docUrl && (
<Button
onClick={() => {
const url = getDocPath('/introduction/guide/plugins/dev_system_tool');
const url = getDocPath('/guide/build/tools/system-plugins/dev_system_tool');
if (url) {
window.open(url, '_blank');
}
......
......@@ -173,7 +173,10 @@ const ToolKitProvider = ({ MenuIcon }: { MenuIcon: JSX.Element }) => {
<Button
mr={4}
onClick={() =>
window.open(getDocPath('/introduction/guide/plugins/dev_system_tool'), '_blank')
window.open(
getDocPath('/guide/build/tools/system-plugins/dev_system_tool'),
'_blank'
)
}
>
{t('app:toolkit_contribute_resource')}
......
......@@ -9,7 +9,6 @@ import ToolCard, { type ToolCardItemType } from '@fastgpt/web/components/core/pl
import ToolTagFilterBox from '@fastgpt/web/components/core/plugin/tool/TagFilterBox';
import ToolDetailDrawer from '@fastgpt/web/components/core/plugin/tool/ToolDetailDrawer';
import EmptyTip from '@fastgpt/web/components/common/EmptyTip';
import type { ToolListItem } from '@/pages/api/tool/list';
import { usePagination } from '@fastgpt/web/hooks/usePagination';
import { parseI18nString } from '@fastgpt/global/common/i18n/utils';
import {
......@@ -241,7 +240,7 @@ const ToolkitMarketplace = () => {
<Button
onClick={() => {
window.open(
'https://doc.fastgpt.io/introduction/guide/plugins/dev_system_tool',
'https://doc.fastgpt.io/guide/build/tools/system-plugins/dev_system_tool',
'_blank'
);
}}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment