Evaluation
Evaluation turns the traces cetra records into numbers you can filter, chart and compare. This page lists the five building blocks and tells you which one to use.
The building blocks
Section titled “The building blocks”- Scores are the values attached to a trace, a span or a session. Everything else on this page writes or reads scores.
- Evaluators produce scores: a built-in check, an LLM judge or a webhook you run.
- Online rules run an evaluator on live traces that match a filter.
- Datasets are versioned sets of inputs, with an expected output when you have one.
- Experiments run your application on a dataset, score each run and keep the results so you can compare them.
Which one to use
Section titled “Which one to use”| I want to … | Use |
|---|---|
| Grade every production trace automatically | An online rule with an evaluator |
| Check a change before I ship it | An experiment on a dataset |
| Collect thumbs up or down from my users | Scores from the browser |
| Record a number from my own code | A score from the SDK or the API |
| Review traces by hand | Human annotation |
| Review a list of traces, spans or sessions in turn | Annotation queues |
| Run a judge on one trace now | A test run or a manual run |
Where to go next
Section titled “Where to go next”ScoresWrite, update and filter scores.
Evaluators and LLM judgesChecks, judges and webhooks.
ExperimentsCompare versions of your application on a dataset.