Please enable JavaScript to use CodeHS

Digital Literacy in Real Life

When Chatbots Get It Wrong

A chatbot helped a lawyer find six court cases. The cases looked perfect. There was just one problem: none of them were real. Here's why AI chatbots sometimes make things up, and how to catch it.

AI and facts ~8 min Grades 4–8
The True Story

Six court cases that never happened

In 2023, a man was suing the airline Avianca. He said he got hurt on one of its flights. The case was in a federal court in New York, and it was called Mata v. Avianca.

His lawyers had to write a legal document for the judge. Lawyers usually back up their arguments by pointing to earlier court cases, a bit like citing sources in a school report. This document pointed to six earlier cases.

There was just one problem. Those six cases didn't exist.

One of the lawyers had used ChatGPT to do his research. ChatGPT had made the cases up, and it even made up quotes from them. The lawyer did try to check. He asked ChatGPT if the cases were real. It said they were.

In June 2023, Judge P. Kevin Castel fined the lawyers and their law firm $5,000.

MADE UP
What happened
Lawyers filed a legal document that cited six court cases. ChatGPT had invented all six, including fake quotes.
When
2023. The judge fined the lawyers in June 2023.
Where
A federal court in New York, in a case called Mata v. Avianca.
The catch
When the lawyer asked ChatGPT whether the cases were real, it said yes. He checked with the same tool that made the mistake.

It happens to big companies too

In February 2023, Google showed off its new chatbot, Bard, in an ad. In the ad, Bard said the James Webb Space Telescope took the very first pictures of a planet outside our solar system.

That was wrong. The first picture like that was taken in 2004, by a different telescope: the European Southern Observatory's Very Large Telescope. Astronomers pointed out the mistake. That same day, the value of Google's parent company, Alphabet, fell by about $100 billion.


The Big Idea

A chatbot predicts words. It doesn't always know facts.

A lawyer and one of the biggest tech companies in the world both trusted a chatbot's answer. How does a smart tool get things so wrong?

It comes down to how chatbots are built. A chatbot learns patterns from a huge amount of text. When you ask it something, it predicts the words that sound like a good answer. Most of the time, a good-sounding answer is also a true one. But not always.

Simple definition: when an AI chatbot makes something up and presents it as true, people call it a hallucination.

It predicts, it doesn't look up

Unless it's connected to search, a chatbot isn't looking facts up the way you might think. It's building an answer from patterns.

Real-looking fakes

Court cases have names, dates, and quotes. So a made-up case can look exactly like a real one, because it follows the same pattern.

Confident either way

A chatbot can sound just as sure when it's wrong as when it's right. Its tone is not a clue.

That's why asking the chatbot "Are you sure?" didn't save the lawyer. To check an answer, you need a source outside the chatbot. Want to go deeper on how this works? Try AI Hallucinations Explained.


Interactive

Fact-check the bot

Sam is writing a report about octopuses and asks a chatbot called HelperBot for help. HelperBot's answer has six highlighted claims. Click a claim, press Check it to see what a trusted source says, then decide: is it correct or made up?

HELPERBOT CHAT Checked: 0 / 6 Score: 0 / 6
Can you give me some facts about octopuses for my science report? Please include a book I can cite.
HelperBot Sure! Here are some great facts. For your report, you can cite Good luck!

HelperBot, Sam, the book, and the scientist in this chat are all made up for practice.

Fact-check desk

Click a highlighted claim in HelperBot's answer to start.

Notice that the made-up claims didn't look any different from the real ones. The fake book had a title, an author, and a year. The fake quote had a name and a job. The only way to tell was to check somewhere else.


The Habit

Ask it, then check it

Chatbots can be really useful for ideas, explanations, and getting unstuck. You just can't let them have the last word. Use these four steps any time a chatbot gives you information you plan to use.

1

Treat it as a first draft

A chatbot's answer is a starting idea, not the final word. Think of it like a classmate's guess.

2

Ask for sources, then open them

If it names a book, website, or article, go find it yourself. If you can't find it, don't use it.

3

Check the details that matter

Names, dates, numbers, and quotes are where mistakes hide. Check them with a trusted source, like an encyclopedia, a library, or your textbook.

4

Be open with your teacher

Tell your teacher when you've used AI, and follow your class rules about it.

Remember: never check a chatbot with the same chatbot. The lawyer asked ChatGPT if the cases were real, and it said yes. For more on using AI for schoolwork, see Using AI Responsibly for Homework.


Talk About It

Try it with your family or class

Pick one of these to talk about at dinner, in the car, or with a classmate.

  • Ask a chatbot (with a grown-up's OK) a question about a game, show, or topic you already know a lot about. Did it get anything wrong? Would someone who didn't know the topic have noticed?
  • What are your school's or class's rules about using AI for homework? Why do you think teachers want to know when you've used it?
  • Ask a grown-up: has a tool or app ever told you something confidently that turned out to be wrong, like a map app or a search result? How did you find out?

Your Turn

Check your understanding

The lawyer in Mata v. Avianca did try to check his work. He asked ChatGPT whether the cases were real. In your own words, explain why that wasn't a good enough check, and what he should have done instead.

Your answer:

Sample answer: He checked with the same tool that made the mistake. A chatbot predicts words that sound like a good answer, so it can confidently say "yes, they're real" even when they aren't. Instead, he should have looked up each case himself in a trusted source outside the chatbot. If he couldn't find a case, he shouldn't have used it.


Check Yourself

Quick quiz

1. What is an AI "hallucination"?

2. Why can a chatbot sound confident even when it's wrong?

3. A chatbot gives you a great quote from a scientist for your report. What should you do next?

AI has changed a lot since these mistakes made headlines. Newer AI tools can search and show sources, work through problems step by step, and say when they aren't sure, so made-up answers are less common than they used to be, though they still happen. See how it changed in AI Then and Now.

You just fact-checked a chatbot

Next, you'll find out why so many apps ask how old you are when you sign up, what a law called COPPA protects, and why telling the truth about your age matters.

Part of the Digital Literacy in Real Life tutorial series.