langchain_community.docstore.base.Docstore¶

class langchain_community.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.

Parameters

ids (List) –

Return type

None

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.

Parameters

search (str) –

Return type

Union[str, Document]