Embeddings & Vector Databases
Understand how text becomes numbers, how vector databases store and search meaning, and build a semantic search pipeline from scratch.
By Bishwambhar Sen • Last updated
What you'll learn
Embeddings & Vector Databases is an intermediate-level course of 8 lessons organised into 3 modules, with an estimated workload of ~10 hours. The course works towards building a high-performance vector similarity search engine. It moves through Understanding Embeddings, Vector Databases, and Building Semantic Systems. The course is made up of 7 interactive lessons and 1 project lesson, and 3 lessons include a Python editor that runs in your browser.
Understanding Embeddings
- What Are Embeddings? Text as Vectors: Understand how embedding models map words, sentences, and documents to points in high-dimensional space — and why proximity in that space means semantic similarity.
- Generating Embeddings with APIs: Call the OpenAI and Anthropic embedding APIs, inspect the raw vectors, and compute cosine similarity between sentences by hand.
- Choosing the Right Embedding Model: Compare embedding model families by dimension count, context length, cost, and benchmark performance. Know when to use a hosted API vs. a local model like nomic-embed.
Vector Databases
- Vector Database Fundamentals: Learn what a vector database is, how it differs from a relational database, and get hands-on with ChromaDB — the most learner-friendly vector store.
- Similarity Search: ANN & Distance Metrics: Explore cosine similarity, dot product, and Euclidean distance. Understand why Approximate Nearest Neighbor (ANN) search is essential at scale.
- HNSW Indexing & Performance Trade-offs: Understand the Hierarchical Navigable Small World (HNSW) algorithm that makes billion-scale vector search feasible. Learn the recall vs. speed trade-off.
Building Semantic Systems
- Building a Semantic Search Pipeline: Wire together an embedding model and a vector database into a complete semantic search system: ingest documents, embed them, and retrieve by meaning — not keywords.
- Capstone — Document Intelligence System: Build an end-to-end document intelligence system that ingests a PDF, chunks it, embeds every chunk, stores them in ChromaDB, and answers natural language questions over the content.
Hands-on project in this course: Capstone — Document Intelligence System.
3 modules also include a recommended video from 3Blue1Brown, IBM Technology, and James Briggs, embedded below the lesson list.
Prerequisites
This course is listed as intermediate level. The catalog is ordered as a progression, so it is easiest to follow after AI Fundamentals: From Zero to Your First Model and Context Engineering & Agent Orchestration. If you already know that material, you can start here directly.
The course ends with a short quiz; passing it earns the Embeddings & Vector Databases badge.
Curriculum
Course Quiz
5 questions · ~5 min · Pass 4/5 to unlock your badge