ExampleMessageChunk class

Constructors

ExampleMessageChunk({Input<ExampleMessageChunkAgentTransfer?>? agentTransfer, Input<ExampleMessageChunkImage?>? image, Input<String?>? text, Input<ExampleMessageChunkToolCall?>? toolCall, Input<ExampleMessageChunkToolResponse?>? toolResponse, Input<String?>? updatedVariables})
Creates a new ExampleMessageChunk. agentTransfer Represents an event indicating the transfer of a conversation to a different image Represents an image input or output in the conversation. text Text data. toolCall Request for the client or the agent to execute the specified tool. toolResponse The execution result of a specific tool from the client or the agent. updatedVariables A struct represents variables that were updated in the conversation,
const
ExampleMessageChunk.fromMap(Map<String, dynamic> map)
factory

Properties

agentTransfer → Input<ExampleMessageChunkAgentTransfer?>?
Represents an event indicating the transfer of a conversation to a different agent. Structure is documented below.
final
hashCode → int
The hash code for this object.
no setterinherited
image → Input<ExampleMessageChunkImage?>?
Represents an image input or output in the conversation. Structure is documented below.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
text → Input<String?>?
Text data.
final
toolCall → Input<ExampleMessageChunkToolCall?>?
Request for the client or the agent to execute the specified tool. Structure is documented below.
final
toolResponse → Input<ExampleMessageChunkToolResponse?>?
The execution result of a specific tool from the client or the agent. Structure is documented below.
final
updatedVariables → Input<String?>?
A struct represents variables that were updated in the conversation, keyed by variable names.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited