What Generative AI Actually Is
Understand how large language models generate text by predicting likely next words, what they are trained on, and why they are not search engines.
Welcome back!
Step 1 of 14Learn
The quiz that looked perfect
Ms. Rivera asked an AI chatbot to write ten multiple-choice questions on the American Revolution for her eighth graders. In fifteen seconds she had a neat quiz with four options each and an answer key. It looked professional. She almost printed it.
Then she read it carefully. Question 4 gave the wrong year for the Battle of Saratoga. Question 7 had two correct answers. Question 9 asked about a "Treaty of Boston" that never existed. The answer key marked one wrong option as correct.
The tool had saved her time, but only because she checked its work. Had she printed it, 28 students would have learned something false, and she would have spent class time sorting out the confusion.
Generative AI tools are now part of many teachers' working lives. Surveys in recent years have found that a large and growing share of teachers use them for planning, materials and feedback. Used well, they can save hours a week. Used carelessly, they spread errors, compromise student privacy and undermine learning.
This course aims to make you a confident, critical user. The first step is understanding what these tools actually do, because almost every mistake teachers make with AI comes from misunderstanding how it works.
Step 2 of 14Learn
Predicting the next word
The chatbots most teachers use, such as ChatGPT, Claude, Gemini and Copilot, are built on large language models (LLMs). Despite how they feel in conversation, the core idea is surprisingly simple: an LLM is trained to predict the next piece of text.
During training, the model processes an enormous amount of text: books, websites, articles and code. Over and over, it sees a passage with the next word hidden and learns to predict it. Through billions of these predictions, it learns patterns of language, facts that appear often, styles of writing, and relationships between ideas.
When you type a prompt, the model generates a response one small chunk at a time. These chunks are called tokens, which are roughly words or parts of words. At each step, the model calculates which tokens are most likely to come next, given everything before, and picks one. Then it repeats, thousands of times, until the response is complete. Many tools add extra training so the model follows instructions, refuses harmful requests and responds helpfully.
The result can be remarkably fluent and often accurate. But notice what the model is doing: generating text that is plausible based on patterns. It isn't looking facts up in a database by default, and it doesn't "know" whether what it writes is true in the way a person checks a fact.
Step 3 of 14Chart
Next-word guesses for "The American Revolution began in..."
A model does not look the answer up. It scores possible continuations and picks one, usually a likely one, sometimes a less likely one.
Step 4 of 14Note
Step 5 of 14Practice · Put in order
Put these stages in the order they happen when a chatbot answers your prompt.
Drag the items, or use the arrow buttons, to put them in order.
- The model is trained on large amounts of text to predict hidden words
- You type a prompt into the chatbot
- It picks a token, adds it, and repeats until the response is complete
- The model calculates likely next tokens based on your prompt
Step 6 of 14Practice · Diagram
How a reply gets written
Which step explains why asking the same question twice can give two different answers?
Tap the shape that answers the question, then press Check.
- Read prompt + reply so far
- Score possible next pieces
Based on patterns learned in training, not on a fact database.
- Pick one
A little randomness is why the same prompt can give different answers.
- Add it to the reply
Step 7 of 14Learn
AI tools are not search engines
A common misunderstanding is to treat a chatbot like a search engine. They work very differently.
A search engine finds existing web pages that match your query and shows you the sources. You can click, read and judge where the information comes from.
A language model generates new text based on patterns learned in training. By default, it isn't retrieving a specific document. It's producing what a good answer would likely look like. That's why it can write a poem in the style of a sonnet or explain photosynthesis for a seven-year-old, and also why it can confidently state a "fact" that appears nowhere in its training data.
Many tools now combine the two. Some chatbots can search the web or read documents you upload, then summarize what they find, often with links. This helps with current events and specific sources, but the summary is still generated by the model and can still misstate what the sources say. Always click through to check citations that matter.
Another important point: models have a training cutoff, a date after which they have no training data. Without web search, they may not know about recent events, new curriculum standards or updated research.
There are also other kinds of generative AI: image generators that create pictures from text descriptions, and tools for audio, video and slides. The same principle applies: they generate plausible outputs, not verified truth.
Step 8 of 14Compare
Search engine vs. language model
| Aspect | Search engine | Language model (chatbot) |
|---|---|---|
| What it does | Finds existing pages that match your query | Generates new text based on learned patterns |
| Sources | Shows links you can check | Often none by default; some tools add links when searching |
| Best for | Finding specific, current, citable information | Drafting, explaining, rephrasing, brainstorming, summarizing |
| Main risk | Low-quality or biased sources | Fluent, confident errors (hallucinations) |
Step 9 of 14Practice · Sort into groups
Sort these tasks by the tool that usually fits them best.
Tap an item, then tap its group (or drag it there).
Step 10 of 14Note
Step 11 of 14Note
Step 12 of 14Practice · Fill in the blanks
Fill in the blanks
A language model generates its response one small chunk of text at a time. These chunks are called , and the date after which a model has no training data is its training .
Step 13 of 14Practice · True or false
By default, a chatbot looks up each fact in a verified database before writing it.
Step 14 of 14Practice · Choose one
Why can an AI chatbot write a confident, detailed answer about an event that never happened?
Lesson complete!