ReadonlyevaluatorReadonlynameThe name of the evaluator / the metric that it measures
Optional ReadonlyoptimizationThe direction to optimize the numeric evaluation score E.x. "MAXIMIZE" means that the higher the score, the better the evaluation
ReadonlypromptReadonlysourceThe source of the evaluation. Also known as the "kind" of evaluator.
List out the prompt template variables needed to perform evaluation
The function that evaluates the example
An LLM evaluator that performs evaluation via classification