AIAgentSubgraphBuilder
Parameters
Initial LLM model used in this subgraph
Initial LLM prompt parameters used in this subgraph
Initial optional processor defining the post-processing of messages returned from the LLM.
Type Parameters
The input type expected by the starting node of the subgraph.
The output type produced by the finishing node of the subgraph.
Deprecated
KTypes usage in graphs and nodes is deprecated. Please, use TypeTokens instead.
Constructs an instance of AIAgentSubgraphBuilder with the provided parameters, using KTypes for input and output type representation.
This constructor is deprecated. All KType parameters should be replaced by the use of TypeToken instead.
Parameters
An optional name for the subgraph being built.
The type of the input data for the subgraph, represented as a KType.
The type of the output data for the subgraph, represented as a KType.
The strategy used to select the tools for this subgraph.
An optional Large Language Model (LLModel) to be used within the subgraph.
An optional set of parameters (LLMParams) for configuring the LLM behavior.
An optional ResponseProcessor for post-processing responses in the subgraph.