Skip to content

[Feature] rerank node supports matching threshold setting that meets direct answers #2711

@xxyj6450

Description

@xxyj6450

MaxKB Version

1.10.2

Please describe your needs or suggestions for improvements

知识库检索支持返回一个满足直接回答的结果列表,希望rerank节点也支持此特性,以便于直接回答高匹配度的知识而减少不必要的大模型推理

Please describe the solution you suggest

1.rerank节点支持设定满足直接回答的阈值
2.rerank的输出变量中增加满足直接回答结果列表

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