Skip to content
Back to Blog

Testing an AI Chatbot Before Go-Live: Question Set and Scoring

How to build a 50-question test set from real data, six question groups, a 0–2 scale with red flags, suggested go-live thresholds, the fix-and-rerun cycle, and keeping the set alive after launch.

Testing an AI Chatbot Before Go-Live: Question Set and Scoring

Short answer: Before opening an AI chatbot to customers, test it with a set of about 50 questions taken from real chat, email, and call history, split into six groups: common questions, prices and policies, hard multi-step questions, out-of-scope questions, questions that need a human, and attempts to break it. Each question has a reference answer with its source document. Two people score independently on a 0–2 scale and raise a red flag for critical errors (wrong prices, false promises, data leaks). Go live only with zero red flags and thresholds agreed in advance; after go-live, rerun the whole set whenever documents, prices, or configuration change.

"We tried it and it looked fine" is the most common acceptance test and the riskiest: the people who built the chatbot tend to ask questions they know it can answer. This article sets out a method simple enough for a small or mid-sized business to run in one to two weeks, with no specialist tools.

Why

Why do you need a fixed test question set?

A chatbot built on a language model does not give the same answer every time, and it can sound entirely plausible while being wrong. OWASP lists misinformation among the top 10 risks for language model applications. NIST’s generative AI risk profile (NIST AI 600-1) also stresses measuring and evaluating systems before and during operation rather than relying on impressions.

A fixed question set solves three problems:

  1. Comparability. Run the same 50 questions before and after a fix and you know exactly whether the chatbot improved or got worse.
  2. Regression detection. Fixing the documents for question A can break question B. Only rerunning everything shows it.
  3. An evidence-based go-live decision. Instead of "looks fine", leadership gets numbers and a list of remaining errors.

The set is also a long-term asset: when you change provider, model, or add a channel, you rerun it and compare.

Question set

Building a 50-question set: six groups and where to find questions

Table of a 50-question chatbot test set: common, prices and policies, hard, out of scope, needs a human, attempts to break it
Take questions from real chat, email, and call history; do not invent them all.

Where to find questions: chat history on your website, Zalo OA, and Messenger; enquiry emails; call notes from sales and customer service staff. Keep the customers’ own wording, including abbreviations, missing diacritics, and typos; that is how real customers will ask the chatbot.

Six groups and suggested counts for a 50-question set:

GroupQuestionsPurpose
Common questions20Most real traffic; must be correct and concise
Prices and policies10The highest-risk group; one wrong number is a red flag
Hard, multi-step5Needs several document passages or applied conditions
Out of scope5Checks that it says "I don’t have that information" instead of inventing
Needs a human5Complaints, order problems, customers asking for staff
Attempts to break it5Coaxing false promises, asking for configuration, sensitive content

The counts are a starting point. A business with complex pricing should weight prices and policies more; a consultative seller should add hard questions.

Write a reference answer for every question, covering the correct content, the source (file name and section), and the expected behaviour (answer, ask a follow-up, decline, or hand off). Without reference answers, reviewers score on gut feel. If you cannot write an answer because the documentation does not exist, that is an important finding: fix the documents first, following the guide to preparing data for a chatbot.

For the attempts-to-break-it group, use the scenarios in prompt injection and how to defend against it. For out-of-scope questions, see when AI should refuse to answer to agree what a correct refusal looks like.

Scoring

A 0–2 scale and a red flag for critical errors

Chatbot answer scoring scale: 2 pass, 1 needs work, 0 fail, and a red flag for critical errors such as wrong prices or data leaks
Two people score independently; where scores differ, agree the criteria again.

Three levels are enough to discriminate and simple enough for two reviewers to agree:

  • 2 – Pass: correct, complete, on brand voice, with a next step where needed (a link, how to order, a handoff).
  • 1 – Needs work: correct but missing an important condition, too long, or vague enough that the customer would have to ask again.
  • 0 – Fail: wrong, invents something not in the documents, or does not answer the question asked.

A red flag is raised independently of the score for errors that cause harm even once: a wrong price or fee; a promotion, warranty, or refund that does not exist; disclosure of internal information or personal data; offensive or inappropriate content; failing to hand off when a customer complains or asks for a person.

Two reviewers score independently, ideally one who knows the product (sales or customer service) and one who knows how the chatbot works. Where their scores differ, agree the criteria and write them into the scoring guide so the next round goes faster.

Run each question at least twice, because language models can answer differently each time. If either run raises a red flag, the question counts as a red flag.

Thresholds

Go-live thresholds: how good is good enough?

Agree thresholds before running the tests, so the results cannot be "adjusted" to fit hopes. A reasonable starting set for a customer service chatbot:

CriterionSuggested threshold
Red flags0
Prices and policies scoring 2At least 90%
Out-of-scope handled correctly (declined or handed off)100%
Needs-a-human questions handed off correctly100%
All 50 questions scoring 2At least 80%
No zero scores among common questionsYes

These are the starting points FlowNexa uses in conversations with clients, not an industry standard. Higher-risk sectors (health, finance) should set higher thresholds and narrow the chatbot’s scope. If you miss them, do not lower the bar; narrow the scope (for example, stop answering price questions for now and route them to staff) and test again.

Once you meet the thresholds, go live in a limited way: one channel, certain hours, or a share of visitors, following the 30-day chatbot operations checklist.

Cycle

The test cycle: fix the right layer, then rerun everything

Five-step chatbot test cycle: collect real questions, write reference answers, run and score, fix the right thing, rerun everything
Rerun the whole set, not only the fixed questions: one fix can break another answer.

When a question scores low, find which layer caused it before you fix anything:

  • Missing or conflicting documents: two files state two different fees, an old policy was never removed. Fix the documents. Why AI answers wrong even with documents lists the usual causes.
  • Wrong passage retrieved: the information exists but the chatbot picked the wrong part. Adjust chunking and document headings.
  • Scope and instructions: the chatbot answers what it should not, or in the wrong tone. Adjust its instructions and scope.
  • Handoff rules: it tries to answer when it should have handed off. Adjust the handoff triggers; see designing a handoff that keeps context.
  • Prices and figures: for information that changes often, consider pulling it from a structured source rather than free text, as suggested in controlling wrong prices and policies.

After fixing, rerun all 50 questions, not only the ones you fixed. Record the document version, configuration, and results of each run in a simple spreadsheet; that test log is what you will need during an incident or when you have to explain how the system is controlled.

After go-live

Keeping the question set alive once the chatbot is live

The question set should keep growing:

  • Every week, take questions the chatbot could not answer or that customers rated poorly from the logs, and add them with reference answers.
  • Every time prices, policies, documents, or configuration change, rerun the whole set before customers see the change.
  • Every time you change model or provider, rerun and compare with the previous results before switching.
  • Track operational KPIs alongside: resolution rate, handoff rate, unanswered questions. 10 KPIs to track for a chatbot explains how to read them.

When choosing a provider, ask whether they will test against your question set and share the results; it is question 4 in the 12 questions before choosing an AI chatbot provider.

Q&A

Frequently asked questions

Are 50 questions enough?

Enough to start with a customer-facing chatbot for a small or mid-sized business. With many products or complex policies, grow to 80–100 questions, adding mostly to prices, policies, and hard questions.

Can AI do the scoring?

AI can do a first pass to save time on large sets, but a person should review it, especially for prices, policies, and red-flag questions. The person accountable for the go-live decision must be a human.

Who should write the reference answers?

The people who answer customers every day: sales and customer service staff. They know the right answers and where customers tend to misunderstand. The product owner reviews price and policy answers.

Once the chatbot meets the thresholds, do we still need to test?

Yes. Every change to documents, prices, configuration, or model can break an answer that used to be correct. Rerunning the full set is the only way to know.

How long does the first question set take?

For a small or mid-sized business, usually one to two weeks: a few days collecting questions from history, a few days writing reference answers, and one or two days to run and score each round. The most time-consuming part is usually discovering missing documentation.

Does chatbot testing relate to Vietnam’s AI Law?

The law requires deployers of medium-risk systems to explain their operation and risk controls when asked. A versioned test log is good evidence for that; see Vietnam’s AI Law: what businesses using chatbots must do.

Sources

FlowNexa

Accept your chatbot on your own customers’ questions

FlowNexa works with you to build the test set, write reference answers, score the results, and go live only when the agreed thresholds are met.