Retrieval Augmented Generation and Dense Passage Retrieval use the context of a question to retrieve relevant passages from a large corpus of documents and extract answers. These models act akin to librarians, using their understanding of your question to retrieve relevant books or documents from the library.
Example:
RAG, DPR