PrepCity

Design a RAG assistant over company documents

Open the lab

By the last page, this is the design you will have built.

Lesson · 11 pages · about 9 min

Design a RAG assistant over company documents

The interviewer says: “Design a ChatPDF for our company.” Staff ask questions and get answers from the shop’s own documents, with sources. The hard parts: the parse-chunk-index pipeline, never showing anyone a document they cannot open, keeping answers fresh when documents change, and evaluating each part with the RAG triad.

Words you’ll learn

  • Model weights
  • Stale read
  • RAG
  • Chunk
  • Permission
  • API
  • Citation
  • Hybrid RAG
  • Re-ranker
  • Query rewriting

Page by page