Module 04 of 06 · Outline
Embeddings, Vector Databases & Semantic Search
Retrieve relevant context from documents using vector and keyword search.
Learning outcome: A small retrieval pipeline with measurable search quality and traceable source passages.
Lesson outline
Lesson 4.1
Embedding fundamentals
- Vector representations and similarity
- Choosing a consistent embedding model
- Document and query embeddings
Lesson 4.2
Indexing documents
- Chunk size, overlap, and document boundaries
- Metadata, source identifiers, and filters
- Vector index insertion, updates, and deletion
Lesson 4.3
Retrieval quality
- Top-k search and relevance thresholds
- Hybrid keyword and semantic retrieval
- Evaluation questions and source attribution
Practice assignment
Search your project documentation
- Index a small set of non-sensitive project documents.
- Return relevant passages with source identifiers.
- Compare retrieval results for ten questions at two chunk sizes.
Deliverable: An indexing script, a search demo, and a comparison of retrieval quality.
Independent practice · no submission or grading