Files
FastGPT/docSite/content/docs/workflow/modules/dataset_search.md
Archer 6b7b03c245 4.7 doc update (#1068)
* fix: plugin update

* feat: get current time plugin

* fix: ts

* perf: select app ux

* fix: ts

* perf: max w

* move code

* perf: inform tip

* fix: inform

* doc

* fix: tool handle

* perf: tmp file store

* doc

* fix: message file selector

* feat: doc

* perf: switch trigger

* doc

* fix: openapi import

* rount the number

* parse openapi schema

* fix empty line after variables (#64)

* doc image

* image size

* doc

* doc

* catch error

---------

Co-authored-by: heheer <71265218+newfish-cmyk@users.noreply.github.com>
2024-03-27 12:50:07 +08:00

1.3 KiB
Raw Blame History

title, description, icon, draft, toc, weight
title description icon draft toc weight
知识库搜索 FastGPT AI 知识库搜索模块介绍 chat false true 357

知识库搜索具体参数说明,以及内部逻辑请移步:FastGPT知识库搜索方案

特点

  • 可重复添加(复杂编排时防止线太乱,可以更美观)
  • 有外部输入
  • 有静态配置
  • 触发执行
  • 核心模块

参数说明

输入 - 关联的知识库

可以选择一个或多个相同向量模型的知识库,用于向量搜索。

输入 - 搜索参数

点击查看参数介绍

输出 - 搜索结果

输出部分给了两个 boolean 类型的搜索结果,以便根据搜索结果进行不同的处理,通常会有下方两个处理方式:

直接回复特定内容 对接普通的 gpt

当然,你也可以连接到 HTTP 模块,从而实现无法从知识搜索到内容时,去进行联网搜索或者维基百科搜索。

输出 - 引用内容

以数组格式输出引用,长度可以为 0。意味着即使没有搜索到内容这个输出链路也会走通。