AIAgentSubgraphBuilder

constructor(name: String? = null, inputType: TypeToken, outputType: TypeToken, toolSelectionStrategy: ToolSelectionStrategy, llmModel: LLModel?, llmParams: LLMParams?, responseProcessor: ResponseProcessor? = null)(source)

Parameters

llmModel

Initial LLM model used in this subgraph

llmParams

Initial LLM prompt parameters used in this subgraph

responseProcessor

Initial optional processor defining the post-processing of messages returned from the LLM.

Type Parameters

Input

The input type expected by the starting node of the subgraph.

Output

The output type produced by the finishing node of the subgraph.