Skip to main content

Evaluations

Evaluations use an AI judge to score your agent’s responses across multiple quality criteria. Instead of manually reviewing every conversation, set up automated evaluations that measure relevance, accuracy, helpfulness, and clarity — or define your own custom criteria.

How It Works

  1. You provide an input (user query) and output (agent response).
  2. A judge model evaluates the output against scoring criteria.
  3. The judge returns scores for each criterion plus an overall score.
  4. Results are stored and aggregated for trend analysis.

Default Criteria

You can override these with custom criteria.

Running Evaluations

From the Dashboard

  1. Go to your agent’s Evaluations tab.
  2. Click Run Evaluation.
  3. Enter or select a conversation to evaluate.
  4. Choose the judge model (default: GPT-4o-mini).
  5. Optionally customize scoring criteria.
  6. Click Evaluate.
The results appear with scores for each criterion and an overall rating.

Single Evaluation via API

Response

Batch Evaluation

Evaluate multiple input/output pairs at once:

Batch Response

Evaluation Statistics

Get aggregate stats for an agent’s evaluations over time:

Listing Evaluations

Custom Criteria

Define custom criteria tailored to your use case:
Each criterion is scored on a 1-5 scale by the judge model.

Judge Models

The default judge model is GPT-4o-mini, which provides good quality at low cost. For critical evaluations, use GPT-4o or Claude Sonnet.

Billing

Evaluations consume tokens from the judge model. Token usage is tracked per evaluation and billed to your account. Check the evaluation response for input_tokens and output_tokens to understand costs.

Best Practices

  • Evaluate regularly — Run batch evaluations weekly to track quality trends.
  • Use custom criteria — Default criteria are a good start, but custom criteria aligned with your business goals are more actionable.
  • Compare models — Run the same evaluations with different agent models to find the best fit.
  • Act on low scores — If a criterion consistently scores below 3, update the agent’s instructions to address it.
  • Combine with learnings — When evaluations reveal issues, capture the corrections as learnings so the agent improves.
  • Use batch mode — More efficient and cost-effective than running evaluations one at a time.