Package dyntabs.ai.event
Enum Class EasyAIEvent.Source
- All Implemented Interfaces:
Serializable,Comparable<EasyAIEvent.Source>,Constable
- Enclosing class:
EasyAIEvent
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEasyAI.agent()— an autonomous multi-step agent.EasyAI.assistant(...)— an AI service backed by your tools.EasyAI.chat()— a conversational turn.EasyAI.extract(...)— structured extraction of a typed object.EasyAI.indexer()— document ingestion into a vector store.Retrieval-augmented generation (document search feeding an answer). -
Method Summary
Modifier and TypeMethodDescriptionstatic EasyAIEvent.SourceReturns the enum constant of this class with the specified name.static EasyAIEvent.Source[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CHAT
EasyAI.chat()— a conversational turn. -
ASSISTANT
EasyAI.assistant(...)— an AI service backed by your tools. -
RAG
Retrieval-augmented generation (document search feeding an answer). -
AGENT
EasyAI.agent()— an autonomous multi-step agent. -
INDEXER
EasyAI.indexer()— document ingestion into a vector store. -
EXTRACT
EasyAI.extract(...)— structured extraction of a typed object.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-