EvaluationSubject
A type that represents the output produced by the system under test.
Declaration
protocol EvaluationSubject<Value>Overview
Conform to this protocol to define custom subject types. The primary concrete conformance is ModelSubject, which carries a value and an optional transcript for tool-call evaluation.
struct MySubject<Value: Codable>: EvaluationSubject {
var value: Value
var transcript: StructuredTranscript?
}