Optimize Your RAG: The 8 Techniques That Make a Real Difference
You're probably optimizing in the wrong place
When a RAG isn't working well, here's what 90% of teams do: they change the prompt.
They rephrase the instructions, try different models, adjust the temperature. And sometimes it helps a little. But most of the time, that's not where the problem is.
Jason Liu, one of the most followed RAG experts, has a framing I find spot-on: "Before touching anything, reach 97% recall in retrieval."
97% recall means that in 97 out of 100 cases, the chunk containing the right answer is among the results you pass to the LLM. If you're not there, the best prompt in the world won't change a thing. The LLM cannot invent information that isn't in its context.
The real RAG optimization order is: measure first, then retrieval, then generation. Not the other way around.