Academy › Projects › Project 1

Project 1: Enterprise RAG Assistant

BeginnerWeek 1FastAPIAzure AI SearchRAGASLangfuse

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:

  1. Collect 10–20 sample PDFs (public HR policies work fine).
  2. Parse: use Azure Document Intelligence or unstructured to extract text and tables.
  3. Chunk: 500–800 tokens with 10–15% overlap. Keep metadata (file, page, section, access group).

Checking your access…