Open to software engineering roles

Search ⌘K Résumé

AI Learning / Building Blocks / Days 21-30

RAG and Knowledge Systems

Retrieval augmented generation connects models to private knowledge. Learn chunking, vector databases, hybrid search, reranking, metadata filters, GraphRAG, document parsing, and multimodal retrieval.

Intermediate 10 subtopics 10 daily blocks

Outcome

Design retrieval systems that parse documents, chunk intelligently, search hybrid indexes, rerank results, and cite grounded answers.

What to learn

  • Chunking strategies: fixed, semantic, structural, late chunking
  • Vector databases: Qdrant, Pinecone, Weaviate, pgvector, Chroma, Milvus
  • Hybrid search: BM25 plus vector search and reciprocal rank fusion
  • Query rewriting, expansion, and HyDE
  • Multi-hop retrieval and agentic retrieval
  • Reranking with Cohere, BGE, and Voyage-style models
  • Metadata filtering and structured retrieval
  • GraphRAG and knowledge-graph augmentation
  • Document parsing pipelines: Unstructured, LlamaParse, Docling
  • Multimodal RAG for images, tables, and charts

Daily study plan

  1. Day 21: Parse a PDF or Markdown document into clean text blocks.
  2. Day 22: Compare fixed, semantic, and structural chunking.
  3. Day 23: Store embeddings in pgvector or Qdrant and retrieve top-k chunks.
  4. Day 24: Add BM25 search and combine results with reciprocal rank fusion.
  5. Day 25: Add metadata filters for source, date, topic, and document type.
  6. Day 26: Add a reranker and compare answer quality.
  7. Day 27: Add query rewriting or HyDE for weak user questions.
  8. Day 28: Build citations and show which chunks supported the answer.
  9. Day 29: Explore GraphRAG or structured entity extraction.
  10. Day 30: Package the RAG app with a repeatable ingestion pipeline.

Practice builds

Personal knowledge-base RAGLaravel docs assistantPDF citation assistant

Resources

↑↓ move↵ openesc close