Start here: AI from zero
BeginnerReading 4 of 5 · 2 min read

Prompts, and why the answer can be wrong

A prompt is the instruction you give a model: a clear, specific prompt gets a better answer, but no prompt stops a model from sometimes stating something false with confidence.

Read first: What does a language model do?

A prompt is everything you write to the model: the question, the background, the format you want, examples of a good answer. Because the model continues whatever it is given, the prompt shapes the answer more than most people expect. "Summarise this" and "Summarise this for a customer in three bullet points, without technical terms" produce very different results from the same text.

Some mistakes are not caused by the prompt. A model can produce a fluent, confident statement that is simply invented: a quote nobody said, a law that does not exist, a reference with a plausible title and no paper behind it. This is usually called a hallucination. It happens because the model generates likely text, and a likely-sounding answer is not checked against the world.

So the useful habit has two parts. Write prompts that say what you want, who it is for and what the model should do when it does not know. And treat any fact that matters, such as a number, a name, a date or a source, as something to verify before you rely on it.

An everyday example

Ask for "three books about the history of maps" and you may get two real books and a third with a believable title and author that do not exist. Ask instead for books "you are confident exist, and say if you are unsure", then look each one up: the list gets shorter and more trustworthy.

A common misconception

What people think
If the answer sounds confident and detailed, it is probably correct.
What actually happens
Confidence and detail are features of fluent text, not evidence of truth. Invented answers are often just as detailed as real ones.

Check it yourself

Ask an assistant for a statistic together with its source. Then open the source and check that it exists and contains that number.

Where to go next

Sources