AIAgentEdgeBuilderIntermediate

Represents an intermediate stage in the construction of a directed edge between two nodes in an AI agent strategy graph. This class provides mechanisms to define conditions and transformations that dictate how data flows and is processed between the nodes.

Parameters

IncomingOutput

The type of the output data produced by the originating node.

IntermediateOutput

The type of intermediate data produced after transformation or filtering.

OutgoingInput

The type of input data that the destination node expects.

Functions

Link copied to clipboard

Creates an edge that filters assistant messages based on a custom condition and extracts their content.

Link copied to clipboard

Creates an edge that filters assistant messages based on a custom condition and provides access to media content.

Link copied to clipboard

Filters the intermediate outputs of the ai.koog.agents.core.agent.entity.AIAgentNode based on a specified condition.

Link copied to clipboard

Defines a handler to process failure cases in a directed edge strategy by applying a condition to filter intermediate results of type SafeTool.Result.Failure. This method is used to specialize processing for failure results and to propagate or transform them based on the provided condition.

Link copied to clipboard

Creates an edge that filters assistant messages based on a custom condition and extracts their content.

Link copied to clipboard
Link copied to clipboard

Filters and transforms the intermediate outputs of the AI agent node based on the success results of a tool operation.

Link copied to clipboard

Creates an edge that filters tool result messages for a specific tool and result condition.

Link copied to clipboard