update mcp doc (#4572)

This commit is contained in:
Archer
2025-04-17 12:24:59 +08:00
committed by GitHub
parent 4fad9c6025
commit 853a75c9bc
146 changed files with 115 additions and 12 deletions

View File

@@ -0,0 +1,31 @@
---
title: "判断器"
description: "FastGPT 判断器模块介绍"
icon: "input"
draft: false
toc: true
weight: 254
---
## 特点
- 可重复添加
- 有外部输入
- 触发执行
![](/imgs/judgement1.png)
## 功能
对任意变量进行`IF`判断,若满足条件则执行`IF`分支,不满足条件执行`ELSE`分支。
上述例子中若「知识库引用」变量的长度等于0则执行`IF`分支,否则执行`ELSE`分支。
支持增加更多的判断条件和分支,同编程语言中的`IF`语句逻辑相同。
## 作用
适用场景有:让大模型做判断后输出固定内容,根据大模型回复内容判断是否触发后续模块。