Deep dive

Why AI forgets, and how it looks things up: context and RAG in plain words

Two ideas decide whether you get a sharp answer or a frustrating mistake. A short guide with six habits you can use today.

3 min6 / 8

You give an AI a clear rule at the start of a chat, and an hour later it ignores it. You upload a long PDF, and the answer misses the one paragraph that mattered. You ask about your company’s holiday policy, and it confidently describes some other company’s rules. Three different annoyances, two causes behind them: context and .

Context: the AI’s desk

An AI does not remember you between messages. Each time you press “Send”, it rereads everything currently in front of it: hidden app instructions, saved memories, your files, the entire chat so far and your new message. Picture all of this lying on a desk. The size of the desk is the . Current top models have very large desks, around a million (a token is roughly three quarters of a word), but the desk is still limited.

When a long chat no longer fits, chat apps quietly summarise or drop the oldest messages. That is the whole mystery of the “forgotten” rule: it fell off the desk.

Surprise: a fuller desk can mean worse answers

It sounds logical to give the AI everything. Research says otherwise. A 2023 study found that models find an important fact best at the start or end of a long text and worst in the middle. In 2025, tests of 18 leading models showed that answers get less reliable as inputs grow, long before the desk is full, and that text on the same topic which does not answer the question is the worst distraction. Long inputs are also slower and use more of your plan’s limit.

RAG: the librarian next to the desk

A plain AI answers like a student in a closed-book exam: only from what it learned in training, which stops at a and never included your files. RAG (Retrieval-Augmented Generation) makes it an open-book exam. Before answering, the system searches a library you choose, such as your documents, a help centre or the web, and puts only the few most relevant passages on the desk. The AI then writes from those passages and can show you its sources.

You already use it: web search in Claude, ChatGPT or Gemini, Gemini Notebook answering from your uploads, and Claude Projects, which automatically start searching their files once a project gets too big for the desk.

Sources are not the same as truthRAG reduces made-up answers, but does not end them. In a 2024 Stanford test, legal research tools built on RAG were still wrong or misleading in roughly one in six to one in three answers. The sneakiest error: a real source that does not actually say what the AI claims. For anything important, read the passage, not just the link.

Six habits for better answers today

  1. One topic, one chat. Start fresh when you switch tasks.
  2. Upload only what the task needs, not the whole archive.
  3. Put key rules at the start or the end of a long .
  4. Restart long chats with a short summary: ask for the goal, decisions and next steps in 15 lines, and paste it into a new chat.
  5. Keep recurring material in a project or notebook, and only the latest version of each file.
  6. Ask for quotes and allow “I don’t know”: “Quote the sentence you rely on. If it is not in the documents, say so.”
Want to see it in action?The mini course Context and RAG has four short lessons with two hands-on demos: fill the AI’s desk until it overflows, and watch RAG search a flat-share handbook step by step.
Try it now: Open your longest chat, ask for a 15-line summary, and continue in a fresh chat. Notice how much sharper the answers get.

Sources used

Tip: use ← and → to move between lessons.