Doc: update doc (#1391)

* Doc: update doc

* Doc: update video link
This commit is contained in:
左风
2024-05-08 22:38:11 +08:00
committed by GitHub
parent 917e4e9262
commit 2230bc40c5
39 changed files with 41 additions and 105 deletions

View File

@@ -29,16 +29,6 @@ weight: 357
[点击查看参数介绍](/docs/course/data_search/#搜索参数)
### 输出 - 搜索结果
输出部分给了两个 boolean 类型的搜索结果,以便根据搜索结果进行不同的处理,通常会有下方两个处理方式:
| 直接回复特定内容 | 对接普通的 gpt |
| ----------------------------- | ----------------------------- |
| ![](/imgs/flow-kbsearch2.png) | ![](/imgs/flow-kbsearch3.png) |
当然,你也可以连接到 HTTP 模块,从而实现无法从知识搜索到内容时,去进行联网搜索或者维基百科搜索。
### 输出 - 引用内容
以数组格式输出引用,长度可以为 0。意味着即使没有搜索到内容这个输出链路也会走通。