一种基于流式大语言模型的检索片段引用标注方法、设备及介质

By constructing a short-window buffer pool and a highlighting algorithm, the stability problem of citation tags in the streaming output of large language models is solved, thereby improving the stability and efficiency of citation tagging and enhancing the interpretability and maintainability of the system.

CN121858710BActive Publication Date: 2026-07-17BEIJING MIANBI INTELLIGENT TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BEIJING MIANBI INTELLIGENT TECH CO LTD
Filing Date
2026-01-04
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

Existing large language models cannot reliably parse citation tags during the streaming output stage, making it difficult to synchronously generate the unified citation format and citation list required for front-end display. This results in insufficient interpretability, affecting user experience and system maintainability.

Method used

During the streaming generation process, a short-window buffer pool is constructed to identify and align the source identifiers and reference fragment identifiers of the streaming text in real time, generate incremental text and a list of valid references, and select a highlighting algorithm based on the business scenario to locate and mark the text range related to the answer.

Benefits of technology

It improves the stability and efficiency of citation annotation, ensures the continuity of streaming output, provides a unified citation format and list, facilitates traceability and reproduction, and enhances the interpretability and maintainability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121858710B_ABST
    Figure CN121858710B_ABST
Patent Text Reader

Abstract

本发明公开了一种基于流式大语言模型的检索片段引用标注方法、设备及介质,属于自然语言处理技术领域,用于解决现有模型流式输出阶段无法稳定解析引用标记,前端展示所需的统一引用格式与引用清单难以从流式文本中同步产出,导致大语言模型回复的可解释性不足的技术问题。方法包括:在大语言模型流式生成过程中,获取逐步产生的流式文本及已检索到的引用片段;构建短窗口缓冲池,实时识别流式文本的来源标识,并将来源标识与引用片段对应的片段标识进行对齐处理;基于对齐后的流式文本与引用片段,生成增量正文以及有效引用清单;基于有效引用清单中的引用片段以及答案侧上下文,定位引用片段中与答案直接相关的文本范围,并进行高亮标注。
Need to check novelty before this filing date? Find Prior Art