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.
agentTransferRepresents an event indicating the transfer of a conversation to a differentimageRepresents an image input or output in the conversation.textText data.toolCallRequest for the client or the agent to execute the specified tool.toolResponseThe execution result of a specific tool from the client or the agent.updatedVariablesA 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