Skip to main content

2 posts tagged with "Context Engineering"

Key topics and practices on Context Engineering

View All Tags

Why AI Customer Service Forgets in Long Conversations? Four Context Engineering Practices

· 7 min read
Jack Ning
Maintainer of Bytedesk

Every AI customer service deployment has a signature moment of failure: at turn 25 the user says "remember the order number I just gave you," and the bot answers off-topic — or worse, resurrects the old order number the user corrected back at turn 3. To the user, the bot "has amnesia." Inside the system, the real cause is usually one of two things: too much context stuffed in, diluting the key facts — or compression applied too aggressively, deleting them outright.

This post is part of the "AI Customer Service Product and Engineering Practices" experience-sharing series for product managers and developers. The material comes from a front-line team's retrospective, and the core question is single: in long conversations, how should context be organized so the model remembers and the cost stays down? The answer condenses into four practices: fix the order, compress history, use the cache, and pin the state.

Short-Term Memory, Dialogue State, and Context Compression: Engineering Long Conversations That Don't Break

· 5 min read
Jack Ning
Maintainer of Bytedesk

After-sales conversations fail in a characteristic way: the user first gives a wrong order number and corrects it two turns later; mid-way they say "change the refund to a return"; the next day they come back asking "how did yesterday's case go?" If the system just dumps the whole chat history into the LLM, three accidents are likely: acting on the pre-correction order number, blending the refund and the return into one muddle, and starting from zero when they return the next day.

This post is part of an experience-sharing series for AI customer service product managers and developers, drawn from hands-on practice as an intelligent service product manager at a large general e-commerce platform. In this post I want to share how to design short-term memory, dialogue state management, context compression, and information verification for complex after-sales scenarios where users modify needs mid-conversation, correct earlier information, switch topics, or re-enter after an interruption — avoiding context pollution, information loss, and wrong reasoning.

This is context engineering — the most underrated hard skill for product managers in the LLM era.