Best Practices Guide

Runtime Fallback Behavior for Customer-Facing Chatbots When an Answer Cannot Be Grounded in Approved Sources

A grounding failure occurs when a chatbot cannot show that its proposed answer is supported by approved sources. Treat it as a runtime control problem. Detect the failure with defined signals, select a graduated fallback (clarify, constrained response, approved alternative, abstain, or escalate) through a policy layer outside the model, and log every event with enough detail to audit.

Grounding failure control path

  1. DetectEvaluate retrieval and verification signals against thresholds set per topic and risk tier.
  2. DecideA policy layer outside the model selects the permitted fallback.
  3. RespondRelease an approved template, a constrained answer, or a handoff instead of the unsupported draft.
  4. RecordLog the signals, rule, response, and escalation outcome for audit and tuning.

Define what counts as a grounding failure

A grounding failure is any case where the chatbot cannot show that its proposed answer is supported by approved sources. Handle each one as a runtime control problem rather than a prompt-writing problem.

Choose detection signals and understand their limits

Detect the failure with defined signals. Evaluate retrieval and verification signals against thresholds set per topic and risk tier, and record the signal values and the thresholds in force for every event.

Map failures to a graduated set of permitted responses

Select a graduated fallback instead of releasing the unsupported draft. The permitted responses are:

  • Clarify
  • Constrained response
  • Approved alternative
  • Abstain
  • Escalate

In each case, the chatbot releases an approved template, a constrained answer, or a handoff instead of the unsupported draft.

Enforce fallback as runtime policy, not as a prompt

A policy layer outside the model selects the permitted fallback. The decision is made by that layer at runtime, not by the model's own instructions.

Log the evidence needed to audit each event

Log every event with enough detail to audit. Each record should include:

  • Conversation and turn identifiers with a timestamp
  • Detection signals, their values, and the thresholds in force
  • The policy rule and policy version that was applied
  • The response delivered, including template identifier, and whether a generated draft was suppressed
  • Escalation outcome: destination, whether it was accepted, and time to handoff
  • Identifiers of retrieved passages, the approved source set, and the model and configuration version

Evaluate tradeoffs and what to ask of a platform

Review a platform against the four stages of the control path: how it detects, decides, responds, and records.

Review your chatbot's runtime controls

Discuss how runtime policy enforcement and audit logging can support consistent handling of ungrounded queries in your environment.

Talk to an Expert