Skip to content

[Feature][RAG/GraphRAG] Support clickable citation jump to original document preview in frontend #3164

Description

@JeffQyj

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Description

当前 DB-GPT 最新版本开启 MS-RAG/GraphRAG 文档引用后,检索链路可以正常携带文档名、PDF 页码、Markdown 章节标题等元数据,大模型也可输出[1][2]上角标引用标记。
但原生前端仅纯文本罗列来源列表,不支持点击引用编号弹窗预览对应 PDF/Markdown 原文片段,大幅降低了文档引用的可追溯、可审计价值,尤其面向企业规则库、生产制度标准知识库场景非常刚需。

Use case

企业内部规范制度文档(生产计划异常判定规则、OEE 统计口径、作业 SOP 手册)入库 GraphRAG 知识库;
AI 分析报告带出[1][2]脚注引用标记;
终端用户点击上角标编号,弹窗直接查看引用文档对应原文段落 / 页码内容;
用于 OpenClaw 生产计划智能分析系统,每一条预警、分析结论均可溯源至原始制度文件,满足内审合规要求。

Related issues

None

Feature Priority

High

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions