AI search and AI chatbot accuracy

Your AI answers customers. How do you know it answers well?

A practical way to test AI search for your website, or an AI chat, and make its answers better in a way that lasts.

By Daniel Zivkovic, founder of Magma Inc.

The AI search or chat on your site demos well. The harder question is what it told a customer at 2 a.m. last Tuesday, and whether anyone would know. In 2024 a Canadian tribunal ordered Air Canada to compensate a customer its website chatbot had misinformed. The vendor reports accuracy and IT reports uptime; the answers fall between the two, and onto your desk.

In one sitting you can read a small sample of real answers, see the kinds of failure they share, and pick the first rule to change. Jump to your first hour, or take the checklist to your next vendor meeting.

The short version. People cannot describe a good answer in advance, but they can mark one. Show them real answers, have them mark each pass or fail with one sentence on why, turn the reasons into rules and fixes, and rerun the same questions after every change. Do not trust the feeling that an answer sounds right: in a 2023 audit of four AI search engines, the answers people rated most useful were the least supported by their citations.

Test your AI chatbot: your first hour

One hour, two people: the person who owns the answers and one person who knows the customers, from support or sales. Nobody technical has to be in the room.

Where the questions come from. Take 20 real customer questions from last week's transcripts. If you cannot see them, ask the vendor for a conversation export: every question customers typed and the answer each one got, for the last few weeks, as a spreadsheet. Most platforms can produce one. Before launch there are no transcripts, so use real questions from support emails or from sales, and label any test questions you make up as a separate group.

One answer is enough. Mark each answer pass or fail and write one sentence on why, before you look at any automated score. Comparing two or three answers side by side is optional; when you do, keep the question the same and change only the setting, such as the current prompt against a candidate change. Then compare your marks with the vendor's dashboard. Five finished rows sit beside the blank sheet further down.

Two rules apply from the first row. Answers about price, eligibility, financing or legal terms quote the approved page word for word or hand off to a person; anything in the assistant's own words is a fail. And the assistant never refuses a valid request because of its tone: a rude customer with a real question still gets the answer.

Know what you can change. If your pages do not cover a question you want answered, the fix is yours: write the missing content. If you do not want it answered, the right answer is a polite decline. If the page exists and the assistant still cannot find it, that is a search problem the vendor has to fix: tell them the right page exists and the assistant is not finding it, so they check whether the page is indexed and why their search misses it (the real-estate case further down was this kind). So in your sentence, name the page that should have answered.

If you find a harmful answer today. Save the conversation and when it happened. Ask whoever runs the assistant to stop that answer now: a working handoff to a person, or a pause if needed. Tell the business lead who owns that topic, and bring in legal or compliance if a customer may have acted on it. Then add the question to your set and check that the fix holds.

Give the team responsible a clear change request. Send the rule, the questions that failed, your reason for each verdict and the approved page where one applies. Agree who makes the change and by when. Ask them to rerun the whole question set, not only the failures, and have the owner of the answers review the results before the change is approved.

You leave the hour with three things: a pass rate (20 answers show where the failures are, not how often, so report the kinds of failure before any percentage), a short list of those kinds (group the bad answers, then count the groups), and the one rule you would change first. That last item is the point. An hour that ends without a rule to change, or a written reason why nothing needs to change, is a complaint log.

If you would rather not run the first sittings alone, Magma does them with you and hands the loop to your team. Book a free scoping call, or see what it costs.

Two kinds of good

Decide which kind each question is before you score it. A preferred answer can still fail: preference is a ranking, correctness is a gate. And test both sides; as Anthropic's engineers put it, "One-sided evals create one-sided optimization."

Answers you judge

Most answers fall here: directions, explanations, recommendations, handoffs. Good means on brand, helpful, with the right link. Two good answers can differ, so you mark or rank them and write why.

Answers that must be verbatim or refused

The verbatim rule from your first hour (price, eligibility, financing, legal terms). A refusal here is a pass. Make all of these pass before launch, and record who checked each one and when.

Five sample rows

This table scrolls sideways.

CategoryVerbatim only?QuestionVerdict or rankingThe why columnRule it becomes
q-03CoveredNoDo I need a home inspection on a new build?PassSays yes, explains why new homes still have defects, and links to our own inspection guide; sounds like us.No new rule; the row stays in the set as a check.
q-07CoveredNoWhat closing costs should I budget for as a first-time buyer?FailLists the right closing costs and ends with an offer to help, but there is no link to book a call.Every handoff carries a working link to the contact page.
q-19Not in your pagesNoWill prices in this neighbourhood go up next year?A: 1, B: blank (fail)B predicts a rise, which reads as investment advice. A explains it cannot forecast prices and offers recent sales data and a call.Never forecast prices or give investment advice; offer the data and a person instead.
q-33CoveredYesHow much land transfer tax will I pay on a $700,000 home?A: blank (fail), B: 1A works out a figure from memory. B points to the approved calculator page and quotes its wording, with the link.Tax amounts come only from the approved page, or the answer hands off to a person.
q-41Rude, but asking something realNoThis thing is useless. Just tell me what closing costs are.A: blank (fail), B: 1A declines because of the tone. B ignores the insult, gives the list and the contact link.Never refuse because of tone; answer the valid part or offer a person.

Invented examples, for illustration only. The first two score one answer; the last three compare two answers to the same question.

The blank sheet

This table scrolls sideways.

ColumnWhat goes in it
idA short code per question
categoryOne of the seven categories in Build the question set, below
verbatim only?Yes when the verbatim rule from your first hour applies (price, eligibility, financing, legal terms)
questionThe real customer question, as asked
answerThe pasted answer
pass or failYour verdict, before any automated score
the why columnOne sentence: why this verdict
rule it becomesFilled in after review
scored byName
dateYYYY-MM-DD

Copy the columns into any spreadsheet; one row per question; keep every row, including passes. When you compare two or three answers, add an answer B (and C) column and replace pass or fail with one rank column per answer (rank A, rank B): 1 for the one you prefer, then 2, then 3; ties are fine, a fail is 0 or blank.

One turn of the loop, start to finish

The method above, on one real site: a small real-estate guide with an AI search assistant (try it). I built and ran this one myself, so the gaps are mine. The dates matter, because they show the reason came before the change.

1. The answer

When a question needed a person, the assistant handed off with lines like "This is exactly the kind of question [the owner] can help with directly; I can point you to her." Often there was no link to the contact page.

2. The ranking

On 15 August 2026, three versions of the prompt answered the same set side by side: 50 real questions, plus four follow-up conversations of three turns each, 62 rated rows in all. The business side ranked the three answers on each row: best first, ties allowed, a blank for a fail.

3. The reason, in plain words

One note said the word "exactly" made answers sound scripted, like an old phone menu; another said a natural-sounding answer had no link to the contact form. Both point at something that can be changed.

4. The rule

Written from those two notes: handoff offers never use "exactly", vary their wording, and always carry a working link to the contact page.

5. The change

On 16 August an AI took over the rewriting (see the last section): it changed the offer wording, reran the whole set, scored the new answers against the ranked sheet, and repeated until the scores held.

6. The rerun

Answers using "exactly" went from 28 to 0. Offers with no link went from 24 to 0. The final version held both at zero on a confirmation run the next morning. One reason became one rule, one change and one number.

What that turn did and did not prove

The first draft of the change made the assistant refuse more often: refusals rose from 28 to 37 on the same questions, and two more small edits that night brought them back down. That is the reason the rows stay as a test. A fix for one complaint can quietly cause another, and only a rerun on the same questions shows it.

Zero is what the runs showed; it is not a promise it will never happen again. This is one site and one business, not a benchmark. What matters is the chain it proves: a reason in plain words, a rule anyone can read, a change, and a number that moved.

The owner's written reason, the why behind each verdict, becomes the requirement, the fix and the test. A score tells you how often it fails. The reason tells you what to change.

Why this works: "what does good look like?" is the wrong first question

Ask a business owner to describe a good answer and you get adjectives: accurate, helpful, on brand. Show them real answers to a real customer question and they judge them in seconds. Ask "why?" and you get something useful: "it sounds like us", "it never gives a link to book a call", "it answers a question the customer did not ask". That sentence is a requirement nobody could have written up front.

Barry Boehm popularised the phrase "I'll know it when I see it" (IKIWISI) in 2000, for requirements that only show up once people use a system, and the forward-deployed engineering guide builds on the same idea.

AI answers make it sharper. In a 2024 study, Shreya Shankar and colleagues found that people need criteria to grade outputs, but grading outputs is how they find their criteria; they called it criteria drift. The study was small (nine practitioners), but it matches the case above: you still write a definition of good, after the reactions, from the reasons people gave.

That one sentence per answer is what this guide calls the why column, and an engineer or a vendor can act on it the next morning. Hamel Husain calls it a critique, Shankar's work talks about notes, and some tools call it an explanation; the idea belongs to all of them.

Keep the score simple: pass or fail for one answer; for two or three, rank them 1, 2, 3, ties allowed, a blank for a fail. Eugene Yan, who writes on product evaluation, advises: "Focus on binary pass/fail or win/lose labels." Avoid a 1-to-5 scale, where nobody agrees on the difference between a 3 and a 4.

Not every row will get a reason. On the real-estate site, 49 of the 62 rated rows carried a written why; the rest still counted in the score, but only the rows with a reason said what to change.

AI chatbot accuracy: why you cannot tell by reading

In a 2023 audit of four AI search engines, Stanford researchers Nelson Liu, Tianyi Zhang and Percy Liang found that only about half of the generated sentences (51.5 percent) were fully supported by their citations. More striking, the answers people rated as most useful were the ones least supported by their sources (a correlation of -0.96, close to a perfect inverse). Those systems have improved since; the lesson holds: the feeling that an answer sounds right is the thing being fooled.

OpenAI's own guidance names the habit. It lists "vibe-based evals" as an anti-pattern: "Using 'it seems like it's working' as an evaluation strategy." Reading a few answers is how you notice a problem. Marking real answers, with a reason, is how you measure one.

Build the question set

Start smaller than you think. Anthropic's engineers call 20 to 50 simple tasks drawn from real failures "a great start", and Husain and Shankar suggest reviewing that many outputs after every significant change. The real-estate site's set is 51 questions (50 of them were in the rated sitting above; one was added the next day), which is the start line, not the finish.

Start from questions real visitors ask (follow-ups your search platform suggests are a quick source), then add questions the assistant should not answer well, and sort everything into the seven categories below. They have served two unrelated assistants, the real-estate search and a brand-guidelines chatbot built on public brand pages. The examples in the table come from the second one, with the brand's details removed.

The seven categories

This table scrolls sideways.

CategoryGroupWhat it isExampleWhat good looks likeWhat the reviewer checks
CoveredShould answerYour pages answer it, including a question with a wrong premise they can correct."What is the minimum clear space around the logo?" or "Our agency says the clear space must be twice the logo width. Is that right?"Answers from your pages, cites them, corrects a wrong premise rather than repeating it.Open the cited page: does it say what the answer says?
Not in your pagesShould declineSounds like it belongs, but your pages are silent; often a plausible premise nobody can check."When did the clear space rule change to twice the width?" or "How long does the design team take to approve a new banner?"Says plainly it does not have this, points to the right person or page, invents nothing.Did it invent a number, date, fee or rule?
Off-topicShould declineHarmless and unrelated."Will it rain in Toronto tomorrow?"One warm line, then what it can help with.Short, friendly, nothing made up.
Sounds related, is notShould declineUses your words but asks for something outside your pages."Write a short poem about our logo colours for the team newsletter."Declines without pretending to look it up; may point to what the pages do offer.Did it play along, or act as if it had searched?
Rude, but asking something realShould decline the tone, not the requestA rude or hostile message, sometimes with a valid request inside."You're useless. Just give me the logo file."Stays warm, answers the valid part or offers a person. Refusing because of the tone is a fail; so is a lecture on manners.Did it answer what was valid, and stay calm?
BorderlineNot scored until the owner rulesYour pages half-cover it; either answer is defensible."Can we print the logo on staff T-shirts?"The owner rules; the ruling becomes a written rule and the row moves to Covered or a should-decline category.Unscored until the ruling is written.
Follow-upsNot in the decline countsOnly makes sense after an earlier turn."What are the brand colours?" then "And the grey ones?"Knows what "the grey ones" refers to; never treats the earlier chat as a source.Read the whole sequence, then judge each turn.

What to count, and how often to rerun

On the should-decline rows, a clear decline scores as a pass and an answer is the fail, just as on a price or legal question. The one exception is the rude row: decline the tone, answer the valid request, and score whether the valid part was answered.

Count two things, like a smoke detector, which should go off for every real fire and stay quiet when you make toast. Of the questions it should have declined, how many did it decline? Each miss is an answer your pages do not back. Of everything it declined, how many should it have answered? Each one is a false alarm, and enough of them make the assistant useless. Borderline rows and follow-ups stay out of both counts: correct is not settled for the first, and the second are judged turn by turn.

Start with 3 to 5 questions per category, and more for Covered, so a safer assistant does not become a useless one: 21 to 35 rows in all, a follow-up sequence counting as one. The real-estate site's 51 map onto the same table: 10 Covered, 15 Not in your pages, 10 Borderline, 10 Off-topic and 6 Rude, which also held the attempts to make it misbehave. A set that small shows where the failures are, not how often, so do not quote a percentage per category.

Before you trust an AI checker on its own, you need more: Husain and Shankar plan 100 to 200 labelled examples for each kind of failure, and Eugene Yan aims for 50 to 100 failures, because "a dataset with hundreds of labels but only five failures isn't useful." Even then a set cannot rule out rare failures: Yan shows that a 3 percent defect rate on 200 samples leaves a margin of about 2.4 points either way, too wide to confirm a target under 5 percent.

Rerun the set whenever anything changes, including what you did not change yourself. Vendors update and retire models on their own calendar, so an answer that passed last month can fail after an update you never saw. Pin the model version where you can, rerun on a schedule as well as after your own edits, and keep the rows somewhere you control. When a row goes from pass to fail, the why column tells you which rule broke.

Grounding: why checking can be quick

An answer that cites one of your approved pages can be checked in seconds: open the page and see whether it says the same thing. An answer with no source cannot be checked short of asking an expert. Citations let a reader check, and the audit above shows a cited answer can still be wrong.

On the real-estate site, the business side marked three refusals as wrong and, in each note, named the section of the site's guide that answered the question (one note said "totally wrong" and pointed to the page). The right pages were not being found, so the fix was in the search index, not the prompt. After the index change, all three came back as cited answers; a later spot-check found two of the three still fixed, one more reason to keep rerunning the rows.

Who decides, and who scores

One person owns what good looks like. Husain and Shankar call this person the "benevolent dictator": "one domain expert who understands your users". Committees average out the reasons until nothing is left to act on.

Scoring can be shared, but only on the business side: people who know the customers. Write the guidelines down, and have the owner review the disagreements and any new kind of failure.

An AI checker can pre-sort answers at volume once a person's labels exist to check it against; Shankar's study found AI evaluators "simply inherit all the problems of the LLMs they evaluate." Ask the checker for its own reason too, so you can read why it disagrees with your reviewer.

What a tool can and cannot do

A tool runs your checks faster than any person; it cannot tell you which checks to run. Evaluation platforms store the set, rerun it on every change and help you teach an AI checker to agree with your labels. Use one when the set outgrows a spreadsheet.

The common detour is a long debate about which tool to buy. Husain calls this "the tools trap": "the belief that adopting the right tools or frameworks (in this case, generic metrics) will solve your AI problems." The way out: the business says what good looks like and why, and that goes into whichever tool runs it.

The objections, taken seriously

"This is just standard error analysis." Yes, and that counts in its favour: Hamel Husain and Shreya Shankar teach it to engineers under that name, and it works. What changes here is the reader: the person who owns the answers and will never read an engineering blog.

"Our vendor's dashboard already does this." A dashboard counts what someone told it to count. The useful questions are who told it, in whose words, and whether those words came from looking at your real answers.

"Experts disagree with each other." They do. Anthropic's test for a good question is one where "two domain experts would independently reach the same pass/fail verdict." Where yours do not agree, that is a finding: the rule is not written down yet.

When you do not need this

A guide that always concludes "you need more process" is a sales page with footnotes. This one tells you when you can skip it.

You do not need a formal loop for a low-stakes internal helper, for one-off drafts that a person rewrites anyway, or for a setup where a person reviews every answer before anyone sees it. In those cases the person reviewing is already the loop.

You do need it once an AI answers your customers directly, in your name, without a person in between. That is the moment the answers become yours.

When the rows exist, an AI can do the rewriting

On the real-estate site, the early prompts were tuned by hand: read the rankings, change the wording, rerun. That works, and it is slow. Once the ranked sheet existed, an AI coding agent got it (the answers, the ranking and the why) with one goal: match it. It changed the prompt, ran the whole set, scored the answers against the sheet, and went again. It took a couple of hours, and its prompt went live.

The pattern comes from Andrej Karpathy's autoresearch, where an AI agent edits, runs, measures and keeps or discards a change with no person in the loop. His version measures a model against a benchmark; this one measured a prompt against the business's own rankings and reasons.

Two things make a loop like this safe to leave running: people do their part once, up front (the ranked rows and the why, which the AI cannot invent), and the loop gets a cap, a maximum number of rounds and a spending limit, so a run that stops improving also stops costing. Karpathy's loop runs until someone stops it. A loop that calls a paid model on a live business should not.

A checklist for whoever owns the answers

Usable without hiring anyone. Take it into your next vendor or team meeting:

1. Who owns what good looks like?

One named person, accountable. Others on the business side may score, with written guidelines.

2. Have you read 20 real answers this month?

Real customer questions, not the demo script.

3. Does every verdict carry a reason, a name and a date?

One sentence beside every pass, fail or rank, signed and dated. A bare score gives the rate, not the fix.

4. Have the reasons become written rules?

If a reason never changed a prompt or a source page, it is a complaint log.

5. Which answers must be verbatim or refused?

The verbatim rule from your first hour. A refusal there counts as a pass.

6. Does the set include questions it should refuse?

Not in your pages, off-topic, and sounds related but is not: 3 to 5 of each. Add 3 to 5 rude messages with a real request inside; those pass only when the request gets answered.

7. Can a reader check every answer against your own pages?

Citations to approved content, checkable in seconds.

8. Do you rerun the set on a schedule?

After every change you make, and on a schedule for vendor changes.

9. Do you report kinds of failure, not one score?

Grouped failures and their rates show what to fix. A single number shows how worried to be.

10. Has the AI checker been checked against your labels?

If an AI scores at volume, compare it with your reviewer's labels first, and keep comparing.

11. What will your vendor answer?

Can we export the conversations? Can we pin the model version? Can we rerun a fixed set of questions? Who tells us when the model changes?

12. What do you still not know?

Rare failures need hundreds of answers. Write that down instead of claiming it.

Quick answer

What is an AI answer evaluation, in plain words?+

A set of real customer questions, the answers your AI gave, and a person's verdict on each: pass or fail when there is one answer, a ranking when there are several, with one sentence on why. Rerun it after every change and you can see whether the answers got better or worse, and which rule broke.

When you want a second pair of hands

The loop is simple to start and easy to let slip. Magma runs the early scoring sittings with the business owner, builds the loop and the test that reruns your questions after every change and whenever the vendor changes the model, and hands it all over to your team.

Book a free scoping call

30 minutes, no pitch: a straight answer on whether this fits.

Or see how Magma runs it, with pricing

Sources and lineage

The sources below are cited for the specific points used here and nothing beyond them.

Hamel Husain and Shreya Shankar, "Evals FAQ" (living page, retrieved 2026-10-15): error analysis, 20 to 50 outputs per significant change, the benevolent dictator, and 100 to 200 labels per failure mode.

Hamel Husain, "Using LLM-as-a-Judge For Evaluation" (2024-10-29): critiques; "A Field Guide to Rapidly Improving AI Products" (2025-03-24): the tools trap.

Shreya Shankar, J.D. Zamfirescu-Pereira, Björn Hartmann, Aditya Parameswaran and Ian Arawjo, "Who Validates the Validators?" (UIST 2024): criteria drift, and AI evaluators needing human validation. A qualitative study with nine practitioners.

Andrej Karpathy, "autoresearch" (GitHub repository): the pattern behind the automatic loop, an AI agent that edits, runs, measures and keeps or discards a change on its own.

Anthropic Engineering, "Demystifying evals for AI agents" (2026-01-09): 20 to 50 tasks to start, two experts reaching the same verdict, and testing both sides of a behaviour.

Eugene Yan, "Product Evals in Three Simple Steps" (2025-11-23): binary or win/lose labels, failure counts for checking a checker, and the sample-size arithmetic.

Barry Boehm, "Requirements that handle IKIWISI, COTS, and rapid change" (IEEE Computer, July 2000): requirements that emerge with use rather than being specified up front.

Nelson F. Liu, Tianyi Zhang and Percy Liang, "Evaluating Verifiability in Generative Search Engines" (2023): citation support rates and the inverse link between perceived usefulness and citation precision.

OpenAI, "Evaluation best practices": the vibe-based evals anti-pattern.

Moffatt v. Air Canada, 2024 BCCRT 149 (Civil Resolution Tribunal of British Columbia, 2024-02-14): an airline held responsible for what its website chatbot told a customer, and ordered to pay $812.02 in damages, interest and fees.

The worked example comes from one small real-estate site's August 2026 ranked sheet and the change log that followed. You can try its AI search and test the result yourself.

By Daniel Zivkovic, founder of Magma Inc.