JT / SAGE IDEAS Work with me

Glossary · RAG & Retrieval

RAG

Fetching relevant documents first, then letting the model answer using them.

Also called Retrieval-augmented generation

RAG means you fetch relevant documents first, then hand them to the model and ask it to answer using them. Instead of relying on whatever the model memorized in training, you give it the exact source text at question time. The catch: the answer is only as good as what retrieval pulls. A bad fetch quietly poisons a reply that still sounds fluent.

Why it matters

A raw model answers from frozen memory that never saw your private data. Ask it about your refund policy or last week's changelog and it will guess, often confidently wrong. RAG grounds the answer in your actual documents, so it quotes your real policy instead of inventing one. You update its behavior by editing the documents, with no retraining.

How it works

Two stages. First you index your documents: split them into chunks and store embeddings. Then at query time you retrieve the closest chunks, often blending vector and keyword matching with hybrid search. Those chunks go into the prompt as context, and the model answers from them. You measure the pipeline in halves: retrieval quality with context precision and context recall, generation quality with faithfulness and answer relevancy.

Receipts · the newsletter

Receipts: AI engineering, with the evidence attached.

One real finding with its proof, one runnable lab, and one thing I would do differently. Weekly, Tuesday morning, a five-minute read.

required

Free. One email a week. Confirm first, unsubscribe in one click. How it works

Not ready to talk yet?

Get the AI release-readiness checklist

Eighteen checks to pass before an LLM feature meets a customer. The checklist is free and open: no email wall. Leave one email and I also send the sample evaluation report that goes with it. One email is all I ask for.

required

Inside the checklist: 18 checks, 5 groups

  • Ground truthwithout this, every other check is opinion3 checks
  • Measurement"it seems better" is not a metric4 checks
  • Safety batterythe failure modes that end up in screenshots5 checks
  • The gatea red eval that blocks nothing is decoration3 checks
  • Blast-radius controlautonomy is earned with evidence, never assumed3 checks

Have a system that needs to work?

Tell me the problem. I will tell you honestly whether I am the right engineer for it.

Book a 15-minute call Run a free audit Not sure what you need? Answer 3 questions