mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-08-28 05:25:04 +00:00
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 * fix format --------- Co-authored-by: jinliyl <6469360+jinliyl@users.noreply.github.com>
41 lines
672 B
Python
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"
|