withInput

fun <Input : Any> withInput(clazz: ERROR CLASS: Symbol not found for Class<Input>): AIAgentNodeBuilderWithInput<Input>(source)

Specifies the input type for building an AIAgentNode.

Return

an instance of AIAgentNodeBuilderWithInput configured with the specified input type.

Parameters

clazz

the Class instance representing the input type.


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

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

Return

an AIAgentNodeBuilderWithInput instance configured with the specified input type.

Parameters

typeToken

a TypeToken representing the input type.