easy

Design a RAG-Based Q&A Agent

Design an agent that answers questions over a large enterprise knowledge base by retrieving relevant documents, reasoning over them, and generating accurate answers with source citations. Consider chunking strategies, hybrid search (semantic + keyword), re-ranking, hallucination detection, and handling questions that span multiple documents.

Suggested time: 45 minutes

Loading the workspace...

About this problem

Design a production RAG agent that answers questions over an enterprise knowledge base with source citations, hybrid search, and hallucination detection.

What your design needs to cover

  • Freshness

  • Traceability

  • Cost

  • Hallucination control

  • Access control

Key challenges the editorial covers

Learn from other designs

Related problems

Guides