mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-09-17 23:51:19 +00:00
Some checks are pending
Pre-commit / run (ubuntu-latest) (push) Waiting to run
- Add file_parser component with default implementation - Introduce SearchFilter schema for path and tag filtering - Implement filter functionality in BaseFileStore and LocalFileStore - Update file watcher to use parser-based filtering instead of suffix filters - Register new FILE_PARSER component enum - Add test_data directory to gitignore refactor: improve component imports and initialization - Fix relative imports in application.py - Add file_parser import to component init - Initialize registry dict when component type doesn't exist - Remove circular import in HttpService by using string annotation - Update config yaml to use proper component names refactor: enhance file watcher architecture - Replace MdFileWatcher with more flexible FullFileWatcher and LightFileWatcher - Remove suffix-based filtering in favor of parser-based approach - Update BaseFileWatcher to resolve parsers from app context - Remove unused watch_filter method refactor: update ReMe core functionality - Remove memory_path creation - Simplify dream and proactive methods to return empty strings - Update config defaults for HTTP service and component backends docs: update component configuration in paw.yaml - Change service backend from cmd to http - Rename components to use correct singular forms - Add default file parser and file watcher configurations - Set up local file store with default settings ``` Co-authored-by: huangsen <huangsen.huang@alibaba-inc.com>
38 lines
828 B
Python
38 lines
828 B
Python
"""Components"""
|
|
|
|
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
|
|
|
|
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
|
|
|
|
__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",
|
|
]
|