langchain.docstore.base.Docstore

class langchain.docstore.base.Docstore[source]

Interface to access to place that stores documents.

Methods

__init__()

delete(ids)

Deleting IDs from in memory dictionary.

search(search)

Search for document.

__init__()
delete(ids: List) None[source]

Deleting IDs from in memory dictionary.

abstract search(search: str) Union[str, Document][source]

Search for document.

If page exists, return the page summary, and a Document object. If page does not exist, return similar entries.