Conversation History
Domain: LLM Concepts
π― Motivation
The model needs to see previous messages to maintain context. The conversation history is the list of all prior messages sent in the chat.
π Concrete Example
Messages: [user: Hi, assistant: βHello!β, user: βWhat is 2+2?β, assistant: β4β, user: βAnd 3+3?β]. The model sees all of this to understand And refers to addition.
π Analogy
A chat log on your phone - you scroll up to see what was said before. The model does the same: it reads the full conversation history to understand context and references.