RAG and vector search

Work through each chapter, practice the ideas, and finish its challenge.

— XPLoading progress…
← All courses

7 chapters · 42 lessons · 0 completed

R1Embeddings for search0/6 lessons complete

Rank documents by dot product, cosine and L2 distance and explain the role of normalization and model choice.

  1. R1.1Query and document encoders
  2. R1.2Dot product
  3. R1.3Cosine similarity
  4. R1.4L2 distance
  5. R1.5Dimensions and storage
  6. R1.6Retrieval evaluation
R2Nearest-neighbor search0/6 lessons complete

Implement an exact baseline, compute recall at k and explain approximate search and high-dimensional difficulty.

  1. R2.1Exact search
  2. R2.2Top-k selection
  3. R2.3Recall at k
  4. R2.4High dimensions
  5. R2.5Trees and hashing
  6. R2.6Approximation tradeoffs
R3Graph and cluster indexes0/6 lessons complete
R4Vector compression0/6 lessons complete
R5Vector databases0/6 lessons complete
R6Chunking and ingestion0/6 lessons complete

Create source-traceable chunks, calculate overlap and explain ingestion choices that preserve answer-bearing context.

  1. R6.1Parsing and structure
  2. R6.2Fixed-size chunks
  3. R6.3Overlap
  4. R6.4Semantic boundaries
  5. R6.5Metadata and contextual headers
  6. R6.6Incremental ingestion
R7Better retrieval and RAG0/6 lessons complete

Fuse rankings, rerank evidence and evaluate retrieval separately from grounded answer generation.

  1. R7.1Lexical and dense search
  2. R7.2Hybrid fusion
  3. R7.3Rerankers
  4. R7.4Query transformation
  5. R7.5Grounding and citations
  6. R7.6Retrieval metrics