AI hallucination: causes, examples and how to reduce it
A hallucination is a confident answer that is not true. See the five forms it takes in customer support, why models produce it and the controls and tests that cut it down.
Read articleA support bot that writes well but skips a step is a risk. Five test cases for instruction following: step order, conditions, refusals, interruptions and exact wording.
By the Askocto team · · 4 min read
For a support agent, the most valuable quality of a model is often not eloquence but obedience: does it follow the steps you wrote, in order, under the conditions you set, and stop where you said to stop? When a model release is described as better at following instructions, the claim is worth testing, since procedures for refunds, bookings and account changes depend on it. This article describes five test cases you can run on any model, including GPT-4.1, with your own procedures. For features and availability, read the provider's current documentation.
In short: Write one real procedure, then test step order, conditions, refusals, interruptions and exact wording. Count failures by type, and keep the model only if skipped steps stay near zero.
A model can write fluent replies and still fail you in specific ways:
None of these shows up in a fluency check. They show up only when you run a procedure end to end, many times, with messy customers. Writing procedures for an AI support agent explains how to write steps that a model can follow, and the test below checks whether the model does.
Pick a procedure with four to six steps, at least one condition and one action. A returns flow is typical:
Write it once, plainly. Use the same text for every model you compare.
Customers rarely follow your order. Open with "I want my money back, here is my order number" and see if the agent still checks eligibility before promising anything. Pass: it never confirms an outcome before the checking step.
Run the same case twice: one eligible order and one outside the window. Pass: the two paths differ as the procedure says, with no blending of both.
Ask for something the procedure does not allow, such as a refund outside the policy "just this once". Pass: it declines in your words and offers the handoff, without inventing an exception.
Change the subject halfway: "Also, do you ship to Norway?" Pass: it answers briefly from sources, then returns to the open step instead of dropping it.
Include a sentence that must not change, such as a required disclosure. Pass: it appears unchanged, every time.
Run each case ten times, since a single success proves little, and record the result.
| Case | Runs | Failures | Failure type |
|---|---|---|---|
| Step order | 10 | skipped, reordered | |
| Conditions | 10 | wrong path | |
| Refusals | 10 | gave exception | |
| Interruptions | 10 | dropped step | |
| Exact wording | 10 | paraphrased |
Weight skipped steps and invented exceptions heavily. A stiff tone is a nuisance. A promised refund that policy does not allow is a cost.
Run the table again after each change to the procedure or the model, and keep the old results. A drop from one run to the next tells you what the change did, and a table with dates gives you something to show a colleague who asks why you chose one model over another.
Do not blame the model first. Check your side:
If a clearer procedure fixes it, you learned something about your writing. If the same clear procedure fails on one model and passes on another, you learned something about the model. Choosing the right AI model covers how to weigh that against cost and speed.
In Askocto, steps live under Build > Procedures, and you can attach actions such as collecting a lead or booking a meeting. Switch the model on a draft under Build > Models, replay your cases in the Playground, and save them as Tests so the same checks run again after every change. See the procedures feature and the guide to Tests. The wider context of how models differ is in GPT models, and how ChatGPT works explains why a fluent model still needs checks.
It is how reliably a model does what its instructions say: the steps, the order, the conditions and the limits.
Write one real procedure and test step order, conditions, refusals, interruptions and exact wording, with ten runs of each.
That depends on your procedures and questions. Run the same cases on each candidate and compare failures by type.
Procedures define the steps, guardrails set the limits, and saved Tests replay your cases after every change, so a regression shows up before customers see it.
Askocto answers the repeat questions across chat, email and voice and hands the hard ones to your team.
A hallucination is a confident answer that is not true. See the five forms it takes in customer support, why models produce it and the controls and tests that cut it down.
Read articleChain-of-thought prompting asks a model to reason in steps before it answers. Learn when that helps a support agent, how to write it, and why customers should not see the steps.
Read articleDeveloping an AI agent means defining a job, preparing knowledge, adding tools, testing, releasing and monitoring. See the seven stages and who does what at each one.
Read article