Skip to main content
In ABV Scores are the data object to store evaluations. They are a flexible object that is used across all evaluation methods to assign evaluation scores to different objects across the ABV platform. High level you can think of Scores as the output of an evaluation method.

Scores

Scores serve as objects for storing evaluation metrics in ABV. Here are its core properties:
  • Scores reference a Trace, Observation, Session, or DatasetRun
  • Each Score references exactly one of the above objects.
  • Scores are either numeric, categorical, or boolean.
  • Scores can optionally be linked to a ScoreConfig to ensure they comply with a specific schema.
Key constraint: Each Score must reference exactly one target object (Trace, Observation, Session, or DatasetRun).

Common Use

Score object

Score Config

Score configs are used to ensure that your scores follow a specific schema. Using score configs allows you to standardize your scoring schema across your team and ensure that scores are consistent and comparable for future analysis. You can define a scoreConfig in the ABV UI or via our API. Configs are immutable but can be archived (and restored anytime). Score configuration interface A score config includes:
  • Score name
  • Data type: NUMERIC, CATEGORICAL, BOOLEAN
  • Constraints on score value range (Min/Max for numerical, Custom categories for categorical data types

Score Config object