Component enum
ComponentEnum
¶
Bases: Enum
The enumeration of the supported components.
Source code in agentuniverse/base/component/component_enum.py
Python
class ComponentEnum(Enum):
"""The enumeration of the supported components."""
AGENT = "AGENT"
KNOWLEDGE = "KNOWLEDGE"
LLM = "LLM"
PLANNER = "PLANNER"
TOOL = "TOOL"
DEFAULT = "DEFAULT"
SERVICE = "SERVICE"
MEMORY = "MEMORY"
PROMPT = "PROMPT"
@staticmethod
def to_value_list():
"""Return the value list of the enumeration."""
return [item.value for item in ComponentEnum]