Skip to main content
Metrics unify three categories of measurement into a single system:
  • System metrics — auto-computed per completion (TTFT, latency, token counts). No setup required.
  • Grader metrics — produced by Graders (AI judges, pre-built, custom, external). Scores are written automatically when graders run.
  • User metrics — custom ratings you define and log via SDK. Use these for human evaluation, application-specific scores, or any signal not covered by system or grader metrics.

Register a user metric

Before logging values, register a metric key:
The SDK resource is adaptive.feedback — the entity is called “metrics” in the UI but the SDK interface retains the feedback name.

Log metric feedback

Log a rating for a completion using its completion_id from the inference response:
Feedback is associated with the completion’s Interaction record.

Log preference feedback

Log a pairwise comparison between two completions:
Use preferences for RLHF/DPO training when you can judge which completion is better but can’t assign absolute scores.

List and get metrics

See SDK Reference for all feedback methods.