AIAgentEdgeBuilder
class AIAgentEdgeBuilder<IncomingOutput, OutgoingInput, CompatibleOutput : OutgoingInput> : BaseBuilder<AIAgentEdge<IncomingOutput, OutgoingInput>> (source)
A builder class for constructing an AIAgentEdge
instance, which represents a directed edge connecting two nodes in a graph of an AI agent's processing pipeline. This edge defines the flow of data from a source node to a target node, enabling transformation or filtering of the source node's output before passing it to the target node.
Parameters
IncomingOutput
The type of output produced by the source node connected to this edge.
OutgoingInput
The type of input accepted by the target node connected to this edge.