DecisionBoolQuestion class final
A yes/no question answered with a calibrated probability (bool).
- Inheritance
-
- Object
- DecisionQuestion
- DecisionBoolQuestion
Constructors
- DecisionBoolQuestion({required Object? instructions, Object? criteriaTrue, Object? criteriaFalse})
-
Creates a yes/no question;
criteriaTrue/criteriaFalsesharpen the calibration by describing each branch.const
Properties
- criteria → Object?
-
The question's
criteriablock (shape depends on type).no setteroverride - criteriaFalse → Object?
-
Guidance for the
falsebranch.final - criteriaTrue → Object?
-
Guidance for the
truebranch.final - hashCode → int
-
The hash code for this object.
no setterinherited
- instructions → Object?
-
What the model is asked to decide (free-form instructions).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String
-
The wire discriminator:
noulper the Decisions API OpenAPI spec (mapping: {box, choice, noul, score}) — NOTbool(review, gh-1844: the API 400s everybool-discriminated question).no setteroverride
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
The wire form:
{type, instructions, criteria?}.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited