kotaemon/knowledgehub/docstores/__init__.py
Nguyen Trung Duc (john) 2a3a23ecd7 [AUR-420] Provide document store base interface and an in-memory version (#21)
Document store handles storing and indexing Documents. It supports the following interfaces:

- add: add 1 or more documents into document store
- get: get a list of documents
- get_all: get all documents in a document store
- delete: delete 1 or more document
- save: persist a document store into disk
- load: load a document store from disk
2023-09-19 14:49:23 +07:00

5 lines
136 B
Python

from .base import BaseDocumentStore
from .simple import InMemoryDocumentStore
__all__ = ["BaseDocumentStore", "InMemoryDocumentStore"]