How AI Chat Works
Create free accountLog in

How AI Chat Works18+

How does AI chat work? What a character reads, keeps and writes back

How does AI chat work once you look past the reply box? These articles take context windows, prompts, sampling and summaries apart one piece at a time, in plain English and without maths, and where nobody outside an app can see the answer, they say so.

Pick someone to talk to

See all characters

See all characters

Guides and essays

All articles
  1. 01

    Why does AI give different answers to the same question?

    Why does AI give different answers to the same question? How sampling, temperature and top p shape a reply, and why the input is rarely quite the same.

  2. 02

    Why does AI forget things? What a character keeps and loses

    Why does AI forget things you told it? How chat memory is kept in general: the recent thread, summaries, saved notes, and where a detail falls through.

  3. 03

    How do AI chatbots actually work? After you press send

    How do AI chatbots actually work? One message traced from send to reply: the text a model is handed, how the reply gets written, and what checks it.

Questions and answers

Does the AI actually understand what I write?

That depends on what you mean by understand. A language model follows meaning, tone and the thread of a conversation because it learned from a vast body of writing how words tend to hang together. Whether that deserves the word understanding is still argued over, and this site does not pretend to settle it.

Why did a character forget something I told her?

A model can only read a limited amount of text at a time. In many apps the older parts of a long chat are summarised or left out, so a small detail can fall through the gap. The memory article follows one remark from the evening it was made to the night it went missing.

Do I need a technical background to follow this?

No. There are no formulas here, only everyday comparisons and a few terms, each explained where it first appears. Knowing the mechanism mostly helps when a chat surprises you, so you can tell an ordinary quirk of the machine from something that is really broken.

Who are these explainers written for?

Grown-ups, 18 and up, who talk to AI characters and are curious about what goes on behind the reply box. The characters you see here are invented adults generated by AI; none of them is a real person.

Everything you can do together

Watch the parts move
Pick a ready-made character from the catalogue and open a chat. Ask the same thing twice and compare what comes back: a small experiment of your own on the ideas in these articles.
Write the brief yourself
Building a character goes step by step: style, appearance, personality, relationship. Writing one yourself shows how much a character description has to cover.
A scene before the first word
A scenario is a brief film whose closing line is spoken to you; answering it opens the chat. You arrive with a setting already built, so your first message has something to react to.
Pictures mid-conversation
A character can send photos in a chat. In AI apps generally, pictures come from a different kind of model than the words do, which is one reason the two can drift apart.