Skip to content
GitHubLog inStart free
cetra is not released yet. These docs describe the development version.

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.

  • 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.
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