Lesson 2 of 12 · What AI is · Teacher's plan
How a chatbot writes: guessing the next word
Through a class next-word game, students see that a chatbot builds its answers by guessing a likely next word, and that a likely answer can still be wrong.
Students will be able to
- describe how a chatbot writes text one small piece at a time by guessing what comes next
- explain why a likely answer is not always a true answer
- use a class tally to find the most likely next word
- say one reason to check what a chatbot tells them
Prepare
- Six to eight unfinished sentences written on the board or on slips (see the plan)
- Small paper slips, three or four per student
- A projector and one teacher device for the short follow-up (optional)
- One worksheet per student
Words to know
- Chatbot:
- A computer program you type to, which writes replies in everyday language.
- Next-word guess:
- Picking the word most likely to come next, based on patterns in lots of text.
- Token:
- A small piece of text, a word or part of a word, that a chatbot reads and writes.
- Made-up answer:
- A reply that sounds confident and correct but is wrong or invented.
Main activity · Unplugged: paper and pens
The class next-word game
Students each write the next word for unfinished sentences, the class tallies the answers and picks the most popular one, then builds a whole sentence word by word. Some sentences lead to a popular answer that is wrong, which shows how a chatbot can sound sure and still be mistaken.
ManuAI pages for this lesson
- What a chatbot really does ai.manusignal.com/lessons/what-a-chatbot-really-does
- Tokens: how AI reads text ai.manusignal.com/lessons/tokens
The 45-minute plan · 45 minutes
| Warm-up6 min | Finish my sentence
|
|---|---|
| Activity18 min | Tally the next word
|
| Practice16 min | Worksheet and teacher demo
|
| Wrap-up5 min | Sounds sure, still check
|
Teacher tips
- Safety: many chatbots have a minimum age, often 13 and sometimes higher. Run any live demo yourself on one projected screen. Do not ask students to sign up for an account.
- Misconception: students may think a chatbot "searches Google" or "knows" answers. Some tools do search, but the writing itself is still next-word guessing. Keep coming back to the tally on the board.
- Large classes: collect slips from one row per sentence to keep tallying quick. Strong students can try to write a trap sentence of their own, one where the popular word is wrong.
Exit ticket answers
- A chatbot writes its answer by: B. guessing the next small piece of text, again and again
- A chatbot answers in a very confident way. Does that mean it is right? Explain. A good answer: No. It picks words that are likely to come next, and a likely answer can be wrong. Confidence in the wording does not show it is true, so we should check important facts.
- Which is the safest thing to do with a fact a chatbot gives you for homework? D. Check it in a textbook or with a teacher