Overview
AutoEval generates evals from the LLM calls your applications already make. Route your calls through Iris Control, or send a copy of your call logs, and AutoEval builds a golden eval set for each use case: a set of real inputs that covers your workflows, languages, and edge cases. As your traffic changes and you launch new workflows, AutoEval updates the set. Nobody on your team has to write or maintain test prompts. Each eval checks a model’s output against two kinds of rules:- Default rules. Is the output a correct, complete answer to its own system prompt and user prompt? A judge model returns a verdict, a score from 0 to 5, and an explanation. No setup needed.
- Custom rules. Checks your team writes in plain English, such as “always include a link to a help article” or “reply in the language the user wrote in”. Each returns pass, fail, or not applicable, with an explanation.
- Choose models on evidence. Run the golden eval set on any model, including your own fine-tuned or self-hosted models, and compare the scores with cost and latency before you switch.
- Catch regressions in production. See the score of every LLM call in the dashboard, with the correctness rate and the pass rate of every rule by use case, model, and tenant, and find failed calls before your customers report them.
- Test changes before release. Run an eval from your test suite or CI with the evaluate API.
Getting started
AutoEval needs the input and output of each LLM call. There are two ways to get them to it.Option 1: Route calls through Iris Control (recommended)
Point the OpenAI-compatible client your application already uses at the Iris Control endpoint. Every call is captured automatically, so your golden eval set and scores stay up to date with no exports to manage. You also get Iris Control’s routing, failover, spend limits, and redaction on the same calls.- In the Iris Control dashboard, create an API key and add your model providers.
-
Create a use case for each LLM feature, such as
support-answers. -
Change the base URL and API key in your client, and set
modelto the use case name:Python - Optionally, add custom rules for the use case. Default rules work without setup.
Option 2: Send a copy of your call logs
If you aren’t ready to change how your application calls models, export a copy of your call logs to AutoEval instead. Your application keeps calling its model providers exactly as it does today. Start with a one-time file, then set up a recurring export so your golden eval set stays up to date. See Send your call logs for the format.How it works
- AutoEval receives your calls. From the Iris Control endpoint as they happen, or from your call log export.
- AutoEval generates your golden eval set. For each use case, it selects inputs from your logs and keeps the set up to date as new calls arrive. See Golden eval set.
- AutoEval grades outputs. Each output is graded against the default rules and the use case’s custom rules, both in production and in model comparisons.
- You compare models. AutoEval runs the golden eval set on each model you choose, with each input’s original system prompt, and reports the scores with cost and latency.
Golden eval set
A model comparison is only as good as the inputs it runs on. Eval sets written by hand for a pilot stop matching production within months: new workflows are missing, common questions repeat, and the hard cases drop out. AutoEval generates the golden eval set for each use case from your traffic and keeps it up to date:- Built from real traffic. Inputs come from your call logs, so the set reflects what your users ask today.
- No redundancy. Duplicate and near-duplicate inputs are removed, so one common question can’t skew the score.
- Diverse. The set is balanced across workflows, tenants, languages, and edge cases, and includes calls that failed.
- Up to date. When you launch a new use case or workflow, it gets its own slice of the set. Inputs that no longer match your product are retired.
Rules
Default rules
Every output is graded for correctness without any setup: is it a correct, complete answer to its own system prompt and user prompt? The result has a verdict (correct or defect), a score from 0 to 5, and an explanation. See Results.
Custom rules
Custom rules are checks written in plain English, in the same format as AutoQA rules. Each use case has its own rules, and every output in that use case is graded against all of its active rules. To create a rule, open AutoEval in the Iris Control dashboard, select the use case, and click Create rule. Each rule has:
Example rules:
A rule returns
not_applicable when it doesn’t apply to that call, for example a rule about refunds on a question about passwords. Not applicable results are left out of the rule’s pass rate.
Results
Each graded output has one result:View scores in the dashboard
The AutoEval page of the Iris Control dashboard shows the scores of your LLM calls as they’re graded:- Every call. Open any call to see its input, output, correctness verdict and score, and the result of each rule, with explanations.
- Rollups. Correctness rate, average score, and the pass rate of each rule, by use case, model, tenant, and rule. Critical rule failures show first.
- Failures. Filter to failed calls to see the examples behind each number.
Compare models
- Open AutoEval, select a use case, and open Compare models.
- Choose the eval set: the use case’s golden eval set (the default), calls selected from the call log, a filter (for example the last 30 days, or only failed calls), or an uploaded file.
- Choose the models. Any model from your providers can be compared, including a self-hosted model with an OpenAI-compatible endpoint.
- Run the comparison.
- Correctness rate and average correctness score
- Pass rate of each rule, critical rules first
- Cost per call and total cost, from each provider’s price
- Typical and slowest latency
Send your call logs
Use this if your application doesn’t route calls through the Iris Control endpoint. Your application keeps calling its model providers as it does today, and you send AutoEval a copy of the calls afterward. Send one record per LLM call as JSONL:
For a conversation, send one record per assistant turn: the conversation up to that turn in
messages, and the turn in output. For voice, use the transcript.
To start, send a one-time file to your Iris Control point of contact. To keep your golden eval set and production reports up to date, set up a recurring export to a storage bucket with them. Exports from logging tools such as Langfuse, LangSmith, or Helicone can be converted to this format.
Evaluate API
Run an eval on one output on demand, for example from your test suite or CI before you ship a prompt change. Scores from production calls don’t need the API: they appear in the dashboard automatically. The endpoint grades the output against the rules you send, or against the use case’s rules when you senduse_case instead.
correctness and rules fields described in Results. Send up to 100 rules per request.
Data handling
Inputs and outputs are redacted for PII and secrets before they are stored. Set how long they are kept with the use case’slogging.retention_days. If prompts and outputs can’t leave your environment, Iris Control and AutoEval can run in your own VPC; see the customer VPC reference architecture.
Questions? Contact us at contact@irisagent.com or book an Iris Control demo.