Class PromptRenderedEvent

  • All Implemented Interfaces:
    KernelHookEvent

    public class PromptRenderedEvent
    extends Object
    implements KernelHookEvent
    Represents a KernelHookEvent that is raised after a prompt is rendered.
    • Method Detail

      • getFunction

        public KernelFunction getFunction()
        Gets the function that was invoked.
        Returns:
        the function
      • getArguments

        public KernelFunctionArguments getArguments()
        Gets the arguments that were passed to the function.
        Returns:
        the arguments
      • getPrompt

        public String getPrompt()
        Gets the prompt that was rendered.
        Returns:
        the prompt