Phase 2 · Agents & RAG / WEEK 12 OF 26

PDF Question Answering System

Build your first end-to-end Retrieval-Augmented Generation (RAG) application. By the end of the week, you will develop a PDF Question Answering System capable of ingesting documents, generating embeddings, retrieving relevant content, and answering questions using grounded information.

WEEKLY PROGRESS0 / 7
0% complete
All weeksCheck off each day to save your progress.
YOUR WEEKLY PLAN

The daily plan

01

Monday

Project Planning

Objective

  • Design the architecture of your PDF Question Answering system.

Architecture

  • PDF ↓ Text Extraction ↓ Chunking ↓ Embeddings ↓ Vector Store ↓ Retriever ↓ LLM ↓ Answer

Focus

  • System Components
  • Data Flow
  • Document Lifecycle
  • User Experience

Deliverable

  • RAG Architecture Diagram
  • Project Plan

Estimated Time

  • 90 Minutes
02

Tuesday

PDF Processing

Focus

  • Text Extraction
  • Metadata Extraction
  • Document Parsing
  • Content Cleaning

Create

  • PdfProcessor

Features

  • Load PDF
  • Extract Text
  • Normalize Content
  • Prepare for Chunking

Deliverable

  • Working PDF Text Extraction
03

Wednesday

Chunking & Embeddings

Focus

  • Chunk Size Selection
  • Chunk Overlap
  • Embedding Generation
  • Chunk Metadata
  • Create Pipeline
  • Document ↓ Chunks ↓ Embeddings ↓ Storage

Experiment with

  • 200 Token Chunks
  • 500 Token Chunks
  • 1000 Token Chunks

Deliverable

  • Chunking Strategy Notes
  • Embedding Pipeline
04

Thursday

Retrieval Layer

Focus

  • Similarity Search
  • Relevant Context Retrieval
  • Ranking
  • Result Selection
  • Pipeline
  • Question ↓ Embedding ↓ Vector Search ↓ Top Chunks ↓ Prompt Context

Deliverable

  • Retrieval Service Working
05

Friday

Grounded Question Answering

Focus

  • Prompt Construction
  • Context Injection
  • Grounded Responses
  • Source Citations
  • Prompt Template
  • Answer the question using ONLY the supplied context. Context: {chunks} Question: {question}

Deliverable

  • Question Answering Layer Complete
06

Saturday

Build the Complete System

Project

  • PDF Question Answering System

Required Features

  • Upload PDF
  • Extract Text
  • Chunk Content
  • Generate Embeddings
  • Store Embeddings
  • Retrieve Relevant Chunks
  • Answer Questions
  • Display Sources

Architecture

  • PDF ↓ Processor ↓ Chunks ↓ Embeddings ↓ Retriever ↓ Prompt ↓ LLM ↓ Answer + Sources

Stretch Goals

  • Multiple PDFs
  • Document Categories
  • Search History
  • Response Feedback
  • Conversation History

Deliverable

  • End-to-End RAG System Working
07

Sunday

Documentation & Portfolio Preparation

GitHub Tasks

  • Clean Repository
  • Add README
  • Add Screenshots
  • Add Architecture Diagram
  • Add Setup Guide
  • Add Usage Guide
  • Add Future Improvements
  • Create Portfolio Entry
  • Project Name: PDF Question Answering System Skills Demonstrated: - RAG - Embeddings - Semantic Search -
  • Vector Retrieval - Prompt Engineering - ASP.NET Core

Deliverable

  • Portfolio-Ready Project

Weekly Review Questions

  • 1. What are the major components of a RAG system?
  • 2. What role do embeddings play in retrieval?
  • 3. Why is chunking important?
  • 4. How does grounding improve response quality?
  • 5. How would you scale this system for enterprise use?

Weekly Deliverables

  • RAG Architecture Diagram
  • PDF Processing Module
  • Chunking Pipeline
  • Embedding Pipeline
  • Retrieval Service
  • Grounded QA Service
  • PDF Question Answering System
  • GitHub Portfolio Project
WEEK 12 OUTCOMES

Success criteria

Track the skills and outcomes this week is designed to build.

WEEK 12 CHECKPOINT

Milestones

Mark the portfolio artifacts and deliverables you’ve completed.

YOUR WORKSPACE

Week notes

Capture questions, decisions, or next steps as you work.

Saved in this browser

Weekly activities adapted from the Week 12 workbook. Learning resource links open in a new tab.