ContextualTransformation

A functional interface representing a transformation operation that processes an input output of type Output in the context of AIAgentGraphContextBase and produces a transformed result of type NewOutput.

The presence of the JavaAPI annotation indicates that this interface is optimized for interoperability with Java.

Functions

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

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