transformed
Transforms the intermediate output of the AIAgentNode by applying a given transformation block.
Return
A builder instance configured to handle the transformed outputs and enable further chaining or customization of the agent's graph configuration.
Parameters
A contextual transformation function that takes an intermediate output and an AI agent graph context as input, and produces a compatible output.
Transforms the intermediate output of the AIAgentNode by applying a given transformation block.
Return
A builder for configuring and chaining additional processing steps for the edge, maintaining type compatibility with the transformed output.
Parameters
A functional interface that defines how to transform intermediate outputs of type IntermediateOutput into compatible outputs of type CompatibleOutput.