TypedAIAgentSubgraphBuilder
Builder class for creating and configuring a typed AI agent subgraph.
This class facilitates the construction of a subgraph within an AI agent graph strategy by providing methods to define graph structures,
Constructors
Functions
Defines an AI Agent subgraph by applying the provided graph building action.
Configures the builder to use a specific list of tools for the AI agent's subgraph.
Configures the builder with a selection of tools defined by the provided tool sets. The tools will be extracted from each ToolSet and applied to the builder's tool selection strategy.
Sets the specified Large Language Model (LLM) for the agent subgraph builder.
Configures the subgraph to start with only the parent's system messages, discarding inherited user/assistant conversation turns. The subgraph's own history is discarded upon completion, so it does not affect the parent's conversation.
Sets the parameters for the Language Learning Model (LLM) in the current builder.
Sets the specified response processor to handle and modify LLM responses.
Configures a task to be executed as part of the subgraph.
Defines a task within the subgraph using the provided task implementation.
Sets the tool selection strategy for the subgraph builder and returns the updated builder instance.