Class ConditionEvaluatorAction
java.lang.Object
com.alibaba.cloud.ai.graph.agent.flow.node.ConditionEvaluatorAction
- All Implemented Interfaces:
AsyncEdgeAction,Function<OverAllState,CompletableFuture<String>>
An async edge action that evaluates conditions to determine routing paths. This class
reads the condition result from the state and returns the appropriate route.
-
Constructor Details
-
ConditionEvaluatorAction
public ConditionEvaluatorAction()
-
-
Method Details
-
apply
- Specified by:
applyin interfaceAsyncEdgeAction- Specified by:
applyin interfaceFunction<OverAllState,CompletableFuture<String>>
-