When an AI chatbot gives a wrong answer, becomes unavailable, or starts responding slowly, a calm and repeatable incident process is more useful than ad hoc prompt changes. This runbook explains how to triage an AI Q&A bot, capture evidence, contain user impact, decide whether to roll back, and track recurring signals so the next incident is easier to diagnose.
Overview
AI chatbot incidents usually fall into several overlapping categories: provider or infrastructure outages, retrieval failures, prompt or model regressions, unsafe outputs, latency spikes, and broken integrations. The visible symptom may be similar in each case. For example, “the bot is not answering” could mean the model provider is unavailable, the retrieval service returned no context, a middleware function timed out, or the conversation flow incorrectly routed a valid question to a fallback.
Incident response should therefore begin with classification rather than immediate experimentation. First protect users and preserve evidence. Then determine the affected layer, apply the smallest safe containment measure, and only afterward investigate a permanent fix.
A useful severity matrix is:
- Critical: The bot is unavailable for most users, exposes private information, produces dangerous or materially misleading instructions, or disrupts a critical business workflow. Contain immediately, notify the responsible owner, and consider disabling the affected capability.
- High: A major integration, knowledge base, channel, or user group is failing, or answer quality has materially degraded after a change. Pause related releases and begin rollback assessment.
- Moderate: A repeatable retrieval, formatting, latency, or handoff problem affects a limited path. Track the incident, assign an owner, and apply a targeted fix.
- Low: An isolated poor answer, minor wording issue, or non-blocking defect with a clear workaround. Record it for evaluation and backlog review.
Severity should reflect user impact and risk, not merely technical complexity. A single privacy-related response may require a higher-priority response than many harmless “I do not know” messages.
What to track
Good incident response depends on consistent evidence. Configure logging before production problems occur, while respecting your organization’s access-control, retention, and privacy requirements. At minimum, capture a correlation ID, timestamp, channel, bot version, model or provider identifier, retrieval configuration, latency stages, tool results, final response, and any error codes. Redact or exclude sensitive user content when full transcript storage is not necessary.
Track the user-visible symptom
Record what the user experienced in precise terms: no response, timeout, irrelevant answer, unsupported claim, missing citation, repeated fallback, unsafe content, incorrect language, failed handoff, or a broken action. Avoid summarizing every issue as “hallucination.” A wrong answer caused by stale knowledge is different from an answer invented when retrieval failed.
Track the request path
Break each request into stages:
- Channel or website widget received the message.
- Authentication, authorization, and rate checks completed.
- Conversation history and prompt were assembled.
- Retrieval returned documents, metadata, or no matches.
- Tools or integrations executed, if applicable.
- Model generation completed or failed.
- Output validation, formatting, and handoff logic completed.
- The response reached the user.
This sequence helps distinguish a provider outage from a broken website integration or a retrieval regression. For bots using RAG, track retrieved document IDs, scores or thresholds where available, source timestamps, filters, and chunk metadata. The RAG document chunking and metadata guide can help when the problem appears to be incomplete or poorly targeted context.
Track changes and comparisons
Keep a change record for prompts, models, retrieval indexes, tool schemas, safety rules, channel code, and configuration. Compare the incident window with the last known good version. A prompt or model change is not proof of causation, but it is a useful lead. Use version identifiers rather than informal labels such as “latest.” The prompt versioning guide provides a practical structure for review and rollback.
Use an evidence-capture template
Incident ID:
First observed:
Reporter and channel:
Severity and affected users:
User-visible symptom:
Last known good time/version:
Recent changes:
Correlation IDs or sample requests:
Provider and integration status:
Retrieval results and source versions:
Latency and error patterns:
Containment applied:
Rollback decision:
Owner and escalation path:
Resolution and follow-up actions:
For suspected privacy or security issues, limit access to the evidence and follow the organization’s security response process. Review the AI chatbot security and access control guide before sharing transcripts or retrieved documents broadly.
Cadence and checkpoints
Incident readiness is a recurring operating task, not a document written once. Use three levels of review.
During an incident
Within the first response window, confirm scope, severity, start time, affected channels, and whether the issue is still expanding. Check provider status through the provider’s official operational channel, then check your own dashboards and recent deployments. Do not assume that an external status page explains every failure; local authentication, quotas, network paths, indexes, and integration code can fail independently.
Apply containment that is reversible and easy to verify. Examples include routing users to a human team, disabling a failing tool, serving a reviewed static FAQ, restricting the bot to retrieval-only answers, lowering request volume, or temporarily disabling the affected channel. If unsafe output or private-data exposure is suspected, prioritize isolation and escalation over continuity.
After recovery
Confirm recovery with a small set of representative tests, not only by checking that the service returns a successful status code. Test a known answer, an unknown question, a retrieval-heavy question, a tool call, a refusal or safety case, a human handoff, and each supported language or channel that was affected. Compare latency and error behavior with the pre-incident baseline.
Run a short review while the evidence is still available. Identify the trigger, contributing conditions, detection gap, containment, recovery action, and one or two concrete preventive tasks. Separate corrective changes from speculative improvements. The AI chatbot testing checklist can be used to turn the incident into regression cases.
Monthly or quarterly operations review
On a monthly or quarterly cadence, review recurring variables: incident count by category, unresolved defects, fallback rate, retrieval misses, user corrections, handoff rate, latency percentiles, tool failures, unsafe-output reports, and changes in knowledge-base freshness. Look for trends rather than one noisy interaction. Repeated failures around one document type may indicate a chunking or metadata issue; repeated failures after releases may indicate inadequate evaluation coverage or prompt drift.
At each review, verify that escalation contacts, provider-status links, emergency controls, dashboards, test accounts, rollback instructions, and access permissions are still current. Monitoring should connect metrics to actionable investigation paths; see the AI chatbot monitoring guide for a broader measurement framework.
How to interpret changes
Interpret symptoms by comparing layers and time periods. A sharp increase in timeouts across all channels points toward provider, network, capacity, or shared middleware issues. Normal generation latency with a sudden rise in empty or irrelevant context points toward retrieval, indexing, filters, or source changes. Normal retrieval with new unsupported claims after a deployment points toward prompt, model, output validation, or conversation-state changes.
Hallucinations should be investigated as a chain of conditions, not corrected by adding a single instruction automatically. Ask:
- Did the knowledge base contain the answer, and was the source current?
- Did retrieval select the right source and enough relevant context?
- Did the prompt clearly require grounded answers and an explicit uncertainty response?
- Did the model receive conflicting conversation history or tool results?
- Was the response checked before delivery?
- Was the user’s question ambiguous enough to require clarification?
If the answer is present in the source but absent from retrieved context, investigate indexing, chunking, metadata, query rewriting, and filters. If the right context is present but the response misuses it, test the prompt and model with a fixed evaluation set. If the bot answered confidently despite missing evidence, strengthen the fallback and uncertainty path rather than merely requesting a more confident tone.
For conversation failures, inspect whether the bot asked an appropriate clarifying question, preserved relevant context, and handed off at the correct point. The conversation design guide covers fallbacks and handoffs that often determine whether a technical failure becomes a poor user experience.
Use a rollback decision tree:
- Is there active safety, privacy, or material business risk? Contain or disable the affected capability first.
- Is the failure correlated with a recent change? Freeze further changes and compare with the last known good version.
- Can the issue be isolated to one route, tool, index, prompt, or channel? Roll back that component rather than the entire bot when safe.
- Is the cause uncertain? Use a reduced, monitored configuration and run controlled tests before restoring full functionality.
- Did rollback restore behavior? Preserve the failed version and evidence for root-cause analysis; do not delete the trail.
When to revisit
Revisit this runbook monthly or quarterly, and immediately after a production incident, major model or provider change, retrieval-index rebuild, new tool integration, channel launch, security review, or substantial knowledge-base update. Also update it when recurring data changes: a new error pattern, rising latency, more user corrections, a higher handoff rate, or repeated failures in a particular language or workflow.
Make the next review practical. Assign one owner to verify operational contacts and status links, one owner to run the regression set, and one owner to review metrics and open incidents. Add every meaningful incident to a small evaluation suite with the expected answer, acceptable uncertainty behavior, retrieval expectation, and escalation outcome. Store the suite alongside versioned prompts and deployment configuration.
Before closing an incident, confirm four things: users have a safe working path, the original failure is no longer reproduced, monitoring can detect a recurrence, and a documented owner exists for follow-up work. Keep a visible “known issues” list for defects that are contained but not yet fixed. A disciplined review cycle turns isolated chatbot failures into better tests, clearer controls, and a more reliable AI assistant for teams.