Speculative RAG with a flush gate reduced P90 latency by 38%
Start the RAG answer before routing finished, then used a small gate to either flush the buffered tokens or throw them away.
3 posts found
Start the RAG answer before routing finished, then used a small gate to either flush the buffered tokens or throw them away.
Learn how to build secure RAG pipelines with PII extraction and scrubbing. Protect sensitive information while improving retrieval quality using BAML for structured validation.
A Comprehensive RAG Evaluation