llmp.components.base.BaseEvaluationEngine¶
- class llmp.components.base.BaseEvaluationEngine(job: JobRecord)[source]¶
Abstract base class for the EvaluationEngine. Provides an interface for evaluating generation results and computing metrics.
Methods
__init__(job)compute_metrics(*args, **kwargs)Compute and aggregate metrics based on the run metrics and the evaluation results.
evaluate(*args, **kwargs)Evaluate the generation result against the desired output and compute metrics.