Academy › Projects › Project 1
Project 1: Enterprise RAG Assistant
Problem: employees waste hours searching HR, IT and compliance PDFs. Build a chatbot that answers only from company documents, with citations.
Architecture (flow):
User → Web UI → FastAPI → [Input Guardrail] → Query Rewriter → Hybrid Retriever (vector + keyword)
→ Re-ranker → LLM (grounded prompt) → [Output Guardrail: grounding + PII] → Answer + citations
Ingestion: Blob Storage → Document parser → Chunker → Embeddings → Azure AI Search index
Side: Langfuse tracing · Evals in CI · Feedback 👍👎 stored in DB
Step by step:
- Collect 10–20 sample PDFs (public HR policies work fine).
- Parse: use Azure Document Intelligence or
unstructuredto extract text and tables. - Chunk: 500–800 tokens with 10–15% overlap. Keep metadata (file, page, section, access group).
Checking your access…