Skip to main content
Vizra ADK is in maintenance mode. It continues to work and receives compatibility fixes, but no new features are planned. For evaluating AI agents — now built on the official Laravel AI SDK — check out Vizra Evals, its successor for the evaluation use-case. Coming from ADK? See the migration guide.
Looking for agent evals? This page documents ADK’s legacy CSV-based evaluation system. Its successor, Vizra Evals, runs evals as Pest tests, records every run to a database, auto-baselines, and fails CI on regressions. Start with the Quickstart or the ADK migration guide.

Class Overview

Properties

Abstract Methods

preparePrompt()

Prepares the prompt to be sent to the agent based on CSV row data.

evaluateRow()

Evaluates a single row of CSV data against the LLM’s response using assertion methods.

Content Assertion Methods

Text Content Assertions

Length and Size Assertions

Quality and Safety Assertions

Format and Structure Assertions

JSON Validation

XML Validation

Comparison Assertions

LLM as Judge

Pass/Fail Judge

Quality Scoring

Multi-dimensional Evaluation

Helper Methods

Protected Methods

Assertion Results Structure

Result Structure

evaluateRow() Return Format

Complete Example

CustomerSupportEvaluation.php
CSV File Example:
Structure your CSV files with clear columns for prompts, test scenarios, and expected outcomes.

Next Steps

Events

Event reference documentation

Evaluation Concepts

Learn more about evaluations