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.