Skill 3.3.2
Create prompt variants and compare performance across different prompts
Key Concepts
A prompt variant is an alternative prompt for the same task, such as a shorter system message, different examples or a new output format. Each variant runs over the same evaluation dataset with the same model and settings, and the evaluators, such as groundedness, relevance and a task-specific metric, score every response.
The comparison looks at average scores, pass rates against thresholds, the distribution of low scores, safety results, and cost and latency, because a variant that adds 2,000 tokens of examples may be more accurate but too slow or expensive. Changing one element per variant makes the cause of a difference clear, and the winning variant becomes the new baseline for the next round.