ExAgent.Eval.Evaluator (ExAgent v3.0.0)

View Source

A named scoring function; build one with ExAgent.Eval.evaluator/3.

Stability — Stable.

Summary

Types

t()

@type t() :: %ExAgent.Eval.Evaluator{
  fun: (ExAgent.Eval.outcome() -> ExAgent.Eval.score()),
  model: ExAgent.Model.model() | nil,
  name: String.t(),
  threshold: number(),
  version: String.t() | nil
}