Mini module

Context and RAG

Why AI “forgets”, why more text is not always better, and how AI looks things up in your files. For beginners, with two hands-on demos.

4 articlesabout 18 min reading and quizzes0 of 4 lessons done
Start reading

What you will understand

  • What the AI’s “desk” is and why it forgets
  • Why a giant prompt can make answers worse
  • How RAG looks things up, step by step
  • Where it still goes wrong, and how to stay safe
1Context: the AI’s desk, and why it forgetsWhat the AI can see while it answers, what quietly takes up space, and what happens when the desk is full.5 min2Why more context is not always betterA huge desk does not mean equal attention to everything on it. What research found, and five habits that follow from it.4 min3RAG: how AI looks things up in your documentsFrom closed book to open book: what Retrieval-Augmented Generation is, how it works in four steps, and where you already use it.5 min4Where RAG still goes wrong, and how to stay safeSources reduce made-up answers but do not remove them. The sneakiest error, typical breakdowns, three security risks and a checklist.4 min
Mini module

Next: How AI works

Curious what happens inside the model itself? The first mini module explains tokens, attention and how answers are built.

Sources used