keepcalculator

06 Numbers and Powers

Reduce AI Errors Before They Reach Customers

Card No. 06·29124 · Updated · Standard formula, shown below

Reducing AI errors before they reach customers means checking an AI system’s outputs, limiting what it can do, and routing uncertain or high-impact cases to a person. Start with a clearly defined use case, examples of acceptable and unacceptable answers, and a way to review failures; then build checks into the full path from input to delivery.

What You’ll Need

  • A written description of what the AI is allowed to do, who it serves, and which outcomes are unacceptable.
  • Representative test cases, including ordinary requests, edge cases, ambiguous inputs, and known failure examples.
  • Access to the application or workflow, its configuration, and relevant logs or evaluation results.
  • A named owner and a process for human review, customer feedback, and pausing or reverting a change.

Step-by-Step

  1. Define the customer-facing boundary. List the exact tasks the system may perform and the topics or actions it must not handle. For example, a support assistant might explain documented return steps but must not promise an exception or claim a refund has been issued. Decide which requests should be declined, redirected, or sent to a person. Make these boundaries specific enough to test.
  2. Map the path from request to customer. Trace how information enters the system, which model or service processes it, what tools or data sources it can access, and where the answer is shown or sent. Include generated emails, summaries used by staff, automated actions, and third-party integrations. Errors can arise in retrieval, formatting, or a later workflow step, not just in the generated text.
  3. Set measurable acceptance criteria. Define what a correct answer must do: use approved information, address the question, follow required formats, and avoid unsupported claims. Separately list critical failures, such as invented policy, disclosure of restricted information, or an incorrect action. Set thresholds appropriate to the risk and define who can approve a release. Do not treat a high average score as proof that every critical case is safe.
  4. Build a realistic evaluation set. Collect permitted, representative examples from normal usage, support questions, and past incidents. Remove or protect personal and confidential information according to your organization’s rules. Add variations in wording, misspellings, missing context, conflicting instructions, and out-of-scope requests. Keep a separate set of cases for final checks so teams do not tune the system only to examples they already know.
  5. Test the whole workflow before release. Run the evaluation set through the same route customers will use, including retrieval, tools, templates, and handoffs. Check factual accuracy against trusted source material, not just fluency. Test whether the system follows boundaries and whether a failed tool call or missing source leads to a safe response. Record results by failure type and severity, and compare them with your acceptance criteria.
  6. Reduce opportunities for unsupported answers. Give the system concise, current, approved reference material and instructions for citing or identifying its sources where appropriate. Limit access to tools and data to what the task requires. Require confirmation before consequential actions, and prevent the system from claiming an action succeeded unless the underlying system confirms it. If reliable evidence is unavailable, make “say you don’t know or escalate” an acceptable outcome.
  7. Add checks and human review at the right points. Use deterministic checks for things that can be verified reliably, such as required fields, allowed formats, or whether a referenced record exists. Route low-confidence, conflicting, sensitive, or high-impact cases to trained staff. A confidence score alone is not a guarantee of correctness; validate any routing rule against real examples. Give reviewers enough source context and a clear way to correct or reject an output.
  8. Release gradually and monitor actual use. Start with a limited audience or a mode where staff review outputs before customers see them. Expand only after checking the same quality and safety measures used in testing. Monitor error categories, escalations, customer corrections, tool failures, and unexpected changes in request patterns. Avoid collecting more customer data than needed, and restrict access to logs.
  9. Close the feedback loop. Make it easy for customers and staff to flag a bad answer. Review reports, confirm the cause, and add representative cases to the evaluation set. Fix the relevant source data, instruction, validation, or workflow rather than merely patching one wording example. Retest related cases and document changes so a later update does not reintroduce the same failure.
  10. Prepare a stop and recovery process. Decide in advance who can pause the feature, disable an automated action, or restore a previous configuration. Specify how affected cases will be reviewed and corrected. Test the recovery procedure before an incident; a monitoring alert is not useful if nobody owns the response.

Common Mistakes

  • Testing only polished examples: Real requests are incomplete, ambiguous, and varied. Include messy and adversarial cases relevant to the use case.
  • Judging answers by tone: A confident, well-written response may still be false. Verify claims against authoritative sources and check what the system actually did.
  • Relying on one broad accuracy score: Aggregate results can hide rare but serious failures. Report critical categories separately and set release rules for them.
  • Assuming a prompt fixes every problem: Instructions cannot reliably compensate for stale source material, excessive permissions, broken integrations, or missing review.
  • Launching without an owner: Unassigned alerts and feedback tend to go unanswered. Name people responsible for monitoring, investigation, and rollback.

Tips

  • Keep an evaluation set versioned alongside the system configuration, and rerun it after model, data, prompt, or workflow changes.
  • Use examples from the intended audience and real operating conditions, while protecting personal and confidential information.
  • Separate low-impact convenience features from actions that affect accounts, orders, eligibility, or other important customer outcomes.
  • Show staff the evidence behind an answer when possible, and make it easy to verify rather than encouraging blind approval.
  • Track both quality and containment: a system that refuses every difficult request may avoid errors but fail to serve customers.

Troubleshooting

Errors appear after a release: Pause expansion or revert the change if the problem could affect customers. Compare the new version with the previous one using the same cases, then isolate changes to the model, instructions, data, or integrations.

The system invents details despite having reference documents: Check whether retrieval is finding the correct, current passage and whether the answer is allowed to go beyond it. Improve source organization, require evidence for claims, and route unsupported questions to a person.

Reviewers miss obvious errors: Reduce the review burden by highlighting sources and uncertain sections, provide clear criteria, and sample decisions for quality checks. If volume is too high for careful review, narrow the feature or reduce automation until capacity matches risk.

Monitoring shows a sudden rise in complaints: Check for changes in request types, source content, tool availability, and system configuration. Preserve relevant logs under your data-handling rules, investigate representative cases, and communicate internally about the temporary safeguard in place.

There is no clear cause: Reproduce the issue with the original input and workflow where permitted. Record the input, output, retrieved evidence, tool results, and configuration version while minimizing sensitive data. Add a confirmed reproduction to the test set before making a fix.

Frequently Asked Questions

Can AI outputs be made error-free?
No. Testing and safeguards reduce risk but cannot guarantee that every output is correct. Keep suitable human oversight and a way to correct failures.

How many test cases do we need?
There is no universal number. Include enough representative cases to cover important tasks, known failure types, edge conditions, and critical boundaries, then add cases as new issues emerge.

Should every AI answer be reviewed by a person?
Not necessarily. Match review to the impact and uncertainty of the task. High-impact actions and unresolved cases warrant stronger oversight than low-risk, easily corrected outputs.

Does a higher confidence score mean an answer is correct?
No. Scores can be poorly calibrated and may not reflect factual accuracy. Test any threshold on representative data and combine it with source checks and escalation rules.

What should the system do when it lacks reliable information?
It should avoid guessing, explain that it cannot verify the answer, and offer an appropriate next step such as contacting support or transferring the case.

When should we pause an AI feature?
Pause or limit it when a serious failure is recurring, safeguards are not working, customer impact is unclear, or the team cannot review cases promptly. Resume only after testing and approval against defined criteria.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →