mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-09-15 23:31:05 +00:00
Some checks failed
Security / CodeQL / Analyze javascript-typescript (push) Has been cancelled
CI / Documentation / Test and build documentation (push) Has been cancelled
CI / Python packages / Build and verify distributions (push) Has been cancelled
CI / Python quality / Pre-commit (push) Has been cancelled
CI / Python tests / Unit Tests - py3.11 (push) Has been cancelled
CI / Python tests / Unit Tests - py3.13 (push) Has been cancelled
CI / ReMe Studio / Studio checks (push) Has been cancelled
CI / Windows / CLI smoke - py3.11 (push) Has been cancelled
Deploy / Documentation / Build documentation (push) Has been cancelled
Security / CodeQL / Analyze python (push) Has been cancelled
CI / Python tests / Unit Tests - py3.12 (push) Has been cancelled
Deploy / Documentation / deploy (push) Has been cancelled
* Add optional tag generation and normalization to auto memory * Add tag index components and clean up temporary JSONL files * Preserve tag index state when reconciliation fails * Refactor and streamline application implementation * Fix pylint C1803 warnings in tag normalization tests * Document optional tag index configuration * Make tag index failures non-blocking and disable auto-memory tags * fix(tag-index): fail closed and support reindexing * fix(tag-index): preserve complete query expressions --------- Co-authored-by: jinli.yl <jinli.yl@alibaba-inc.com>
43 lines
701 B
Python
43 lines
701 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"
|
|
|
|
TAG_INDEX = "tag_index"
|
|
|
|
SERVICE = "service"
|
|
|
|
CLIENT = "client"
|
|
|
|
STEP = "step"
|
|
|
|
JOB = "job"
|
|
|
|
TOKENIZER = "tokenizer"
|
|
|
|
AGENT_WRAPPER = "agent_wrapper"
|
|
|
|
MAIL = "mail"
|
|
|
|
OUTBOUND_PROXY = "outbound_proxy"
|