AbstainReason class final
Why a decider abstained.
A class with constant instances rather than an enum, as DeciderMethod
is, so a reason added in a later release does not break an app's
exhaustive switch.
- Annotations
-
- @experimental
- @immutable
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- belowThreshold → const AbstainReason
-
The answer's abstain signal is below the decider's calibrated threshold
(
provenance.abstainSignal < provenance.threshold): the request fits none of the candidates. What the signal is — a cosine, a probability — isprovenance.abstainSignalKind. - noCandidates → const AbstainReason
-
amongleft no candidate. - noneOption → const AbstainReason
-
The option the decider's calibration names as "none of these" ranked
first (a model trained with one). It stays in
rankedandprobabilities. -
values
→ const List<
AbstainReason> - Every reason this release knows, in declaration order.