mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-09-10 22:41:06 +00:00
* feat(file_store): add ZvecLocalFileStore backend - Implement ZvecLocalFileStore with native zvec collection for ANN search. - Keep JSONL chunks as the source of truth; rebuild collection from chunks when sidecar digest/dimension/HNSW M mismatch is detected. - Add dedicated unit tests in tests/unit/test_zvec_file_store.py. - Parametrize existing file_store consistency tests to cover both LocalFileStore and ZvecLocalFileStore. - Register the new backend in reme/components/file_store/__init__.py. * fix(file_store): fix zvec collection sync and content validation, declare zvec dependency
18 lines
484 B
Python
18 lines
484 B
Python
"""File store module.
|
|
|
|
In-memory + JSONL backend for the (file → chunks) graph. Subclass
|
|
`BaseFileStore` to add other backends; only `LocalFileStore` is
|
|
shipped today.
|
|
"""
|
|
|
|
from .base_file_store import BaseFileStore
|
|
from .faiss_local_file_store import FaissLocalFileStore
|
|
from .local_file_store import LocalFileStore
|
|
from .zvec_local_file_store import ZvecLocalFileStore
|
|
|
|
__all__ = [
|
|
"BaseFileStore",
|
|
"FaissLocalFileStore",
|
|
"LocalFileStore",
|
|
"ZvecLocalFileStore",
|
|
]
|