ReMe/reme2/enumeration/component_enum.py
huangsen 514bf35050
Some checks failed
Pre-commit / run (ubuntu-latest) (push) Has been cancelled
```
docs: add ReMe2 architecture design documentation

- Add comprehensive design document (reme2.md) detailing the
  three-layer architecture (L1/L2/L3) for the vault system
- Document new protocols for folder notes and memory management
- Specify interface contracts for memory_* and vault_* tools
- Outline implementation phases from current state to target

refactor: fix typo in personal retriever class

- Correct spelling error: 'retri eved_nodes' -> 'retrieved_nodes'
  in PersonalRetriever.result assignment

chore: update gitignore with vault-related patterns

- Add '/vault' to ignore vault directory
- Add '/reme-plugin' to ignore plugin files
- Add '/reme2/vault' to ignore new vault implementation
```
2026-05-08 16:14:42 +08:00

41 lines
871 B
Python

"""Component enumeration module.
Defines the types of components that can be registered and used in the application.
"""
from enum import Enum
class ComponentEnum(str, Enum):
"""Enumeration of component types for dependency injection and registration.
This enum defines the various component categories that can be registered
in the application's component container. Each component type represents
a specific role or functionality within the system.
"""
BASE = "base"
AS_LLM = "as_llm"
AS_LLM_FORMATTER = "as_llm_formatter"
AS_TOKEN_COUNTER = "as_token_counter"
EMBEDDING_MODEL = "embedding_model"
EDGE_EXTRACTOR = "edge_extractor"
FILE_PARSER = "file_parser"
FILE_STORE = "file_store"
FILE_WATCHER = "file_watcher"
SERVICE = "service"
CLIENT = "client"
STEP = "step"
JOB = "job"