← TKF talk · Slide 11 of 18
Retrieve, augment, generate
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.
- RETRIEVE
- Your question is compared against all our documents. A math
- comparison picks the top 5 passages closest in meaning. →
- AUGMENT
- The AI receives your question along with those 5 passages. →
- GENERATE
- 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.