Abstract
Readonly
nameThe name of the evaluator / the metric that it measures
Optional
Readonly
optimizationThe direction to optimize the numeric evaluation score E.x. "MAXIMIZE" means that the higher the score, the better the evaluation
Readonly
sourceThe source of the evaluation. Also known as the "kind" of evaluator.
Abstract
evaluateThe function that evaluates the example
Base class for llm evaluation metrics / scores