invoke

abstract operator fun invoke(output: Output, context: AIAgentGraphContextBase): NewOutput(source)

Transforms the given output using the provided AI agent graph context and returns a new output.

Return

A new output resulting from the transformation.

Parameters

output

The original output to be transformed.

context

The context providing the necessary information and functionality for transformation within the AI agent graph.