langchain.docstore.base.Docstore¶

class langchain.docstore.base.Docstore[source]¶

Bases: ABC

Interface to access to place that stores documents.

Methods

__init__()

search(search)

Search for document.

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.