[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
This commit is contained in:
committed by
GitHub
parent
620b2b03ca
commit
2a3a23ecd7
4
knowledgehub/docstores/__init__.py
Normal file
4
knowledgehub/docstores/__init__.py
Normal file
@@ -0,0 +1,4 @@
|
||||
from .base import BaseDocumentStore
|
||||
from .simple import InMemoryDocumentStore
|
||||
|
||||
__all__ = ["BaseDocumentStore", "InMemoryDocumentStore"]
|
Reference in New Issue
Block a user