Advanced RAG Techniques
Context Compression
Context compression refines RAG retrieval by filtering out irrelevant or redundant data, reducing token usage and costs. It uses a base retriever to find documents, and then a compressor to extract key info. Approaches like embedding-based and lexical-based compression preserve essential content while optimizing efficiency.
Related Content: