LiveClientContextUpdate class
Updates to the context (systemInstruction and/or tools) of the current
Live API session.
Only fields that are set will be updated. Updates are guaranteed to be processed in order with the rest of the inputs.
Constructors
- LiveClientContextUpdate({Object? systemInstruction, Object? tools})
- Creates an in-session context update.
-
LiveClientContextUpdate.fromJson(Map<
String, dynamic> json) -
Creates a LiveClientContextUpdate from a JSON payload.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- systemInstruction → Content?
-
Updated system instruction for the model.
final
- tools → LiveClientContextUpdateTools?
-
An updated list of tools the model may use to generate subsequent
responses.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts this context update to a JSON payload.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited