How AI actually works.
When you chat with AI, it isn't looking up answers in a database. It predicts the next piece of text — one piece at a time — using patterns it learned from a huge amount of writing. Here's exactly what's happening, no maths required.
It's a prediction engine, not a search engine
Everything else on this page follows from one idea. Get this and the rest clicks into place.
Not a database
It doesn't store pages and look them up. There's no folder it opens to fetch your answer.
Not a person
It doesn't believe, understand or know things the way you do. It has no intentions of its own.
A pattern predictor
It guesses the most likely next piece of text, based on patterns it picked up from huge amounts of writing.
It learned patterns from a lot of text
Before you ever typed a word, the model read an enormous amount of writing and learned which words and ideas tend to go together.
Read a lot of text
Books, articles, code and more
Learn the patterns
Which words tend to follow which
A model that predicts
Keeps the patterns, not the pages
So when you send a message, four things happen in order. The next sections let you try each one.
1Your text becomes tokens
AI doesn't see words the way you do. It breaks text into tokens — small chunks of characters. Type anything below and watch it split.
Notice how common words stay whole, while longer or unusual words split into pieces. Every token takes up room in the model's memory.
2Tokens turn into meaning
Each token becomes a set of numbers that capture meaning, so the model can tell that related things are related. Words with similar meanings end up close together. Click any word to light up its nearest neighbours.
Pick a word
Closest in meaning
3It predicts the next token — over and over
This is the real engine. Given everything so far, the model ranks which token is most likely to come next, picks one, adds it, and predicts again. Press the button and watch a sentence build itself.
Temperature
LowThe dial decides how it picks from the list above.
Low: it almost always takes the top option. Safer and more consistent — good for policies, factual writing and formal emails.
The context window holds only so much
The model can keep just a limited amount of text in mind at once. Keep adding messages and the earliest ones drop out — it can no longer see them.
Add a few messages and watch the window fill up.
Confident doesn't mean correct
Because it predicts plausible text rather than looking up verified facts, it can write answers that sound completely sure but aren't true — invented sources, wrong dates, made-up details. The example below looks polished. Reveal what to question.
You're steering the predictions
Since it predicts from whatever you give it, clearer input points it in a better direction. Click a part of the formula to see how each added detail steers the result.
Write an email. Write a polite follow-up email to a student who hasn't shared their visa update. Keep it short, professional, and include one clear action.
What it's great at — and what it's not built for
Used for the right jobs it's genuinely powerful. Used as a source of truth, it will let you down.
✓Great at
Working with language and ideas you give it.
- Drafting and rewriting emails, notes and documents
- Summarising long text and explaining ideas simply
- Brainstorming options and first drafts
- Changing tone, format or structure of your content
- Translating and tidying messy text
!Not built for
Anything that needs guaranteed accuracy or live truth.
- Being the source of truth for facts, law or policy
- Exact calculations and reliable number-crunching
- Knowing your private files or very recent events
- Making the final decision for you
- Anything where a confident guess could cause harm
The habit that makes AI safe to use: you stay the editor
AI gives you a strong first draft and a thinking partner. The final check is yours.