mirror of
https://github.com/langgenius/dify-docs.git
synced 2026-07-22 12:25:45 -04:00
文档问题: 变量聚合器 #2
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jondfu on GitHub (May 4, 2025).
变量聚合器异常
1.偶尔无法收到LLM输入字符串,调试经常性出问题
LLM显示已有输入内容,但是未进入聚合器,工作流线路就断了。
页面链接
https://docs.dify.ai/zh-hans/guides/workflow/node/variable-aggregator
建议修改
1.聚合器支持输入知识库检索结果和LLM输入的结果
2.聚合器需要多线程同时输入,目前是单线程录入的
当赋值多个变量,同时都有数据时,仅输入第一个变量其他变量内容都不输入了
为什么需要多条线结果同时输入
1、在智能客服场景中,并线去知识库检索和LLM聚合,参考多线路内容综合进行回答
2、一个知识检索节点如果检索多个知识库速度回很慢,并行多个知识检索节点加快检索速度
@SimontChan commented on GitHub (May 12, 2025):
我也遇到一样的问题了,并行两个知识库检索,result1、result2分别作为输入传入给变量聚合器,实际运行测试的时候发现变量聚合器的输入只有result1。
@Yevanchen commented on GitHub (Jun 3, 2025):
变量聚合器是为了解决条件分支的变量合并问题并不是为此场景而设计