Transcript class

Anthropic: a transcript is the complete record of a trial — messages, tool calls, reasoning, intermediate results, etc.

Constructors

Transcript({required List<LLMMessage> messages, required List<ToolCallRecord> toolCalls, List<String> reasoningSteps = const [], List<TranscriptEvent> events = const [], required TranscriptMetrics metrics})
Transcript.fromJson(Map<String, dynamic> json)
factory

Properties

events List<TranscriptEvent>
Streaming events, retries, errors.
final
hashCode int
The hash code for this object.
no setterinherited
messages List<LLMMessage>
Full LLM message sequence in order.
final
metrics TranscriptMetrics
Quantitative metrics.
final
reasoningSteps List<String>
Reasoning chunks, if the model emits them.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toolCalls List<ToolCallRecord>
Tool calls in order.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toJsonString() String
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited