DeciderInput class final
What a decider is asked about: the input and, for deciders that read one, the conversation so far.
- Annotations
-
- @experimental
- @immutable
Constructors
-
DeciderInput(EmbeddingInput input, {List<
Message> context = const []}) -
contextis copied. No decider in this release reads it: each fails withDeciderUnsupportedExceptionwhen it is not empty, rather than ignoring it.
Properties
-
context
→ List<
Message> -
Earlier turns, for deciders whose
capabilities.supportsContextis true. Unmodifiable.final - hashCode → int
-
The hash code for this object.
no setterinherited
- input → EmbeddingInput
-
The request to decide on: text, an image, audio — what the decider's
capabilities.modalitieslists.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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited