evaluationTarget
An optional closure that converts the model’s response to a string for the judge prompt.
Declaration
let evaluationTarget: (@Sendable (Input.ExpectedValue) -> String)?Discussion
When nil, the evaluator JSON-serializes the response automatically.