StartAIAgentNodeBase
Properties
Functions
Link copied to clipboard
Adds a directed edge from the current node, enabling connections between this node and other nodes in the AI agent strategy graph.
Link copied to clipboard
Executes a specific operation based on the given context and input.
Link copied to clipboard
infix fun <IncomingOutput, OutgoingInput> AIAgentNodeBase<*, IncomingOutput>.forwardTo(otherNode: AIAgentNodeBase<OutgoingInput, *>): AIAgentEdgeBuilderIntermediate<IncomingOutput, IncomingOutput, OutgoingInput>
Link copied to clipboard
suspend fun resolveEdge(context: AIAgentContextBase, nodeOutput: Input): AIAgentNodeBase.ResolvedEdge?
Resolves the edge associated with the provided node output and execution context. Iterates through available edges and identifies the first edge that can successfully process the given node output within the provided context. If a resolvable edge is found, it returns a ResolvedEdge
containing the edge and its output. Otherwise, returns null.