ReMe/reme/enumeration/component_enum.py
Sen Huang f3d32e203d
Some checks are pending
Pre-commit / run (ubuntu-latest) (push) Waiting to run
Tests ReMe / Unit Tests - py3.11 (push) Waiting to run
Tests ReMe / Unit Tests - py3.12 (push) Waiting to run
Tests ReMe / Unit Tests - py3.13 (push) Waiting to run
Windows Smoke / CLI smoke - py3.11 (push) Waiting to run
feat: add mail component enum (#405)
* feat: add mail component enum

* fix format

---------

Co-authored-by: jinliyl <6469360+jinliyl@users.noreply.github.com>
2026-07-30 14:48:20 +08:00

41 lines
672 B
Python

"""Component enumeration module."""
from enum import Enum
class ComponentEnum(str, Enum):
"""Enumeration of component types for dependency injection and registration."""
BASE = "base"
AS_LLM = "as_llm"
AS_EMBEDDING = "as_embedding"
EMBEDDING_STORE = "embedding_store"
FILE_CHUNKER = "file_chunker"
FILE_STORE = "file_store"
FILE_GRAPH = "file_graph"
FILE_CATALOG = "file_catalog"
KEYWORD_INDEX = "keyword_index"
SERVICE = "service"
CLIENT = "client"
STEP = "step"
JOB = "job"
TOKENIZER = "tokenizer"
AGENT_WRAPPER = "agent_wrapper"
MAIL = "mail"
OUTBOUND_PROXY = "outbound_proxy"