WeKnora
WeKnora copied to clipboard
[Feature]: 知识库检索源文件引用支持
Affected Component
Backend Service & API
Problem Description
目前平台暴露的MCP工具中,智能通过ask方式获取回复中的references,来获取召回相关知识的来源信息,但是企业是有自己的智能体平台的,会在企业本身侧设定智能体的职责、行为约束,偏好等等,如果开启ask的话会走平台的内置智能体这块是否可以优化,
Proposed Solution
支持不使用ask也能获取相关的references
Alternatives
No response
Impact
Just me / a personal preference
Use Case
No response
Additional Information
No response
Confirmation
- [x] I have searched existing issues and confirmed this is a new request
- [x] I understand this request may need discussion and evaluation
我来处理内置 MCP 检索的来源引用。计划在 search_knowledge 的结构化结果中带上已有的文件名和源文件定位信息,让外部智能体可以直接引用检索结果,无需调用 ask。