How to Build a Voice AI Evaluation Dataset

Your AI phone agent says it moved a customer’s appointment to Friday at 3 p.m. The calendar shows Thursday at 3 p.m. The call sounded fine, and the transcript captured the customer’s correction. The failure only shows up when you check what the system actually did.
A voice AI evaluation dataset is a versioned set of test calls or caller recordings paired with expected outcomes. It lets you measure whether an agent understood the caller, took the correct action, and recovered when the conversation or a backend system behaved unexpectedly. Here’s how to build a pilot for an AI receptionist, booking agent, or customer support line.
1. Start with the calls your agent must handle
List the jobs the agent performs today. For an appointment line, that might include booking, rescheduling, cancelling, answering opening-hours questions, and transferring callers who need help. For each job, write down the system state that would prove success and the conditions under which a human should take over.
Build the test set around everyday calls and failures that would have a meaningful impact on the caller.
| Test call | Expected outcome | Evidence to check |
|---|---|---|
| Caller says “Thursday at three” and then corrects it to Friday | The agent books Friday at 3 p.m. in the agreed time zone | Booking record and spoken confirmation |
| Caller interrupts a long reply and asks for an operator | The agent stops speaking and routes the call to the configured queue | Call audio and transfer event |
| The booking system times out after a request | The agent follows the defined fallback and verifies booking state before any retry | Tool result, booking records, and agent reply |
| After-hours transfer goes unanswered | The agent follows the after-hours policy, such as offering voicemail | Call routing logs and final response |
Use a stable scenario ID for each case. Store the caller’s goal, initial system state, expected action, allowed alternatives, and failure conditions. If several responses could be acceptable, grade the action and facts without requiring a particular phrase.
2. Record speech that reflects the phone channel
Give speakers a goal and the details they need, then let them phrase the request naturally. Use scripted prompts for repeatable checks such as spelling a name or reading a reference number. Use unscripted variants for hesitation, self-correction, interruptions, and changes of intent.
Include the languages, accents, and recording conditions that matter to your callers. Keep clean audio for diagnosis and include real phone-path tests for issues involving compression, echo, delays, or audio overlap. A prerecorded clip can test one input consistently. A live call is better suited to checking whether the agent handles interruptions and responds to a caller’s next turn.
Use fictional customer details and a test calendar or CRM. For contributor recordings, document permitted uses, access, and retention before collection. BoxlyX’s voice data collection guide covers speaker recruitment and recording conditions in more detail.
3. Score the outcome, the interaction, and the timing
Start with task success rate. Divide the number of cases that met their expected outcome by the number of cases run. Keep cases that could not run visible as a separate count with the reason. For tasks that write to another system, verify the resulting state and any duplicate records after the call.
Add measures that help locate a failure:
- Critical detail accuracy. Score the fields that drive actions, such as dates, time zones, names, and reference numbers.
- Transfer success. Check whether the intended destination received the call and record whether the agent followed the fallback when the transfer failed.
- Interruption handling. Mark whether the agent stopped speaking and addressed the caller’s new request.
- Response latency. Define what you time, such as the interval between the end of the caller’s turn and the first audible agent reply. Report the median and, once you have enough calls, a tail measure such as the 95th percentile.
- Critical failures. Track cases such as a wrong booking, duplicate action, or false confirmation as separate counts so they stay visible in release decisions.
Use human reviewers for ambiguous calls and align them on a shared sample before scoring the full batch. Keep the audio, transcript, call events, and tool traces linked by test case ID so you can trace a failure to speech recognition, dialogue, an integration, or call routing.
4. Keep a held-out test set for release decisions
Keep a fixed regression set for comparing releases and a held-out set for the final check. When you create several recordings from the same scenario or prompt family, group related variants so they stay together across splits. If you want to measure generalization to new voices, reserve speakers for evaluation as well.
Report results by workflow, language, and channel when the sample supports it, with counts beside percentages. For a small pilot, use failures to find coverage gaps and prioritize fixes. Add fresh examples of those failure types and rerun the unchanged regression set when you update the agent.
What to include in a pilot delivery
A handoff should contain the recordings, scenario definitions, expected outcomes, scoring rubric, and a manifest that links each item to its recording and test results. Include relevant language and channel metadata, the test split, and a short note on coverage gaps. Verify that another person can rerun a case using the supplied files and instructions.
Planning a voice AI pilot? Share your top call workflows, target languages, and the actions your agent needs to verify with BoxlyX’s speech data team. You can also explore BoxlyX’s audio data and transcription services.