Enum Class EasyAIEvent.Source

java.lang.Object
java.lang.Enum<EasyAIEvent.Source>
dyntabs.ai.event.EasyAIEvent.Source
All Implemented Interfaces:
Serializable, Comparable<EasyAIEvent.Source>, Constable
Enclosing class:
EasyAIEvent

public static enum EasyAIEvent.Source extends Enum<EasyAIEvent.Source>
Which EasyAI capability produced an event.

Analogy: the "department" a memo came from — you read it differently depending on whether it's from the indexing crew or the extraction desk.

  • Enum Constant Details

    • CHAT

      public static final EasyAIEvent.Source CHAT
      EasyAI.chat() — a conversational turn.
    • ASSISTANT

      public static final EasyAIEvent.Source ASSISTANT
      EasyAI.assistant(...) — an AI service backed by your tools.
    • RAG

      public static final EasyAIEvent.Source RAG
      Retrieval-augmented generation (document search feeding an answer).
    • AGENT

      public static final EasyAIEvent.Source AGENT
      EasyAI.agent() — an autonomous multi-step agent.
    • INDEXER

      public static final EasyAIEvent.Source INDEXER
      EasyAI.indexer() — document ingestion into a vector store.
    • EXTRACT

      public static final EasyAIEvent.Source EXTRACT
      EasyAI.extract(...) — structured extraction of a typed object.
  • Method Details

    • values

      public static EasyAIEvent.Source[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static EasyAIEvent.Source valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null