mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-31 05:50:01 +00:00
updated mongodb.py from print to log add documentation for mongodb vector search module changed insert to update mongodb bug fix mongodb json object conversion error
1.2 KiB
1.2 KiB
| orphan |
|---|
| true |
MongoDB Atlas
MongoDB Atlas is a cloud database service that can be used as a vector store provider for Llama Stack. It supports vector search capabilities through its Atlas Vector Search feature, allowing you to store and query vectors within your MongoDB database.
Features
MongoDB Atlas Vector Search supports:
- Store embeddings and their metadata
- Vector search with multiple algorithms (cosine similarity, euclidean distance, dot product)
- Hybrid search (combining vector and keyword search)
- Metadata filtering
- Scalable vector indexing
- Managed cloud infrastructure
Usage
To use MongoDB Atlas in your Llama Stack project, follow these steps:
- Create a MongoDB Atlas account and cluster.
- Configure your Atlas cluster to enable Vector Search.
- Configure your Llama Stack project to use MongoDB Atlas.
- Start storing and querying vectors.
Installation
You can install the MongoDB Python driver using pip:
pip install pymongo
Documentation
See MongoDB Atlas Vector Search documentation for more details about vector search capabilities in MongoDB Atlas.