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.

@FunctionalInterface public interface AiGraphCompleteHook
Figure task sequence successfully completes the callback interface.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Triggered when the graph task sequence completes successfully.
  • Method Details

    • onGraphComplete

      void onGraphComplete(AiInvocationContext<?> ctx, Object finalResult)
      Triggered when the graph task sequence completes successfully.
      Parameters:
      ctx - current execution context
      finalResult - The final result of the graph execution