Chapter 9 / 16

Embeddings and Vector Databases

Intermediate 3โ€“4 h ยท Prerequisites: Prompt Engineering and Structured Output

Learning objectives

  • Explain embedding models and similarity measures
  • Compare exact and approximate nearest-neighbour search (HNSW)
  • Store and query embeddings with pgvector or a vector database

In preparation

This chapter is being written and technically reviewed. Until then only its learning objectives are shown; it cannot be marked as completed.

Planned labs: Creating a semantic search engine (project)