Abekus — AI learning and job matching platform logo

MongoDB for AI: Vector Search & RAG

  • 94 lessons
  • About 10 hours
  • Self-paced
0%Complete
Guided Mode

Start with lesson 1

94 lessons. The first one is free, no signup needed.

🗺️ Your learning path
Embedding Basics
Document Design for Vectors

What you'll learn

  • Store embeddings in MongoDB documents and define vector search indexes with the right dimensions, similarity metric and filter fields
  • Write $vectorSearch queries: tune numCandidates against limit, choose approximate or exact search, and read vectorSearchScore
  • Filter vector queries correctly, and know when a pre-filter in the index beats a $match after the search
  • Keep embeddings current with change streams and backfills, and avoid mixed model versions and dimension mismatches
  • Combine full-text and vector results with $search and $rankFusion, and rerank retrieved documents with Voyage AI
  • Build RAG retrieval, agent memory and a semantic cache on MongoDB, and size vector search for production with quantization and search nodes

About this course

Most AI apps need a place to keep their data and a way to find the right piece of it for a prompt. MongoDB can do both in one database: the documents your app already stores can carry embeddings, and $vectorSearch finds the closest ones in the same aggregation pipeline as the rest of your query. This course teaches that stack one small idea at a time, with a quiz after every lesson.

Jobs that ask for MongoDB

21 live openings list MongoDB as a required skill.

See all MongoDB jobs ›
Learning path

MongoDB Mastery

A three-course MongoDB path in MCQ practice. Start with MongoDB: documents, queries, updates, data modeling, indexes, aggregation and using MongoDB from Node.js. Then MongoDB for AI covers vector search indexes, $vectorSearch, hybrid search and retrieval for RAG apps. MongoDB Architecture & Scaling Mastery goes deep on replication, sharding, transactions, the storage engine, query tuning and security.

3 courses·3,800 practice MCQs·36.5h of content

Frequently asked questions