Skip to content

Module 1: How AI Works

Module 1 of 7

EveryoneAbout 10 minutes

Read aloud from this page's text by an AI-generated voice, not a human narrator; the text is authoritative.

What You Will Be Able to Do

  • Explain, in one sentence each, what a large language model (LLM) is and how it produces text.
  • Explain why these systems sometimes state false things confidently, and why that is a feature of how they work rather than an occasional glitch.
  • State two practical consequences of knowledge cutoffs and context windows for your own use.

The Core Idea

The Two-Minute Version

2:20 · AI voice · Plays from YouTube when you press play.A narrated, animated walk through the core idea, with captions. The trial in it is made up, and so are its numbers.

A large language model, the kind of artificial intelligence (AI) behind today's chatbots, is a system trained on enormous amounts of text to do one thing: predict the next small piece of text, over and over, until an answer takes shape. Everything impressive (fluent explanations, working code, a differential diagnosis discussion) and everything that goes wrong (confident fabrication, invented citations) follows from that single mechanism. The model is not consulting a database of facts. It is producing the most plausible continuation of the conversation, and most of the time the most plausible continuation is also true. When it is not, the output looks exactly as confident.

For the diagrams behind this module, read How LLMs Work, a ten-minute plain-language tour of the prediction loop, the context window, how training works, and why hallucination happens. Read it now or after the self-check; this module stands on its own.

Three consequences worth internalizing:

  1. Knowledge has a date. Models learn from training data with a cutoff. Anything after that date is invisible to the model unless it can search the web or you paste the material in. For a fast-moving field, always ask: would the answer have changed recently?
  2. Memory has a size. The context window is the model's working memory for your conversation. Very long conversations and documents can push earlier material out of focus. New conversation, fresh start.
  3. Fluency is not accuracy. The polish of the prose carries no information about its truth. Check what you rely on, with more care the more depends on it (Module 2 shows how to match the check to the stakes); the AI Responsible Use Policy requires you to verify AI-generated content before you use it in academic work, research, or clinical work.

The three consequences worth internalizing

Knowledge has a date

After the cutoff: nothing, unless it searches or you paste it in.

Memory has a size

Very long chats push earlier material out of focus.

Fluency is not accuracy

"Confident, polished, specific" tells you nothing about whether it is true.

Check it before you rely on it.

Everything impressive and everything that goes wrong with these systems follows from the same mechanism.

Self-Check

A colleague says their chatbot "looked up" an answer in its database and so it must be right. What is wrong with that mental model?

The model did not look anything up (unless it explicitly ran a web search). It generated the most statistically plausible continuation of the conversation from patterns learned in training. Plausible usually overlaps with true, but nothing in the mechanism guarantees it, so the answer needs verification like any unsourced claim.

You ask a model about a drug approval from last month and it confidently describes an older approval instead. Why?

The approval likely postdates the model's knowledge cutoff. The model cannot know events after its training data ends, and rather than say so it may produce the most plausible answer from what it does know. Asking the model to search the web, or pasting in the source, fixes this; trusting unaided recall for recent events does not. Even then, the model summarizes what it finds through the same prediction, so open the source when a detail matters.

When is the model's confident tone evidence that its answer is correct?

Never. Tone is a property of the text generation, not of the underlying accuracy. Treat confidence and correctness as fully independent until verified.

Going Deeper

Color key: LessonBenchmark

Central Group on Educational Affairs (CGEA) competency domain: Understanding AI

Content last reviewed September 1, 2026. Review dates are maintained as described on the About page.

Report a problem with this page