Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] New content aggregation node #2098

Open
xxyj6450 opened this issue Jan 24, 2025 · 1 comment
Open

[Feature] New content aggregation node #2098

xxyj6450 opened this issue Jan 24, 2025 · 1 comment
Assignees

Comments

@xxyj6450
Copy link

MaxKB Version

1.9.1

Please describe your needs or suggestions for improvements

希望增加内容聚合节点,可以将任意多个节点的输出内容作为输入,再对这些节点的输出内容通过脚本进行进行聚合处理。

Please describe the solution you suggest

1、新增内容聚合节点
2、可以无限添加流程中的节点,即便那些节点未连入此聚合节点(此处重点补充,由于目前工作流只支持ALL与Any的并发逻辑,而尚不支持自动忽略本次执行不到的分支,所以无法通过将节点连接到一个函数节点来实现此需求)
3、支持编写python脚本对聚合节点的输出进行处理
4、处理好节点未执行无输出的空值

Additional Information

No response

@shaohuzhang1
Copy link
Contributor

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


MaxKB Version

1.9.1

Please describe your needs or suggestions for improvements

If you want to add content aggregation nodes, you can use the output content of any number of nodes as input, and then aggregate the output content of these nodes through scripts.

Please describe the solution you suggest

  1. New content aggregation node
  2. Nodes in the process can be added infinitely, even if those nodes are not connected to this aggregation node (an important addition here is that since the current workflow only supports the concurrent logic of ALL and Any, it does not yet support automatically ignoring those that cannot be executed this time. branch, so this requirement cannot be achieved by connecting the node to a function node)
  3. Support writing python scripts to process the output of aggregation nodes
  4. Handle the null value of the node that is not executed and has no output.

Additional Information

No response

@shaohuzhang1 shaohuzhang1 changed the title [Feature] 新增内容聚合节点 [Feature] New content aggregation node Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants