Skip to content

Week 05 — RAG fundamentals, caching, hexagonal

At a glance

Phase 2: RAG + Evals · Starts: Mon 26 Oct 2026 · Planned: 16h 45m

Build: Capstone: RAG v0 — ingest runbooks/postmortems into pgvector, naive dense retrieval behind a Retriever port

By day

Monday 26 Oct · 2h 00m

Tuesday 27 Oct · 2h 00m

Wednesday 28 Oct · 2h 00m

Thursday 29 Oct · 2h 00m

  • Agentic AI · 60 min · Vector databases: pgvector HNSW vs IVFFlat parameters (m, ef_construction, ef_search, lists) — build an index on 50k chunks and measure recall@10 vs latency → Vector databases: pgvector, Qdrant & friends · resource w05-ai-2
  • Java/Spring AI · 30 min · Spring AI VectorStore with PgVectorStore: configure dimensions, index type, metadata filters → RAG with Spring AI & pgvector · resource w05-java-1
  • Communication · 30 min · Idioms & phrasal verbs: Strategy metaphors: low-hanging fruit, moving parts → Week 05 drills · day 4 w05-comm-4

Friday 30 Oct · 2h 00m

Saturday 31 Oct · 3h 30m

Sunday 01 Nov · 3h 15m

  • System Design · 45 min · Written design: apply your AI system design framework to 'design an internal support chatbot' — requirements, data, model choice, eval plan, risks → AI system design interview framework · resource w05-sd-3
  • Architecture · 30 min · Write ADR 005 for capstone: hexagonal layout with retrieval, LLM and ticketing as ports → Hexagonal / clean architecture, ports & adapters · resource w05-arch-2
  • Staff+ · 30 min · Outline the capstone design doc (context, goals/non-goals, architecture, alternatives, risks, rollout) → Design docs & RFCs that get approved w05-staff-1
  • Communication · 30 min · Soft skills + weekly review: Facilitating a meeting → Week 05 drills · day 7 w05-comm-7
  • Review · 60 min · Explain-it-back: caching stampede mitigations + LSM vs B-tree in 3 min each; 20 flashcards on RAG vocabulary → Caching strategies w05-rev-1

By track

Track Tasks Time
Agentic AI 3 4h 00m
System Design 3 2h 15m
DSA 5 2h 15m
Architecture 2 1h 15m
Python 3 1h 00m
Java/Spring AI 2 1h 00m
Staff+ 1 30m
Communication 7 3h 30m
Review 1 1h 00m

End-of-week

  • Weekly retro written in docs/log/retros/ (template: retro)
  • Flashcards / explain-it-back done for this week's topics
  • Progress synced (close the daily GitHub issues)