AIAgentEdgeBuilderIntermediateBase
abstract class AIAgentEdgeBuilderIntermediateBase<IncomingOutput, IntermediateOutput, OutgoingInput>(source)
Base class for AIAgentEdgeBuilderIntermediate with default implementations.
Inheritors
Functions
Link copied to clipboard
infix fun onCondition(block: suspend AIAgentGraphContextBase.(output: IntermediateOutput) -> Boolean): AIAgentEdgeBuilderIntermediate<IncomingOutput, IntermediateOutput, OutgoingInput>
Filters the intermediate outputs of the ai.koog.agents.core.agent.entity.AIAgentNode based on a specified condition.
Link copied to clipboard
infix fun <NewIntermediateOutput> transformed(block: suspend AIAgentGraphContextBase.(IntermediateOutput) -> NewIntermediateOutput): AIAgentEdgeBuilderIntermediate<IncomingOutput, NewIntermediateOutput, OutgoingInput>
Transforms the intermediate output of the ai.koog.agents.core.agent.entity.AIAgentNode by applying a given transformation block.