Contributed by
Behind the Chatbot is a two-part AI literacy lesson: a self-guided chatbot conversation students do before class, and a lecture-and-demo workshop that builds on it.
Try it yourself: http://nessavahedian.net/chatbot.html runs in the browser, with no chatbot account and no copy-pasting. The PDF also includes a copy-and-paste script that works in any chatbot, but it's the original version. The live activity has been updated several times since.
Part 1: Pre-class (20–40 minutes)
Students learn how a chatbot works one concept at a time, with a short activity or demo for each: next-word prediction, tokenization and embeddings, attention and context windows, temperature, and RLHF. It ends with students inventing a fake fact and watching the AI confidently make up details about it.
Part 2: In-class workshop (1+ hour)
The workshop turns the pre-class conversation into four big ideas:
- How it works: LLMs predict likely text based on patterns in web-scraped training data. They aren't looking up facts. (Information Creation as a Process)
- Who's behind it: whose writing trained it, whose got filtered out, and the low-paid humans still hidden in the process. (Information Has Value)
- Why it's biased and unexplainable: nobody sets the model's billions of parameters by hand, so nobody can explain a given output or fix bias.
Students test each idea with live demos, brainstorm ethical concerns, and finish by building their own prompts.
Materials: the live activity, the workshop slides, the original script, and the source code.
Please note: AI output is probabilistic, so responses vary. That's part of the lesson. Everything students type is saved to my server, including the student ID they enter, which can be anything, so a nickname works fine. Check it against your institution's student-data policies before assigning it.
Tried it? I'd love to hear how it went: email, ALA Connect, or LinkedIn.
Updated 12/3/2026
Resource Statistics
- (174.01 KB)19 downloads
Disclaimer: The included prompt is designed to guide AI chatbot behavior, but AI outputs are probabilistic and cannot be fully controlled. Responses may vary across platforms, model versions, and individual sessions. The author is not responsible for unexpected, inaccurate, or inappropriate content generated when students use the prompt. This variability is, in fact, part of the lesson.