Evaluation & Metrics
Define metrics and test cases, then score any version — manually, in a batch, or automatically on every save.
Test cases
A test case is a named set of variable values plus (optionally) an expected output. You can add them by hand or import them in bulk, and export them again later.
Metric types
There are seven built-in metric types. Each scores a run as pass/fail (1.0 or 0.0):
Batch evaluation
Run all metrics against all test cases for a chosen version in one go. Results are stored per (test case × version × metric), and a summary { score, total, passed }is rolled up so you can see at a glance how a version performs.
Auto-eval on save & regression warnings
When saving a version, tick “Run regression tests after save” and pick an eval provider and model. PromptVersions runs the batch eval in the background and writes the summary back to the version. The History tab polls until it's ready and shows a regression warning if the new version's score dropped compared to the previous one.