1.3. Grounding: Why Models Need Your Data
💡 First Principle: A language model knows only what it learned at training time and what you put in the prompt — nothing about your private documents or today's events. Grounding is the practice of retrieving relevant data at request time and inserting it into the prompt so the model reasons over facts it can see rather than guessing from memory. Grounding fixes the data gap without touching the model.
Why care: the single most common cause of a confidently wrong AI answer in production is a model reasoning correctly over information it simply doesn't have. Grounding is the antidote, and because it underpins RAG (the information-extraction domain) and agent knowledge sources (the agentic domain), it shows up far beyond its own section. A candidate who treats grounding as a niche RAG topic will miss its appearances throughout the heavier domains.
⚠️ Common Misconception: "If the model gets a recent fact wrong, it needs retraining." Retraining is slow, expensive, and still wouldn't include your private or real-time data. The right move is almost always to ground the model with retrieval. The model's reasoning isn't broken — its context is incomplete.