mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-09-22 00:32:49 +00:00
- add neo4j dependency to project requirements - introduce NetworkXFileGraph to replace LocalFileGraph implementation - rename local_file_graph.py to networkx_file_graph.py with updated component registration as 'networkx' - remove pickle persistence logic from NetworkX backend, simplify initialization - update Neo4jFileGraph to return FileLink objects instead of (FileNode, FileLink) tuples from get_inlinks/get_outlinks methods - remove unused AsyncIterator import and adjust method signatures - add BareFileParser for handling binary/attachment files without content parsing - move wikilink resolution utilities to dedicated utility module - refactor memory I/O to use file graph's link resolution methods directly - remove link extraction utilities from schema module, consolidate in utils.wikilink_resolver
29 lines
693 B
Python
29 lines
693 B
Python
"""Schema"""
|
|
|
|
from .application_config import ApplicationConfig, ComponentConfig, JobConfig
|
|
from .as_msg_stat import AsBlockStat, AsMsgStat
|
|
from .emb_node import EmbNode
|
|
from .chunk_filter import ChunkFilter
|
|
from .file_chunk import FileChunk
|
|
from .file_link import FileLink
|
|
from .file_node import FileFrontMatter, FileNode
|
|
from .request import Request
|
|
from .response import Response
|
|
from .stream_chunk import StreamChunk
|
|
|
|
__all__ = [
|
|
"ApplicationConfig",
|
|
"ComponentConfig",
|
|
"JobConfig",
|
|
"AsBlockStat",
|
|
"AsMsgStat",
|
|
"EmbNode",
|
|
"ChunkFilter",
|
|
"FileChunk",
|
|
"FileLink",
|
|
"FileFrontMatter",
|
|
"FileNode",
|
|
"Request",
|
|
"Response",
|
|
"StreamChunk",
|
|
]
|