ExampleMessageChunk constructor
const
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,
Implementation
const ExampleMessageChunk({
this.agentTransfer,
this.image,
this.text,
this.toolCall,
this.toolResponse,
this.updatedVariables,
});