AIAgentSubgraphBuilderWithInput
A builder class for constructing AI agent subgraphs with a specified input type.
This class extends AgentSubgraphBuilder and provides additional functionality to define an input type for the subgraph, enabling the creation of typed subgraphs where the input to the graph is explicitly defined.
Constructors
Functions
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.
Configures the builder to use a specific list of tools for the AI agent's subgraph.
Sets the specified Large Language Model (LLM) for the agent subgraph builder.
Configures the subgraph with a specified finish tool to process the output. This allows the subgraph to conclude by transforming the output using the provided tool.
Configures the builder with the specified input type and returns a new instance of AIAgentSubgraphBuilderWithInput, allowing further configuration for the specified input type.
Sets the parameters for the Language Learning Model (LLM) in the current builder.
Specifies the output type for the subgraph and transitions to a builder capable of handling the provided input and output types. This method returns a new instance of the builder, with the output type defined as the given class.
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.
Responsible for building a subgraph that can perform verification tasks within the AI agent graph. Resulting subgraph woult take an instance of Input and produce an instance of CriticResult<Input>