Interface AttachmentSubmitListener

All Superinterfaces:
Serializable
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 AttachmentSubmitListener extends Serializable
Listener for attachment submit events.
  • Method Details

    • onAttachmentSubmit

      void onAttachmentSubmit(AttachmentSubmitListener.AttachmentSubmitEvent event)
      Called when a message with attachments is submitted to the LLM provider. Use this to store attachment data in your own storage.
      Parameters:
      event - the attachment submit event