Skip to content

[Feature] <html_rander>, , <echart_rander>etc., or specify the content of the reply will be carried in the history and affect the effect of multiple rounds of conversations #2877

Open
@Darren-w

Description

@Darren-w

MaxKB Version

v1.10.4

Please describe your needs or suggestions for improvements

When utilizing the content within the built-in tags <echart_rander> and <html_rander> in a designated response, the reply content from <echart_rander> or <html_rander> will appear in the conversation history, which may significantly impact and undermine the effectiveness of multi-turn interactions.
Image
Certainly, we have also discovered that in MaxKB, the number of rounds in historical chats can be set as nodes(”节点“), in which case only the questions and the AI model's responses will be included. However, if there are two AI model responses, the historical conversation will be split into two, corresponding to the historical records in the streams of different AI models respectively. Consequently, for the conversation, there may be instances where historical information disappears or the historical records are divided.

For example, by utilizing advanced orchestration styles, a three-round conversation is set up using nodes, and two AI models are employed through a decision-maker. At this point, it becomes evident that the historical records within different AI models are distinct.
Image
At this point, when the decision-maker directs the conversation to different branches, the historical record is initialized as a new, empty value.
Image

Please describe the solution you suggest

Is there a plan to address this issue in the future, ensuring the usability of built-in tags without impacting multi-turn conversations? For instance, when multiple AI models are involved, could the historical records remain unified after being set up through nodes?

Additional Information

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions