← TKF talk · Slide 11 of 18

Retrieve, augment, generate

Retrieve, augment, generate
← PreviousNext →

How RAG answers a question using our own documents.

📖🔍 The AI doesn't answer from its memory or training. It pulls the matching passage from our documents first, then writes the reply from that text.

  1. RETRIEVE
  2. Your question is compared against all our documents. A math
  3. comparison picks the top 5 passages closest in meaning. →
  1. AUGMENT
  2. The AI receives your question along with those 5 passages. →
  1. GENERATE
  2. The AI reads the passages and writes from them, not its training.

✍️ Every answer names the source policy and section. Verify in ten seconds.

🎓 Like an open-book test. Instead of answering from memory, the AI reads the book and writes from there.