Retrieval QA Chain
Overview
The Retrieval QA Chain in AnswerAI is a specialized chain designed to answer questions based on retrieved documents. Unlike the Conversational Retrival QA Chain, this chain focuses on providing accurate answers from a knowledge base without maintaining conversation history.
Key Differences from Conversational Chain
-
No Memory: The Retrieval QA Chain does not maintain memory of previous interactions. Each query is treated independently.
-
Document Retrieval: This chain actively retrieves relevant documents for each query, whereas the Conversational Retrival QA Chain relies on its conversation history.
-
Single-Turn Interactions: Optimized for standalone questions rather than multi-turn conversations.
-
Knowledge-Base Focused: Answers are derived from a specific knowledge base rather than general knowledge or conversation context.