检索增强生成

题集来源:AMIT SHEKHAR(amitshekhariitbhu)收录项目:ai-engineering-interview-questions查看原题集

题目目录

42 道原题
  1. What is Retrieval-Augmented Generation (RAG), and why is it important?

    原题
  2. Explain the architecture of a basic RAG system.

    原题
  3. What are the key components of a RAG pipeline?

    原题
  4. What are chunking strategies, and how do you choose the right chunk size?

    原题
  5. Compare fixed-size chunking, semantic chunking, and recursive chunking.

    原题
  6. What is Contextual Retrieval, and how does it improve RAG?

    原题
  7. What are embedding models, and how do they convert text to vectors?

    原题
  8. How do you choose an embedding model for your RAG system?

    原题
  9. Explain Agentic RAG.

    原题
  10. What is hybrid search, and why is it better than pure vector search?

    原题
  11. What is re-ranking, and how does it improve RAG retrieval quality?

    原题
  12. What is ColBERT, and how does late interaction retrieval work?

    原题
  13. Compare reranker architectures: cross-encoder, ColBERT, and LLM-based rerankers.

    原题
  14. How do you handle multi-document and multi-hop questions in RAG?

    原题
  15. What is the "lost in the middle" problem in RAG systems?

    原题
  16. How do you evaluate a RAG system? Explain faithfulness, relevance, and context precision/recall.

    原题
  17. Explain Self-RAG. How does the model decide when to retrieve?

    原题
  18. What is GraphRAG, and when would you use it over traditional RAG?

    原题
  19. Vectorless RAG

    原题
  20. How do you handle structured data (tables, SQL databases) in a RAG pipeline?

    原题
  21. What are the common failure modes of RAG systems, and how do you debug them?

    原题
  22. How do you handle document updates and maintain freshness in a RAG system?

    原题
  23. How do you optimize RAG for latency in production?

    原题
  24. What is the role of metadata filtering in RAG systems?

    原题
  25. Compare RAG vs fine-tuning. When would you use each?

    原题
  26. Long context windows keep getting cheaper. When should you use retrieval (RAG) vs putting everything in the context window?

    原题
  27. What is query transformation in RAG (HyDE, query decomposition, step-back prompting)?

    原题
  28. How do you implement citation and source attribution in RAG?

    原题
  29. How do you scale a RAG system to millions of documents?

    原题
  30. What is parent-child chunking, and how does it improve retrieval?

    原题
  31. Your RAG system is hallucinating despite having the right context. How do you fix it?

    原题
  32. Your RAG chunk overlap causes redundant results. How do you reduce redundancy?

    原题
  33. Your RAG retrieval is too slow with a large knowledge base. How do you speed it up?

    原题
  34. Your RAG system returns duplicate results. How do you deduplicate?

    原题
  35. Your RAG system needs per-user access control on internal documents. How do you implement it?

    原题
  36. Your RAG system fails on domain-specific jargon. How do you fix it?

    原题
  37. Your text-only RAG system now needs to handle images and tables. How do you extend it?

    原题
  38. Your RAG knowledge base gets updated frequently and needs versioning. How do you manage it?

    原题
  39. Your RAG system fails on multi-hop questions that require combining multiple facts. How do you fix it?

    原题
  40. Your enterprise RAG system returns contradictory answers from different source documents. How do you resolve conflicts?

    原题
  41. Your RAG system returns outdated answers from an evolving knowledge base. How do you keep it current?

    原题
  42. Your RAG system struggles with PDF documents containing tables and layouts. How do you fix PDF parsing?

    原题