The Conversational Retrieval QA Chain is an advanced question-answering system that combines document retrieval with conversational context to provide accurate and contextually relevant answers.
conversationalRetrievalQAChain
ConversationalRetrievalQAChain
Chat Model (Required)
Vector Store Retriever (Required)
Memory (Optional)
Return Source Documents (Optional)
Rephrase Prompt (Optional)
Response Prompt (Optional)
Input Moderation (Optional)
Return Source Documents
is false:
Return Source Documents
is true:
text
: The answer to the user’s question.sourceDocuments
: An array of documents used to generate the answer.