ContextualCondition

ContextualCondition is a functional interface designed to evaluate a condition based on an output value and the given AI agent graph context.

Parameters

Output

The type of the output value that the condition evaluates.

Functions

Link copied to clipboard
abstract operator fun invoke(output: Output, context: AIAgentGraphContextBase): Boolean

Invokes the contextual condition with the given output and context to evaluate its result.