Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do?
This pull request adds support for MongoDB Atlas as a remote vector database provider to Llama Stack, enabling cloud-native vector search functionality. The changes introduce configuration, documentation, and integration for MongoDB Atlas Vector Search across the codebase, including distribution templates, provider registry, and sample configurations.
MongoDB Atlas Vector Search Integration
remote::mongodb
as a supported vector database provider in distribution build/run YAML files for starter, starter-gpu, and CI-tests, allowing MongoDB Atlas to be used for vector storage and search. [1] [2] [3] [4] [5] [6]MongoDBVectorIOConfig
. [1] [2] [3] [4]Provider Implementation
llama_stack/providers/remote/vector_io/mongodb
, including adapter loading logic and a pydantic-based configuration class for connection and search options. [1] [2]Documentation
Provider Registry
llama_stack/providers/registry/vector_io.py
, including metadata, pip dependencies, and a detailed description for discoverability.Miscellaneous
Test Plan
Example RAG with response API
Get MongoDB connection key and Fireworks API key
Run llama-stack server with Fireworks API
--> Result
MongoDB Atlas

llama_stack.vs_f09d3c4b_0163_43b2_8f49_d6701643cf7a
collection