Designing an LLM Chat Product With Memory and Context Management — A complete system design for a conversational LLM product, built incrementally from a stateless single-turn chatbot to a fully scaled assistant with short-term, long-term, and retrieved memory.