withInput

fun <Input : Any> withInput(outputClass: ERROR CLASS: Symbol not found for Class<Input>): AIAgentSubgraphBuilderWithInput<Input, *>(source)

Configures the builder with the specified input type and returns a new instance of AIAgentSubgraphBuilderWithInput, allowing further configuration for the specified input type.

Parameters

outputClass

the class type of the input to be used in the subgraph