Package com.aispect.api
Interface AiGraphCompleteHook
- All Known Subinterfaces:
AiGraphAgentHandler<T,R, F>
- All Known Implementing Classes:
AbstractGraphAgent,DynamicWorkflowGraphAgent
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Figure task sequence successfully completes the callback interface.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonGraphComplete(AiInvocationContext<?> ctx, Object finalResult) Triggered when the graph task sequence completes successfully.
-
Method Details
-
onGraphComplete
Triggered when the graph task sequence completes successfully.- Parameters:
ctx- current execution contextfinalResult- The final result of the graph execution
-