-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
[Feature]关于知识库为空时的embedding模型检索的优化 #6746
Copy link
Copy link
Closed
Labels
area:coreThe bug / feature is about astrbot's core, backendThe bug / feature is about astrbot's core, backendenhancementNew feature or requestNew feature or requestfeature:knowledge-baseThe bug / feature is about knowledge baseThe bug / feature is about knowledge base
Metadata
Metadata
Assignees
Labels
area:coreThe bug / feature is about astrbot's core, backendThe bug / feature is about astrbot's core, backendenhancementNew feature or requestNew feature or requestfeature:knowledge-baseThe bug / feature is about knowledge baseThe bug / feature is about knowledge base
Description / 描述
如题,当执行知识库检索时,若知识库为空,自然不会召回任何结果,但是框架依旧会执行查询embedding的操作,实际上这一次访问是完全无效的,可以直接跳过知识库检索过程。
Use Case / 使用场景
配置文件配置了全为空的知识库
Willing to Submit PR? / 是否愿意提交PR?
Code of Conduct