AIAgentSubgraph

constructor(name: String, start: StartAIAgentNodeBase<Input>, finish: FinishAIAgentNodeBase<Output>, toolSelectionStrategy: ToolSelectionStrategy)(source)

Parameters

Input

The type of input data accepted by the subgraph.

Output

The type of output data returned by the subgraph.

name

The name of the subgraph.

start

The starting node of the subgraph, which initiates the processing.

finish

The finishing node of the subgraph, which concludes the processing.

toolSelectionStrategy

Strategy determining which tools should be available during this subgraph's execution.