Docs Menu
Docs Home
/
Atlas
/

MongoDB Vector Search Use Cases and Design Patterns

You can build AI features and applications by using MongoDB Vector Search. Use the following pages to learn how to implement common use cases and design patterns.

MongoDB Vector Search allows you to perform semantic search over text, images, multimodal, and other data types by indexing and searching over data that you've converted into vector embeddings.

To get started, see How to Perform Semantic Search Against Data in Your Atlas Cluster.

RAG allows you to combine language models with your own data by retrieving relevant context before generating responses. This pattern allows you to build AI applications that provide more accurate and domain-specific responses grounded in your custom data.

To learn more and get started, see Retrieval-Augmented Generation (RAG) with MongoDB.

You can also implement RAG locally, without the need for API keys from LLM providers. To learn more, see Build a Local RAG Implementation with MongoDB Vector Search.

MongoDB provides several features for building AI agents. As both a vector and document database, MongoDB supports various search methods for agentic RAG, as well as storing agent interactions in the same database for short and long-term agent memory.

To learn more and get started, see Build AI Agents with MongoDB.

To complete the tutorials on these pages, you must have the following:

Note

You can run MongoDB Vector Search queries by using any driver through the $vectorSearch aggregation stage. These tutorials include examples for a selection of drivers. Refer to the specific tutorial page for details.

Back

Use Compatible Views

On this page