Data processing method and device based on RAG architecture and electronic equipment
By implementing a tagging and reuse strategy for RAG architecture documents, the problem of excessive token consumption in the RAG architecture was solved, enabling token reuse across requests and rounds, thereby improving the system's throughput and the stability of generated content.
Patent Information
- Application Number
- CN202610288942.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-03-10
- Publication Date
- 2026-07-24
AI Technical Summary
In the RAG architecture, excessive token consumption occurs during multi-round queries, especially in high-concurrency or multi-round interaction scenarios. Existing optimization solutions have limited effectiveness, resulting in resource waste and limited throughput.
By tagging documents in the RAG architecture, tokens with duplicate or similar document content can be identified and reused. By employing document slicing, filtering, and concatenation strategies, duplicate token input can be reduced, enabling token reuse across requests and rounds.
It effectively reduces token consumption, improves system throughput and the stability of generated content, and reduces resource consumption, especially in high-concurrency and long-session scenarios.