Dialogue Management

8 patterns for this issue

Goal: The conversation follows what the person means: references, corrections, exceptions, and several requests at once, and asks and confirms only what matters.

Why this family exists

The mechanics of a conversation decide whether the bot does what the person meant: whether a correction sticks, whether “that one” is understood, and whether it asks or guesses. This family covers those mechanics.

How we measure it

Shared metrics the patterns below report against. Targets are starting points to tune on your own data, unless a source is given.

MetricTargetDefined in
Corrections still wrong two turns later0corrections not applied (GitHub)
Wrong-guess rate on ambiguous test requestsSet from baselineguessing instead of asking (GitHub)
Wrong-referent rate on follow-ups with pronouns and ordinalsSet from baselinereference resolution failures (GitHub)
Off-topic turns that return to the task within two turnsSet from baselinesmall talk and off-topic messages handled badly (GitHub)
Answers that accept a false premise in a test setSet from baselinefalse premises accepted (GitHub)

Patterns

PatternOne line
Corrections not appliedThe user corrects a detail and the old value comes back later
Guessing instead of askingAn ambiguous request gets one reading and an action, with no question
Reference resolution failures“The second one” or “that” is resolved to the wrong item, or the bot asks which one right after listing them
Negation and exceptions ignored“Not the red one” gets the red one
Over-confirmation“Are you sure?” on every routine step, so the one that matters gets lost
No way back in a flowThe user cannot go back, change an earlier answer, or start over without losing everything
Small talk and off-topic messages handled badlyThe assistant ignores a friendly remark, or follows a tangent into a long chat
False premises accepted“Why did you cancel my order?” is answered as if it were cancelled

Planned (not yet written)

The rest of the family are listed in the roadmap (GitHub).