How a model writes an answer
Part 1 · The basics3 minOne piece at a time, each a guess with odds. See how a fluent answer can be wrong, and how a page the model reads changes the odds.
- costs62%
- is25%
- dripper13%
One piece at a time
A model does not plan a whole answer and then type it. It writes one token at a time, from left to right.
After each piece, it looks at everything so far, the question and its own words, and decides on the next one.
A long answer is hundreds of these small decisions in a row.
Why it matters. An answer is built from left to right. Whatever the model has read shapes every piece of it.
Every piece is a guess
For each next piece, the model weighs every token it knows and gives each one odds: how likely it is to come next.
After “The Hario V60 costs”, a price is very likely. Which price, it cannot know: several sound right.
- Prediction
- The model’s odds for every possible next token, given all the text so far.
Why it matters. For a small shop’s price, what sounds usual is not what is true.
It picks a likely one
The model then picks one piece. Usually the likeliest, but not always: a little chance is allowed in, so the writing does not sound stiff.
That is why the same question can get a different answer the next time, especially where the odds were close.
Assistants tune how much chance to allow: less for facts and code, more for a story or a slogan.
Why it matters. Ask twice and the answer may change. A fact that is written down clearly gives the same answer every time.
Fluent is not true
Once a piece is written, the model carries on from it. €20.00 leads to “and it is in stock”, a smooth, confident sentence.
Nothing in that process checks the facts. The model writes what is likely, and a likely sentence can be false.
- Hallucination
- A confident, fluent answer that is not backed by anything the model read.
Why it matters. A wrong answer reads as well as a right one.
Reading changes the odds
Now the shop’s page is in front of the model, read a moment ago: Hario V60 Dripper · €24.00 · In stock.
Everything the model reads counts when it weighs the next piece. With the price written right there, €24 jumps to the top and the other guesses fall away.
This is the moment a website counts: its words are now part of what the model writes from.
Why it matters. A page the model has read outweighs everything it half-remembers. That is how a site gets its own facts into an answer.
Unclear pages split it
Suppose the page shows €24.00, a crossed-out €30.00, and €19 with code BREW5, all in a row.
The model has read all three, and the odds split between them. It may quote the old price, or the code price as if it were the price.
A person sorts them out at a glance, by size, colour and the line through one. The model gets three numbers next to the same product.
Why it matters. One price, clearly labelled, gets quoted. Three numbers near each other get mixed up.
Clear pages, sure answers
Put together: a model writes what is likely, and what it has just read decides what is likely.
A page that was read, and says the fact once and clearly, turns a guess into a quote. A page that was not read leaves the model guessing.
Why it matters. The surest way into a correct answer is a page that states the fact plainly, where an agent can read it.