AI evaluation
How do you run LLM testing with real user prompts?
Our demos looked fine. The first structured test from a real customer told us what to fix next.
Short answer
LLM testing with real user prompts starts with the questions your customers actually ask. Turn them into a repeatable test set with expected behavior, and let a few real customers run their own structured tests before you scale. LLM testing on demo prompts hides the failures that matter: lost context between turns, repeated answers and wrong filters. Real prompts expose them early, while fixing them is still cheap.
On this page
01Why demo prompts are not a test
A demo prompt is written by the people who built the assistant. It uses the words they expect, asks one thing at a time and avoids the edge cases they already know about. That makes it a poor test. This is part of our larger guide, LLMOps for SaaS: keep AI features working in production.
Real users ask several things at once, change their mind halfway through, refer back to something three turns ago and use words your team never considered. They also care about different things than the builders do. A builder checks whether the answer is plausible. A user checks whether it is right for their situation.
Anthropic's guidance on building evaluations makes the same point: test cases should match the real distribution of tasks and include edge cases such as ambiguous, missing or poor input. Hamel Husain's widely read essay on evals adds that teams should log every conversation and keep reading those traces, because looking at real data is where most failures are found.
02Build the LLM testing set from real conversations
The best test set is built from what users already do. We follow a simple loop.

- 01
Collect real prompts from pilot users, support tickets, sales calls and existing search logs.
- 02
Group them by intent, such as search, comparison, follow up, policy question or hand off.
- 03
Write the expected behavior for each, not an exact answer
which data it should use, which filters it should apply and what it must never do.
- 04
Add multi turn scripts, because many failures only appear on the second or third message.
- 05
Run the full set on every change to the prompt, the tools, the model or the data.
- 06
Add every new failure from production to the set, so it cannot come back unnoticed.
Expected behavior matters more than expected wording. Two good answers can be phrased differently. A bad answer usually breaks a rule you can check: it shows a unit that is not in stock, ignores a filter, forgets a constraint or invents a price.
03What to check, and how
Different failures need different checks. A small number of automatic checks catches most regressions; human review catches the rest.

| Failure | Example | How to check |
|---|---|---|
| Lost context | Forgets the budget set two turns earlier | Multi turn scripts with assertions on the final filters |
| Repeated results | Shows the same unit again as a "new" option | Check returned item identifiers across turns |
| Wrong filter | Ignores location or condition | Compare the tool call parameters with the expected ones |
| Invented facts | Quotes a price or unit not in the data | Verify every item and price against the source record |
| Wrong routing | Answers a service question as a sales one | Label the intent and check where the conversation went |
| Unsafe output | Responds to abuse or leaks internal text | Safety prompts with pass or fail rules |
Code based checks are cheap and fast: they look at tool calls, returned identifiers and fields. Model based grading can help for tone and helpfulness, but check it against human labels before you rely on it.
04Let customers run their own structured tests
The most valuable test we have seen is one a customer designs. When a customer writes its own script of questions, based on how its staff and buyers really talk, it tests what they care about and in their order of importance. It also produces findings that the customer already believes, which makes prioritization easier.
To make this useful:
- Give the customer a simple format: the prompt, what they expected and what happened.
- Ask for whole conversations, not single questions.
- Review every finding with the customer and agree which ones block rollout.
- Re-run their script after each fix and share the result.
05Keep the test set alive after launch
A test set is only useful while it reflects how people use the product today. Usage changes after launch: new customers bring new vocabulary, seasons change what buyers ask, and new features open new paths through the conversation.
Treat the test set like code. Give it an owner, review it on a schedule and version it alongside the prompts and tools it tests. When you change the model or the provider, run the full set before and after, and compare results case by case rather than looking only at the overall pass rate. A model upgrade that improves the average can still break a case a key customer depends on.
Also watch for drift in the opposite direction. If every case passes for weeks, the set may have stopped finding problems. Pull a fresh sample of real conversations, read them, and add the ones that surprise you. Reading real conversations is slow, but it is the step that finds the failures nobody thought to write a test for.
Finally, share results with the people who own the outcome. A short weekly note that lists new failures, fixes and open issues keeps product, engineering and customer teams working from the same picture.
06What we see in production
An industrial contractor had already built a Copilot agent over its reporting database, and its leaders wanted to know whether the agent could be trusted on their own figures. A good demo would not answer that. Every figure had to match the existing reports exactly, and no data could leave the company's network.
So we wrote down the questions executives and department heads actually ask, about contracts, profit on bid cost, labor overruns, receivables and equipment use, and tested the agent on live job cost data inside the company's own tenant, through a read only data tool over an agreed set of views.
Each answer was checked against our own SQL query, with a pass or fail recorded for every question. The agent held up on direct questions over its views, and where it fell short, the fix belonged in the database, not the model. The company chose to stay on Copilot and pilot its weekly labor report first, measured on accuracy, consistency, response time and token use.
Before a product has real users, golden prompts stand in for them: on an agent that builds internal apps from company data, an evaluation harness runs a set of retail cases through the real build agent in throwaway databases and scores answer accuracy against reference SQL, repairs, fallbacks and time.
07Decide what "ready to scale" means
Before rolling out to all customers, agree in writing what the assistant must pass:
- The full test set, with zero failures on rules you treat as hard (invented stock, wrong prices, leaked data).
- An agreed pass rate on softer checks, such as helpfulness.
- Clean results from at least one customer's own script.
- Logging in place, so every new failure becomes a new test.
A pass rate below 100 percent on soft checks can be a reasonable product decision. A failure on a hard rule is not. For more on the patterns that break assistants after launch, see why AI agents fail in production.
Frequently asked questions
Where do real user prompts come from?
Collect them from pilot users, support tickets, sales calls and existing search logs. Before a product has real users at all, golden prompts stand in for them, such as a set of realistic cases run through the real agent in throwaway databases. Once customers use the assistant, add every new failure from production to the set.
Should tests check the exact answer wording?
No. Write the expected behavior for each case instead: which data it should use, which filters it should apply and what it must never do. Two good answers can be phrased differently. A bad answer usually breaks a rule you can check, such as showing a unit that is not in stock or inventing a price.
Can a model grade the assistant's answers?
For tone and helpfulness, model based grading can help, but check it against human labels before you rely on it. Code based checks are cheaper and faster for most failures, because they look at tool calls, returned identifiers and fields. A small number of automatic checks catches most regressions, and human review catches the rest.
When is an assistant ready to scale to all customers?
When it passes the full test set with zero failures on hard rules such as invented stock, wrong prices or leaked data. It should also meet an agreed pass rate on softer checks and have clean results from at least one customer's own script. Logging must be in place, so every new failure becomes a new test.
How Datics helps
Datics specializes in Brownfield AI: production AI inside software people already rely on. Already built AI? The AI Scorecard tests it on 50 of your own cases in two weeks, for $5,000, and ranks what to fix first. Once it is live, AI Care keeps it accurate for $1,500 a month per capability.
Related work
Case studies from our projects on the same subject.
SovrenAI
Other software · Enterprise Builder, an AI internal app builder
Teams build internal apps on company data, a person confirming each guessed join
An agent writing queries over unknown schemas can join the wrong tables; here every guessed join waits for a person to approve it.
Coast Technology
Automotive · AI sales assistant for dealers
RV shoppers get units from live stock, with towing fit computed, not guessed
Dealer sites offered static forms and filters. Now shoppers ask in plain words and get real units from the hourly feed, with the reason each one fits.
More on AI evaluation
AI evaluation
AI evaluation: build your test set before the first release
AI evaluation starts before launch: collect real cases from your product, define pass and fail for each one, and run the set on every prompt or model change.
AI evaluation
AI model testing: test types, metrics and messy data
AI model testing for AI features in your product: the main test types, what each catches, and how to build a messy test set that becomes your regression suite.
AI evaluation
What LLM evaluation should a chat agent pass before launch?
LLM evaluation for a chat agent starts with written user journeys. See how we turn them into test cases, graders and release gates before launch.
AI evaluation
What does good AI agent testing in CI look like?
A tiered approach to AI agent testing in CI: scripted fake models on every commit, and real-model routing and quality evals on demand.
AI evaluation
What should an AI audit of a SaaS feature test?
An AI audit of a SaaS feature tests it on your own cases in seven areas, from answer quality and data separation to cost, and ranks what to fix first.
AI evaluation
AI model evaluation: how do you choose an LLM to build on?
AI model evaluation starts with a scorecard: define the task, metrics and test set first, then run every candidate model through the same rerunnable test.
Your customers already expect AI from your product.
Let us make it real inside the product you run today.
