Scenario: RAG Architecture & Retrieval
Questions covered
- "Our RAG chatbot answers 70% of questions correctly. Get it to 90%." Where do you start?
- How do you choose between fixed-size, recursive, semantic and structure-aware chunking?
- Users ask comparison questions ("How does plan A differ from plan B?") and get half answers. Fix it.
- How would you add citations users can trust?
- Your corpus is 5 million PDF pages with tables and scans. What does ingestion look like?
- When would you use a reranker, and how do you justify its latency?
- How do you handle questions that need both documents and live data (e.g., "What's my order status and the return policy for it?")?
- How would you choose k (number of chunks) for the context?
This lesson is part of AI & ML Interview Prep. Unlock the full course to read it, take the quiz and track your progress.