TypedAIAgentSubgraphBuilderBase
A base class for constructing a typed AI agent subgraph builder with strongly defined input and output types. This class is designed for creating subgraphs within an AI agent graph structure, enabling the configuration of node interactions, tool usage, and the integration of language models (LLMs).
Type Parameters
The type of the input data handled by the sub
Inheritors
Constructors
Functions
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.
Sets the tool selection strategy for the subgraph builder and returns the updated builder instance.