MaxKB icon indicating copy to clipboard operation
MaxKB copied to clipboard

[Feature] The model parameters of AI dialogue node support variables

Open xxyj6450 opened this issue 10 months ago • 1 comments

MaxKB Version

1.10.2

Please describe your needs or suggestions for improvements

目前AI对话节点只有提示词支持变量,模型自定义参数、历史对话数量等都不支持变量。 所以不支持语音对话时用户自定义音色、绘画时指定绘画风格和尺寸、以图画图等特殊参数传递,也不支持动态历史聊天数量控制(比如意图识别节点已经识别到最新输入与历史对话无关,后续对话节点便无需引用历史对话)

Please describe the solution you suggest

建议AI对话节点所有参数(含自定义参数),支持引用变量及{{变量名称}}方式动态传参,可以让模型的使用更灵活,也支持更丰富的用户互动

Additional Information

No response

xxyj6450 avatar Mar 27 '25 16:03 xxyj6450

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


MaxKB Version

1.10.2

Please describe your needs or suggestions for improvements

At present, only the prompt words support variables, and the model custom parameters, the number of historical conversations, etc. do not support variables. Therefore, it does not support user-defined tone during voice conversations, specified painting style and size when painting, and pass them with special parameters such as drawings, and does not support dynamic historical chat number control (for example, the intention recognition node has recognized the latest input and has nothing to do with the historical conversation, so subsequent dialogue nodes do not need to reference historical conversations)

Please describe the solution you suggest

It is recommended that all parameters of the AI ​​dialogue node (including custom parameters) be supported to refer to variables and {{variable name}} dynamic parameters, which can make the model more flexible and support richer user interaction.

Additional Information

No response

shaohuzhang1 avatar Mar 27 '25 16:03 shaohuzhang1

感谢反馈,暂无计划

baixin513 avatar Mar 31 '25 08:03 baixin513

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


Thanks for the feedback, no plans yet

shaohuzhang1 avatar Mar 31 '25 08:03 shaohuzhang1