RAG for Everyone

← Back to interview questions

Chapter 8 Project90 min build

Project: Ingestion Release Auditor

Build a small release auditor that decides whether a candidate RAG index should publish, hold, review, or roll back.

What you will build

1 Model ingestion runs

Track mode, changed sources, failed sources, run id, index version, quality scores, rollback target, and stage versions.

2 Build release gates

Block publish when golden queries fail, access tests fail, stale chunks remain, or metadata is incomplete.

3 Recommend recovery

Choose retry, quarantine, review, hold, or rollback based on failure type.

4 Print an audit report

Return a concise report that an ingestion owner could use immediately.

← Interview QuestionsChapter 9 Lesson →