LlmBackedUserSimulatorCriterion class

Criterion configuration for LLM-backed user simulator metrics.

Inheritance

Constructors

LlmBackedUserSimulatorCriterion({required double threshold, JudgeModelOptions? judgeModelOptions, String stopSignal = '</finished>', Map<String, Object?>? extra})
Creates an LLM-backed user simulator criterion.
LlmBackedUserSimulatorCriterion.fromJson(Object? value)
Creates a criterion from JSON.
factory

Properties

extra → Map<String, Object?>
Additional criterion metadata.
finalinherited
hasExplicitThreshold → bool
Whether threshold was explicitly provided rather than defaulted.
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
includeIntermediateResponsesInFinal → bool
Whether intermediate responses are included in final response text.
finalinherited
judgeModelOptions → JudgeModelOptions
Judge model options.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stopSignal → String
Stop token used by the user simulator.
final
threshold → double
Minimum passing score.
finalinherited

Methods

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

Operators

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