DeciderInput class final

What a decider is asked about: the input and, for deciders that read one, the conversation so far.

Annotations

Constructors

DeciderInput(EmbeddingInput input, {List<Message> context = const []})
context is copied. No decider in this release reads it: each fails with DeciderUnsupportedException when it is not empty, rather than ignoring it.

Properties

context → List<Message>
Earlier turns, for deciders whose capabilities.supportsContext is 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.modalities lists.
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