Notes

Chat Assistant

A language model, on its own, only continues text. A chat assistant is the set of decisions that turns that into something you can talk to: a turn-taking interface, a hidden set of standing instructions, and a model trained to treat your message as a request rather than a passage to extend.

What happens on every turn

There is no memory inside the model between messages. Each time you press send, the whole conversation is reassembled and fed in again — a system prompt setting the assistant's persona and rules, then every previous user and assistant turn, then your new message. The model generates the next reply, and the cycle repeats with a slightly longer input each time.

What makes it behave

A raw pretrained model answers a question with more questions. Instruction tuning teaches the request-and-response shape, and preference training such as RLHF or DPO tunes helpfulness, tone and refusal. ChatGPT, Claude and Gemini are the same pipeline applied to different base models, which is why they feel more alike than their underlying weights are.

Where it strains
  • Context limits: a long conversation eventually exceeds the window, and whatever gets dropped or summarised is simply forgotten.
  • Cost growth: re-sending the history makes the twentieth turn far more expensive than the first, which is most of why prompt caching exists.
  • Confident error: fluency is not accuracy, so assistants used for anything consequential are paired with retrieval or tools.

The interface is the thin part. Almost everything that makes an assistant usable happens in the training and in what gets packed into the context.

A chat assistant is a language model wrapped in a turn-taking interface: a hidden system prompt plus the full conversation history is re-sent on every message, and the model has been instruction-tuned and preference-trained to answer requests rather than continue text. It matters as the form in which most people meet language models, and because its two structural limits — a finite context window and cost that grows with history — shape every product built this way.

Talking to an AI assistant feels like talking to someone with a memory. It isn't. Every time you send a message, the entire conversation so far is handed back to the system from scratch, along with a set of hidden house rules about how to behave. It reads all of that and writes the next reply. That is a chat assistant: a text-prediction engine, trained to treat what you type as a request rather than a story to continue, dressed in an interface that makes it feel like a chat. When a conversation gets very long, the earliest parts fall off the edge and are genuinely gone.