State Management in Multi-Turn Dialogue: Session State, Context Memory, and Persistence Design
User: "Check my order." AI: "Sure, please provide the order number." User: "Did you find it?" AI: "Which order do you want to check?" — What this exchange exposes is not a dumb model but missing session state. The order number the user gave five minutes ago, the logistics issue they discussed — the model forgets instantly. Experience gaps in multi-turn dialogue come from state management far more often than from model capability.
This is the twelfth post in an experience-sharing series for AI customer service product managers and developers, drawn from hands-on practice as an AI product manager at a Southeast Asian cross-border e-commerce platform. In this post I want to share how to design session state, context memory, key information extraction, and state persistence for multi-turn dialogue where a user first queries an order, then follows up on a logistics exception and refund conditions — avoiding context loss, repeated questions, and task-state confusion.
