How many questions a rag bot needs in its evaluation set is decided by coverage, not by a single magic number. A usable set spans every content segment the bot serves, covers the main ways visitors ask each topic, includes conditional and multi-part cases, and reserves entries for unsupported questions that should be refused. Vector retrieval behavior is checked on the same set, measuring whether the right source passage surfaces before the reply is scored. The right size grows as real traffic accumulates, and the contract’s payment terms should define how many review rounds, test runs, and set expansions are included before extra work begins. This article explains what the set must cover, how to size it by segment and type, the role of unsupported probes, how review rounds map to payment terms, how the set is maintained, and common sizing mistakes to avoid.
What the evaluation set must cover
An evaluation entry pairs a visitor question with the expected source segment, the approved answer expectation, and the scoring basis. Entries should cover the full source inventory: each product line, policy area, FAQ category, and procedural procedure the bot serves. A segment with no entries cannot be measured, so gaps show up as untested coverage rather than good performance. The set should also reflect the actual phrasing visitors use, including short fragments, typos, synonyms, and follow-up questions, rather than only polished internal wording.
Beyond topical coverage, the set covers interaction shapes: direct factual questions, conditional questions that depend on a stated scenario, multi-part questions that combine two topics, and follow-ups that continue a session. Each shape stresses a different part of the retrieval and reply flow. A set made only of simple direct questions can look strong while failing on conditional or compound cases, which are exactly the cases that escalate when unsupported. The evaluation design behind these measures is laid out in retrieval quality tests before choosing a vendor.
Context and history belong in the entries that need them. A follow-up question such as “what about the return window?” only resolves against the earlier product mentioned in the session, so the entry should record the preceding turn as part of the test rather than asking the model to infer it in isolation. Session-level entries reveal whether the bot keeps the topic straight across turns, while single-turn entries measure isolated retrieval. Mixing both shapes matches how visitors actually use the bot, where many questions are continuations rather than standalone requests.
Sizing by segment and question type
A practical starting point for a mid-sized support bot is a few dozen entries per major segment, scaled to segment complexity and visitor volume. High-traffic or high-risk topics such as billing, warranty, and return rules carry more entries and more conditional variants; stable informational topics carry fewer. A small FAQ-heavy bot can start with a compact set of around a hundred to two hundred entries; a bot covering several product lines and languages needs proportionally more, with entries repeated or adapted per language rather than translated mechanically.
Within each segment, entries should balance question types. Direct factual questions anchor the baseline; conditional variants test whether the bot applies the right rule to the stated scenario; compound variants test multi-topic handling; phrasing variants test synonym and fragment retrieval. Retrieval scoring records whether the expected passage appears in the top results, at what rank, and whether a wrong but similar passage competed for the slot. If the set underweights conditional and compound cases, the measured accuracy overstates real-world performance, because those cases are where retrieval and grounding most often break.
Language coverage should be sized deliberately. A multilingual bot needs entries in each served language, written by speakers familiar with local phrasing, not translated from a single-language bank. Literal translations often miss how local visitors actually ask, and retrieval tuned to one language may not transfer to another. Each language’s subset should carry its own unsupported and probe entries, because refusal behavior can differ by language even when the source policy is shared. The number of entries per language follows the segment and traffic mix for that audience, not an equal quota imposed from the primary language.
Unsupported and probe questions
Unsupported entries are questions the source cannot answer: topics outside the corpus, withdrawn products, hypothetical scenarios no source covers, and requests for decisions the bot must not make. The expected behavior is a refusal or human escalation, not a fabricated answer. These entries test the threshold and guardrail side of the system, which a set of only answerable questions cannot see. A bot that passes every answerable entry but answers unsupported ones confidently has a serious failure that the missing probes would have hidden.
Probe questions also check boundary topics: requests for competitor comparisons, absolute guarantees, sensitive personal data, or topics the guardrails should refuse. Each probe records whether the bot held the boundary, escalated, or crossed it. The proportion of unsupported and probe entries should be meaningful enough to catch weak refusal behavior, not a handful of afterthoughts. Reviewers should revisit these entries as new risky topics appear in traffic, because the boundary moves with the business and the audience.
Review rounds and payment terms
Evaluation work is delivered in rounds: build the initial set, run the bot against it, remediate failures, re-run, and repeat until acceptance thresholds are met. The payment terms should state how many rounds are included in the fixed or quoted scope, what each round covers, and the rate for additional rounds after the included allowance. A vague “unlimited revisions” promise is hard to enforce; a defined number of test runs and remediation cycles with a per-round rate for extras is clearer for both sides.
The terms should also say who supplies the evaluation questions. The buyer’s content or support team knows real visitor phrasing and conditional cases; the vendor builds the scoring structure and runs the tests. Ownership of the final set, export rights, and whether the buyer can add entries after launch should be written down. Acceptance testing ties the evaluation results to the contract: thresholds for retrieval hit, grounding, and refusal are recorded, and the bot passes acceptance only when the set meets them. The commercial and acceptance checklist can be cross-checked against the agreement guidance in agent bot procurement checklist, adapted to the RAG scope.
Payment terms should distinguish one-time build testing from ongoing regression testing. The initial acceptance rounds are part of launch delivery; quarterly full-set runs and targeted regression after source updates are recurring retainer work. If the contract folds all testing into the fixed fee without limits, the vendor may resist later expansion; if every small test round is billed separately, routine freshness checks become expensive. A middle position defines included rounds at launch, a retainer covering scheduled regression, and per-project rates for new segments or major set overhauls. Thresholds should be agreed before the first run, so a borderline result is judged against a pre-set standard rather than renegotiated after the scores arrive.
Maintaining the set over time
The evaluation set is a living benchmark, not a launch artifact. Real failed sessions, repeated unanswered questions, and new product or policy topics feed new entries each quarter. Old entries tied to withdrawn products are retired or rewritten, and answer expectations are updated to match current approved wording. A benchmark that stays frozen while the corpus drifts masks freshness failures, as noted in knowledge bot freshness update workflows.
Each source revision triggers a targeted regression run on the entries tied to the changed segment, while the full set runs on the quarterly cycle. Maintenance should track which entries were added, when, and from which real session, so the set traces to actual visitor demand rather than reviewer guesses. The retainer should cover routine set upkeep; major expansions after a new product line or market entry count as a scope item under the payment terms.
Common sizing mistakes to avoid
One mistake is trusting a small clean set and calling it thorough. A few dozen polished questions cannot cover segment breadth, phrasing variety, conditional cases, and refusal behavior at once. The opposite mistake is padding the set with near-duplicate entries that repeat the same question in slightly different words; bulk entries raise the count without adding coverage, and they can inflate accuracy scores while real gaps remain untested.
Another mistake is scoring only the final reply and ignoring retrieval. A well-worded reply can mask a wrong passage that would fail under a different question; retrieval-level scoring surfaces those misses. Buyers should also avoid comparing vendors on set size alone: a smaller focused set matched to the buyer’s own topics tests more honestly than a large generic question bank borrowed from another domain. The evaluation set should be built from the buyer’s actual material and real visitor questions, sized to cover every segment and case type, reviewed through defined rounds under the payment terms, and expanded from live traffic over the life of the bot.
Scoring consistency is another overlooked factor. Entries need a clear rubric: what counts as a correct retrieval, an acceptable grounded answer, a partial match, and an outright failure. Vague expectations let a reviewer accept different standards across rounds, hiding whether the bot actually improved. The rubric should be fixed before scoring starts, with edge cases discussed and recorded rather than decided case by case under time pressure. When the vendor and buyer both score the same sample, agreement between reviewers reveals ambiguous entries that need clearer expectations. A set with consistent rubrics, real phrasing, balanced coverage, and maintained entries gives a trustworthy measure; one built on guesswork and loose standards gives a number that looks precise but means little.
Leave a Reply