newsReddit r/artificialTrust 52 · CommunityPublished 28d agoLive · 28d ago
I cut a RAG pipeline's response time from 90 seconds to 4. Never touched the model
Last year I worked with an AI startup, an Oxford spinout. Their product answered research questions through a RAG pipeline. It worked, but every query took around 90 seconds. Long enough that users were bailing before the answer even loaded. The obvious move is to blame the model and go bigger. That wasn't it. The retrieval layer was doing way more work than it needed to on every single query: bloated embeddings, no caching, redundant calls stacking up as
Why these links exist
Every edge carries a method, confidence, and the source snippet that justified it — so bad links are debuggable.
- PossiblePossibly related (embedding) · 47%How Much is Left? LLMs Linearly Encode Their Remaining Output Length →
- PossiblePossibly related (embedding) · 48%NovaSearch-Team/RAG-Retrieval →
