Multi-turn conversation in AI refers to a dialogue system where a model maintains context across multiple exchanges — rather than treating each message as an isolated input.
Single-Turn vs Multi-Turn
In a single-turn interaction, the model sees one prompt and produces one response, with no memory of anything before or after.
In a multi-turn interaction, the model receives the full conversation history (all prior messages) with each new request, allowing it to:
- Refer back to earlier context (“as I mentioned above…”)
- Resolve pronouns and implicit references (“make it shorter” — the model knows what “it” is)
- Track goals across steps (e.g., iteratively building a piece of code)
- Maintain persona or constraints set earlier in the conversation
How It Works Technically
There’s no persistent memory inside the model itself. Instead, the entire conversation history is passed as input on every turn — the model just sees a longer and longer context window. This is why very long conversations can hit token limits.
A typical message structure:
The key insight is that “memory” in multi-turn AI is really just context injection — the application layer is responsible for storing and replaying the conversation history, not the model itself.