For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Overview

AI Testing and Evaluation framework for validating prompt and agent outputs.

The AI Testing and Evaluation framework (Umbraco.AI core) provides automated validation of AI outputs. You can define tests that run prompts or agents, then grade the results against success criteria to detect regressions and compare model configurations.

Installation

The testing framework is included in the core Umbraco.AI package. No additional installation is required.

You need the Prompt Management or Agent Runtime add-on installed to test prompts or agents respectively.

The tests list showing configured tests with their features and run counts

Features

  • Graders - Define success criteria with code-based and model-based graders

  • Variations - A/B test across different models, profiles, and configurations

  • Baselines - Set a run as a baseline for regression detection

  • Batch Execution - Run multiple tests at once or filter by tags

  • Metrics - Calculate pass@k and pass^k for non-deterministic outputs

  • Transcripts - Capture full execution traces for debugging

How It Works

  1. Create a test targeting a prompt or agent with one or more graders

  2. Run the test to execute the target and grade the output

  3. Review results including per-grader scores, metrics, and transcripts

  4. Set a baseline and compare future runs for regression detection

  5. Add variations to compare different model configurations side by side

Quick Start

  1. Navigate to the AI section > Tests

  2. Click Create and select a prompt or agent to test

  3. Add graders to define success criteria

  4. Click Run to execute the test and review results

See Getting Started for a detailed walkthrough.

Documentation

Section
Description

Tests, graders, variations, and metrics

Step-by-step setup guide

All built-in grader types

A/B testing across configurations

Management API endpoints

Last updated

Was this helpful?