Skip to main content
You can’t automate a check you haven’t defined. Start by reading real traces in your tracing project, spotting failure patterns, and grouping them into a taxonomy. The labels you collect become ground truth - and the taxonomy tells you which evals are worth building. There are two ways to do this: annotate traces, spans, sessions, datasets, or experiments yourself, or route them to reviewers through a labeling queue.
Arize AX Annotation Configs page with a table of reusable configs showing names, label values as colored pills, created by, timestamps, tags, and New Annotation Config in the header

Annotation Configs

What is an annotation

An annotation is a human label on a trace, span, session, dataset example, or experiment result - a category (Correct / Incorrect), a numeric score, or freeform text. Annotation configs are reusable schemas for those labels, which is what keeps reviews consistent and comparable over time. To add your first one, open Annotation Configs in the left nav and click New Annotation Config. You’ll define:
  • Name: a clear label for the annotation (e.g. “Correctness”)
  • Type: categorical, numeric score, or freeform text
  • Optimization direction: Set to maximize if a higher score is better (e.g. accuracy), or minimize if a lower score is better (e.g. error rate). This determines how scores are color-coded in the UI.
  • Labels and score range: e.g. Correct (1) / Incorrect (0)
Annotation Config
Let Alyx set it up for you. Press Cmd+L (macOS) or Ctrl+L (Windows/Linux) to open Alyx and try: “Create an annotation config called helpfulness with values helpful and not helpful” or “Annotate all the error spans”

Annotate your data

The same annotation configs work across traces, spans, sessions, dataset examples, and experiment results. See the examples below for ways to annotate span data.
Use the Arize skills plugin in your coding agent to manage annotation configs and apply annotations without leaving your editor. See the full arize-annotation skill documentation for supported commands. Then ask your agent:
  • “Create a categorical annotation config called Correctness with correct/incorrect labels”
  • “List all annotation configs in my space”
  • “Bulk annotate these spans with their correctness labels”
Coding agent terminal using the Arize skills plugin to create annotation configs with the ax CLI

Labeling queues

Labeling queues are the other way to do human review: reach for one when a subject matter expert or third party should label spans without seeing the full traces view. Reviewers get a focused interface with only what they need to annotate, and the labeled examples become the ground truth you validate evals against.
Ask Alyx to create a labeling queue, send data to it, and optionally annotate data. For example:
  • “Send spans where latency is over 5 seconds to my Slow Response labeling queue”
  • “Send spans where hallucination eval scored 0 to the Hallucination Review queue”
Tracing view with eval filter applied and Alyx sidebar suggesting sending low-scoring hallucination spans to the Hallucination Review labeling queue

Send data to a labeling queue with Alyx

Reassign records

After records have been assigned, users with queue update access can change a record’s assignee from the record’s assignee selector. Reassign records to balance review workloads or route work to another annotator when the current annotator is unavailable.

Build a ground truth dataset

A ground truth dataset is a curated set of labeled examples that captures the range of behaviors your system should and should not produce. It gives you a stable benchmark for validating automated evaluators and a reusable dataset to run experiments against as your prompts and models evolve.
Ask Alyx to create a dataset from spans of interest, append spans to an existing dataset, or suggest examples that cover edge cases for your rubric.Example prompts:
  • “Create a dataset from the spans I filtered in this trace view and include inputs and outputs”
  • “Append these high-error spans to my regression benchmark dataset”
  • “Suggest 20 diverse examples for a golden dataset based on my last week’s traces”
Tracing view with span filter applied and Alyx sidebar offering to create a golden dataset from factual spans, with preview table and Accept and Create Dataset action

Create a golden dataset with Alyx

Further reading