ConversationExtras class final

A conversation's extras beyond what every conversation is created with.

Annotations
  • @immutable

Constructors

ConversationExtras({Map<String, Object?> extraContext = const {}, SpeculativeDecodingMode? speculativeDecoding})
const

Properties

extraContext → Map<String, Object?>
conversation_config_set_extra_context; empty sets nothing.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
speculativeDecoding → SpeculativeDecodingMode?
The session's speculative decoding; null leaves the engine's.
final

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

Constants

none → const ConversationExtras