DVGoldenTranscript class

One recorded input and the output it must produce, under one prompt version.

Constructors

DVGoldenTranscript({required String name, required String feature, required int promptVersion, required Map<String, Object?> input, required DVJsonValue expected, String? promptFingerprint})
const
DVGoldenTranscript.fromJson(Map<String, Object?> json)
factory

Properties

expected → DVJsonValue
final
feature → String
final
hashCode → int
The hash code for this object.
no setterinherited
input → Map<String, Object?>
final
name → String
final
promptFingerprint → String?
The fingerprint it was produced by, when captured; a stored version that reused the number with other text is then caught too.
final
promptVersion → int
The version the expected output was produced by. A transcript is evidence about that version and no other.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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

Static Methods

decodeFile(String source) → List<DVGoldenTranscript>
encodeFile(List<DVGoldenTranscript> transcripts) → String