AI Help

How do I create a small test set for an AI prompt from real work examples?

Build a small reviewed set containing ordinary tasks, difficult cases and missing-information cases, each with an expected outcome.

Steps to follow

  1. Choose anonymized examples from real work and keep an untouched evaluation portion separate from prompt-tuning examples.
  2. Define the expected facts, fields or routing for each case. Include cases where the right outcome is uncertainty or escalation.
  3. Run prompt versions on the same cases and record errors alongside aggregate scores. Expand the set when a new failure appears.

Example in practice

Illustrative example. A support set includes clear billing questions, ambiguous requests and an empty message so the classifier is tested beyond easy cases.

Related AI help

Official guidance

OpenAI documentation