Uses of Class
com.google.genkit.ai.agent.AgentChunk
Packages that use AgentChunk
Package
Description
This package provides types for the Genkit agents feature, including enums and models for agent
state snapshots, agent execution lifecycle, and agent-related operations.
-
Uses of AgentChunk in com.google.genkit.ai.agent
Method parameters in com.google.genkit.ai.agent with type arguments of type AgentChunkModifier and TypeMethodDescriptionAgentChat.sendStream(AgentInput input, Consumer<AgentChunk<S>> onChunk) Sends a fully-formed input, streaming chunks toonChunk, and returns the final response.AgentChat.sendStream(String text, Consumer<AgentChunk<S>> onChunk) Sends a user text message, streaming chunks toonChunk, and returns the final response.