How retrieval actually works
Grounding a language model in documents it was never trained on, from the mechanics up to when not to bother.
You have heard RAG described and want the machinery underneath it.
4 posts · about 11 minutes
- 1Are LLMs Actually Thinking?Research
Start with what the model is doing at all: tokens, vectors, attention.
- 2How Retrieval-Augmented Generation WorksEvaluation
The loop itself — embedding, cosine similarity, context injection.
- 3Document Question-Answering with Pinecone and GeminiEngineering
The same loop as working code, against a real vector database.
- 4CAG Over RAG, When Speed Is the ConstraintInference
Then the case against it, when latency is the constraint that matters.