Context generation method, apparatus, and device
By introducing a filtering mechanism that maximizes relevance and minimizes redundancy into the RAG system, the problem of information redundancy in the generated context is solved, and high-quality and high-accuracy context generation is achieved.
CN122242450APending Publication Date: 2026-06-19BEIJING JIZHI DIGITAL TECH CO LTD
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- BEIJING JIZHI DIGITAL TECH CO LTD
- Filing Date
- 2026-03-09
- Publication Date
- 2026-06-19
Smart Images

Figure 1 
Figure 2
Abstract
This application discloses a context generation method, apparatus, and device, relating to the technical fields of artificial intelligence. The context generation method includes: acquiring user-input text data and encoding it to determine a text vector; calculating the vector similarity between the text vector and knowledge vector data to determine initial target data; performing similarity and redundancy calculations based on the text vector and the initial target data to determine the target data; and generating context data based on the target data and the text data.
Need to check novelty before this filing date? Find Prior Art