Class RoutingEdgeAction
java.lang.Object
com.alibaba.cloud.ai.graph.agent.flow.node.RoutingEdgeAction
- All Implemented Interfaces:
AsyncEdgeAction,Function<OverAllState,CompletableFuture<String>>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordResponse record for structured routing decision output -
Constructor Summary
ConstructorsConstructorDescriptionRoutingEdgeAction(org.springframework.ai.chat.model.ChatModel chatModel, Agent current, List<Agent> subAgents) -
Method Summary
-
Constructor Details
-
RoutingEdgeAction
-
-
Method Details
-
apply
- Specified by:
applyin interfaceAsyncEdgeAction- Specified by:
applyin interfaceFunction<OverAllState,CompletableFuture<String>>
-