labring / FastGPT

FastGPT is a knowledge-based platform built on the LLMs, offers a comprehensive suite of out-of-the-box capabilities such as data processing, RAG retrieval, and visual AI workflow orchestration, letting you easily develop and deploy complex question-answering systems without the need for extensive setup or configuration.
https://tryfastgpt.ai
Other
17.49k stars 4.69k forks source link

功能需求-判断器多个分支简化 #1277

Closed lijiajun1997 closed 5 months ago

lijiajun1997 commented 6 months ago

例行检查

功能描述 如果需要使用判断器生成多个分支,需要叠很多个判断器反复if else,对于流程编排会增加很多工作。 能否简化逻辑,在判断器中直接进行多个分支设定,形成类似于分类器的功能。 应用场景 例如我需要在全局变量中由用户选择功能选项,然后对于这个变量进行不同的编排路径,需要设置多个判断器去进行分类。 相关示例 类似于分类器

c121914yu commented 5 months ago

https://github.com/labring/FastGPT/releases/tag/v4.8-alpha 支持if elseif else组合