Month 3 Capstone1 Code Files
Month 3 Capstone Project: Enterprise Hybrid RAG Engine
Month 3 Capstone Project: Enterprise Hybrid RAG Engine
Blueprint Alignment: Project 3 of the 6-Month Staff AI Engineering Curriculum (
ai-engineering-6-projects-blueprint.md) Production Capabilities:
- Structure-Aware & Contextual Ingestion (
Week 9): Parses Markdown headers/tables, builds[Context: doc=... | section=...]enriched chunks, and caches embeddings viaSHA-256content hashing.- Security & PII Shield (
Week 12): Scrubs PII ([REDACTED_EMAIL],[REDACTED_SSN],[REDACTED_API_KEY]) and quarantines Indirect Prompt Injection payloads inside untrusted documents.- Two-Stage Hybrid Retrieval (
Weeks 10 & 11): CombinesSQ8Quantized RBAC-Pre-Filtered Vector Search withOkapi BM25via Reciprocal Rank Fusion (RRF, ), followed by Cross-Encoder Reranking and Lost-in-the-Middle Edge Packing.- Corrective RAG (
CRAG) + Verbatim Citation Verification + Tenant-Isolated Semantic Cache (Week 12): Evaluates retrieval confidence before generation, verifies every cited quote deterministically, and caches verified responses per(tenant_id, role, corpus_version).