withInput

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: ERROR CLASS: Symbol not found for 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.