Retrievers

Retrievers fetch documents relvant to the query from the document store. They're used in query pipelines.

When given a query, a retriever sifts through the documents in the document store, scores each documents for its relevance to the query, and returns top candidates.

Retriever and document store are tightly coupled. When configuring a retriever, you must always specify and configure the document store.

For more information about Retrievers, see Haystack documentation.