Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Conversational Retrieval QA Chain

A chain for performing question-answering tasks with a retrieval component.

Definitions

A retrieval-based question-answering chain, which integrates with a retrieval component and allows you to configure input parameters and perform question-answering tasks.
Retrieval-Based Chatbots: Retrieval-based chatbots are chatbots that generate responses by selecting pre-defined responses from a database or a set of possible responses. They "retrieve" the most appropriate response based on the input from the user.
QA (Question Answering): QA systems are designed to answer questions posed in natural language. They typically involve understanding the question and searching for or generating an appropriate answer.

Inputs

Parameters

NameDescription
Return Source DocumentsTo return citations/sources that were used to build up the response
System MessageAn instruction for LLM on how to answer query
Chain OptionMethod on how to summarize, answer questions, and extract information from documents. Read more

Outputs

NameDescription
ConversationalRetrievalQAChainFinal node to return response