🛠️Multi-Turn Conversation
Also known as Multi-Turn Chat, Conversation History (AI), Chat History
A chat with many messages back and forth. The model rereads the whole chat each turn.
Think of it like
It is like a game of catch. Each throw builds on the last one.
Example
Emma asks for a cake recipe. Then she types "make it for 12 people". The model knows which recipe she means, because the first message is sent again.
Why it matters
It is why a chat feels like it remembers. It is also why a very long chat gets slow, dear and muddled.
Definition
Example code
json
[
{ "role": "user", "content": "Give me a cake recipe." },
{ "role": "assistant", "content": "Here is a lemon cake..." },
{ "role": "user", "content": "Make it for 12 people." }
]Common mistake
Key takeaways
- 1Turns add up. Each new message joins the pile.
- 2Sent every time. The whole chat goes with each turn.
- 3Start fresh. A new chat clears a muddled one.