AIAgentNodeBuilderWithInput

class AIAgentNodeBuilderWithInput<Input : Any>(name: String?, inputTypeToken: TypeToken)(source)

A Java builder class for creating AIAgentNode with a specified input type.

Parameters

Input

The type of input data the AIAgentNode will process.

Constructors

Link copied to clipboard
constructor(name: String?, inputTypeToken: TypeToken)

Functions

Link copied to clipboard

Appends a prompt to the AI agent node configuration.

Link copied to clipboard

Configures an AI agent node to evaluate and critique input data as a simulated "judge" using a specified task and an optional Large Language Model (LLM).

Link copied to clipboard

Sends a streaming request to the Large Language Model (LLM) and processes the results, optionally using a specified structure definition for content customization.

Link copied to clipboard

Configures the node to produce a structured output based on the specified configuration.

Link copied to clipboard
fun <Output : Any> withOutput(clazz: ERROR CLASS: Symbol not found for Class<Output>): TypedAIAgentNodeBuilder<Input, Output>

Specifies the output type for the AIAgentNode and returns a builder for creating a typed AIAgentNode.

fun <Output : Any> withOutput(typeToken: TypeToken): TypedAIAgentNodeBuilder<Input, Output>

Specifies the output type for the AI agent node and returns a builder for creating a typed AI agent node.