Store

Provides storage for documents
from nbdev.showdoc import *

source

BaseDocumentStore

 BaseDocumentStore (documents:Dict[str,nanorag.base.Document]={})

Base class for document storage


source

DocumentStore

 DocumentStore
                (documents:Union[List[nanorag.base.Document],nanorag.base.
                Document]=[])

Key value type document store that store documents by their id in a dictionary. Also checks for duplicates via hashing and doesn’t admit them. Compatible with both nodes and documents.


source

PostgresDocumentStore

 PostgresDocumentStore (db_uri, table_name='documents')

Base class for document storage