TypedAIAgentNodeBuilder
class TypedAIAgentNodeBuilder<Input : Any, Output : Any>(name: String?, inputTypeToken: ERROR CLASS: Symbol not found for TypeToken, outputTypeToken: ERROR CLASS: Symbol not found for TypeToken)(source)
A Java builder class for creating instances of AIAgentNode with strongly typed input and output data.
Type Parameters
Input
The type of the input data the node will process.
Output
The type of the output data the node will produce.
Constructors
Link copied to clipboard
constructor(name: String?, inputTypeToken: ERROR CLASS: Symbol not found for TypeToken, outputTypeToken: ERROR CLASS: Symbol not found for TypeToken)
Functions
Link copied to clipboard
fun withAction(nodeAction: ContextualAction<Input, Output>): DefinedAIAgentNodeBuilder<Input, Output>
Assigns a contextual action to the node being built, specifying the logic that should be executed when the node processes an input within the AI agent graph context.