AIAgentNodeBuilder

A Java builder class for creating AIAgentNode with a specified name. This allows the configuration of the node's input type.

Parameters

name

The name of the AIAgentNode, or null if unspecified.

Constructors

Link copied to clipboard
constructor(name: String?)

Initializes the builder with the specified name.

Functions

Link copied to clipboard
fun <Input : Any> withInput(clazz: ERROR CLASS: Symbol not found for Class<Input>): AIAgentNodeBuilderWithInput<Input>

Specifies the input type for building an AIAgentNode.

fun <Input : Any> withInput(typeToken: TypeToken): AIAgentNodeBuilderWithInput<Input>

Configures the builder to use the specified input type for constructing an AIAgentNode.