mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-10-15 04:21:42 +00:00
* feat(classifier): add optional Jev component and CLI demo * fix(classifier): expose Jev demo through inherited default service
45 lines
738 B
Python
45 lines
738 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_CLASSIFIER = "as_classifier"
|
|
|
|
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"
|
|
|
|
TAG_INDEX = "tag_index"
|
|
|
|
SERVICE = "service"
|
|
|
|
CLIENT = "client"
|
|
|
|
STEP = "step"
|
|
|
|
JOB = "job"
|
|
|
|
TOKENIZER = "tokenizer"
|
|
|
|
AGENT_WRAPPER = "agent_wrapper"
|
|
|
|
MAIL = "mail"
|
|
|
|
OUTBOUND_PROXY = "outbound_proxy"
|