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]AI 对话节点的上下文输出变量{history} #2421

Open
lulanghero opened this issue Feb 27, 2025 · 2 comments
Open

[Feature]AI 对话节点的上下文输出变量{history} #2421

lulanghero opened this issue Feb 27, 2025 · 2 comments
Assignees

Comments

@lulanghero
Copy link

MaxKB Version

1.10.1

Please describe your needs or suggestions for improvements

能否将每个AI模型在问答对话中产生的结果作为一个单独的输出的历史记录呢,作为一个{AI.history}
以及向量库检索可以按照分段标题进行检索吗,当我们处理了标准知识库,标题将直接对应分段,根据标题进行向量检索将更好的提高检索结果的效果

Please describe the solution you suggest

No response

Additional Information

No response

@baixin513
Copy link
Contributor

感谢反馈,1、AI 对话节点的上下文可以考虑一下输出变量;
2、分段标题和内容都在同一表中,只检索分段标题和检索整个分段效率是一样的。现在只要命中标题就会召回分段,不会有影响,暂不考虑。

@shaohuzhang1
Copy link
Contributor

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


Thanks for feedback, 1. The context of the AI ​​dialogue node can consider the output variables;
2. The segment title and content are in the same table. Only searching the segment title is the same as searching the entire segment. Now, as long as the title is hit, the segment will be recalled, and there will be no impact, so I will not consider it for the time being.

@baixin513 baixin513 changed the title [Feature] [Feature]AI 对话节点的上下文输出变量{history}变量 Feb 27, 2025
@baixin513 baixin513 changed the title [Feature]AI 对话节点的上下文输出变量{history}变量 [Feature]AI 对话节点的上下文输出变量{history} Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants