docstore#

Docstores are classes to store and load Documents.

The Docstore is a simplified version of the Document Loader.

Class hierarchy:

Docstore --> <name> # Examples: InMemoryDocstore, Wikipedia

Main helpers:

Document, AddableMixin

Classes

docstore.arbitrary_fn.DocstoreFn(lookup_fn)

Docstore via arbitrary lookup function.

docstore.base.AddableMixin()

Mixin class that supports adding texts.

docstore.base.Docstore()

Interface to access to place that stores documents.

docstore.in_memory.InMemoryDocstore([_dict])

Simple in memory docstore in the form of a dict.

docstore.wikipedia.Wikipedia()

Wikipedia API.