MaxKB icon indicating copy to clipboard operation
MaxKB copied to clipboard

[FEATURE]开发AI判断器组件

Open DDSXIAO opened this issue 1 year ago • 3 comments

MaxKB 版本

1.7

请描述您的需求或者改进建议

现在只是多进多出的编排模式,编排流程也会逐渐庞大起来,会经常遇到需要AI分析推理意图或分类,然后再做判断器分支这样的场景。私下跟其他使用MAXKB的企业交流,他们也有很多这样的场景,配置的方法几乎都是一样的,一个AI组件,然后加一个判断器组件,这样配置起来会让编排流程变的复杂,同时也很容易配置错误,建议将这个小场景整合到一个组件中实现,这样就更方便了。

请描述你建议的实现方案

开发一个AI判断器的组件,可以在判断器直接选择AI模型、和判断分支这些,可以默认提示词,但允许用户根据自己的情况自己修改提示词内容。这个组件后面可以直接分支。这样编排的流程会更整洁,操作上也非常方便。

附加信息

No response

DDSXIAO avatar Nov 04 '24 07:11 DDSXIAO

感谢反馈,近期暂时没有排期计划。

baixin513 avatar Nov 05 '24 01:11 baixin513

最新版本的判断器,如果 同时有2个判断器,2个判断器结果都是ELSE的情况下会出错

filwu8 avatar Feb 27 '25 13:02 filwu8

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


The latest version of the judge, if there are 2 judges at the same time and the results of both judges are all ELSE, it will cause an error.

shaohuzhang1 avatar Feb 27 '25 13:02 shaohuzhang1

v2.2已支持

baixin513 avatar Oct 23 '25 05:10 baixin513

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


v2.2 is supported

shaohuzhang1 avatar Oct 23 '25 05:10 shaohuzhang1