mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-09-19 00:01:33 +00:00
- Introduce Application class for managing application lifecycle - Add base component classes for LLM formatters and token counters - Implement embedding model base with caching and batching support - Create file watcher base with watchfiles integration - Add job and step base components for workflow execution - Update base component with async locks and improved lifecycle management - Register new component types in component registry - Add application context and runtime context for dependency injection
37 lines
827 B
Python
37 lines
827 B
Python
"""Components"""
|
|
|
|
from . import as_llm
|
|
from . import as_llm_formatter
|
|
from . import client
|
|
from . import embedding
|
|
from . import file_parser
|
|
from . import file_store
|
|
from . import file_watcher
|
|
from . import job
|
|
from . import service
|
|
from .application_context import ApplicationContext
|
|
from .base_component import BaseComponent
|
|
from .base_step import BaseStep
|
|
from .component_registry import ComponentRegistry, R
|
|
from .prompt_handler import PromptHandler
|
|
from .runtime_context import RuntimeContext
|
|
|
|
__all__ = [
|
|
"ApplicationContext",
|
|
"BaseComponent",
|
|
"BaseStep",
|
|
"ComponentRegistry",
|
|
"R",
|
|
"PromptHandler",
|
|
"RuntimeContext",
|
|
# base components
|
|
"as_llm",
|
|
"as_llm_formatter",
|
|
"client",
|
|
"embedding",
|
|
"file_parser",
|
|
"file_store",
|
|
"file_watcher",
|
|
"job",
|
|
"service",
|
|
]
|