ExAgent. Eval. Case
(ExAgent v2.3.0)
View Source
One evaluation case: a name, the input and what to expect.
Summary
Functions
Build a case. Options: :expected (what evaluators compare against),
:metadata (any map, for custom evaluators) and :run_opts (merged into the
run options for this case, for example deps:).
Types
@type t() :: %ExAgent.Eval.Case{ expected: term(), input: ExAgent.prompt(), metadata: map(), name: String.t(), run_opts: keyword() }
Functions
@spec new(String.t(), ExAgent.prompt(), keyword()) :: t()
Build a case. Options: :expected (what evaluators compare against),
:metadata (any map, for custom evaluators) and :run_opts (merged into the
run options for this case, for example deps:).