A sunny beach
I’m going to a sunny beach. In my bag, I packed a towel and sunscreen.
In this example, a towel fits a trip to the beach.
Try a simple example
The details you give can change an AI answer. Try this simple example.
I’m going to a sunny beach. In my bag, I packed a
Pick a word to see the possibilities in this example.
A useful detail can change what comes next. When you ask an AI for help, tell it what it needs to know.
An AI can use the details you include. Compare a vague request with one that gives it something to work with.
Authored comparison, not live AI output
Write an invitation.
You’re invited to a special event! Join us for a wonderful time with friends and neighbours. We look forward to seeing you.
The details are now available to the model. They improve the brief, but you still need to check the answer against them.
When you’re ready to try an AI chat, choose something you need to write. Say who it is for, what you want to say and which facts to keep. Check the reply before using it.
These chances are invented for this example. They are not measurements from an AI.
I’m going to a sunny beach. In my bag, I packed a towel and sunscreen.
In this example, a towel fits a trip to the beach.
I’m going for a walk in the snow. In my bag, I packed a coat and gloves.
Change the trip to a walk in the snow, and this example suggests a coat first.
I’m going to read at the library. In my bag, I packed a book and notebook.
For a visit to the library, this example suggests a book first.
At the beach, this toy gives towel 70%, coat 10% and book 20%. In the snow, it gives towel 5%, coat 85% and book 10%. At the library, it gives towel 5%, coat 5% and book 90%. Choosing the highest value begins three different continuations. The numbers illustrate the mechanism; they are invented.
Authored comparison, not live AI output
When you’re ready to try an AI chat, choose something you need to write. Say who it is for, what you want to say and which facts to keep. Check the reply before using it.
A language model doesn’t pull one finished answer from a drawer. It generates a continuation from the context it has, one token at a time. A token is a piece of text; it is not always a whole word.
To make the sequence readable, this toy uses whole-word tokens and punctuation. It looks up authored probabilities and always takes the highest one. It has no neural network, training or live inference. Real token vocabularies are much larger, and generation can sample a less likely token. This illustration stops after three additions; real generation can stop on an end token, a length limit or another stopping condition.
At the beach, this toy gives towel 70%, coat 10% and book 20%. In the snow, it gives towel 5%, coat 85% and book 10%. At the library, it gives towel 5%, coat 5% and book 90%. Choosing the highest value begins three different continuations. The numbers illustrate the mechanism; they are invented.
A decoder language model produces scores for possible next tokens from the tokens before them. A softmax turns scores into a distribution. The decoding procedure chooses a token, appends it, and repeats. This forward generation is different from filling a masked word using text on both sides.
During training, model parameters are adjusted using examples. At generation time, the context helps determine the next-token scores using those learned parameters. Changing this prompt changes the computation for this answer; it does not, by itself, retrain the model.
The next-token distribution concerns what text follows in context. It is not a direct probability that a real-world claim is true. A coherent answer still needs evidence. Tool use, retrieval, evaluation and human review can add checks, with their own limits.
Primary references. These explain the mechanisms; the examples here are authored teaching simulations.
See how a small follow-up can change a familiar message. No typing needed.
Write a message with AI