AIAgentNodeDelegate

constructor(name: String?, nodeBuilder: AIAgentNodeBuilder<Input, Output>)(source)

Initializes the delegate with the provided node name and builder.

Parameters

Input

The type of input data the delegated node will process.

Output

The type of output data the delegated node will produce.

name

The optional name of the node. If not provided, the name will be derived from the property to which the delegate is applied.

nodeBuilder

The builder used to construct the AIAgentNodeBase instance for this delegate.