init(value:transcript:)
Creates a model subject with a value and optional transcript.
Declaration
init(value: Value, transcript: StructuredTranscript? = nil)Parameters
- value:
The typed value produced by the model.
- transcript:
The structured transcript from the model session. Required for tool call evaluations.