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, orDatasetRun - Each Score references exactly one of the above objects.
- Scores are either numeric, categorical, or boolean.
- Scores can optionally be linked to a
ScoreConfigto ensure they comply with a specific schema.
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 ascoreConfig in the ABV UI or via our API. Configs are immutable but can be archived (and restored anytime).
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