mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-31 14:10:00 +00:00
feat: adding mongodb vector_io module
updated mongodb sample run config
This commit is contained in:
parent
bfece15fb4
commit
ee981a0c02
6 changed files with 194 additions and 67 deletions
35
docs/source/providers/vector_io/mongodb.md
Normal file
35
docs/source/providers/vector_io/mongodb.md
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
---
|
||||
orphan: true
|
||||
---
|
||||
# MongoDB Atlas
|
||||
|
||||
[MongoDB Atlas](https://www.mongodb.com/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:
|
||||
|
||||
1. Create a MongoDB Atlas account and cluster.
|
||||
2. Configure your Atlas cluster to enable Vector Search.
|
||||
3. Configure your Llama Stack project to use MongoDB Atlas.
|
||||
4. Start storing and querying vectors.
|
||||
|
||||
## Installation
|
||||
|
||||
You can install the MongoDB Python driver using pip:
|
||||
|
||||
```bash
|
||||
pip install pymongo
|
||||
```
|
||||
|
||||
## Documentation
|
||||
See [MongoDB Atlas Vector Search documentation](https://www.mongodb.com/docs/atlas/atlas-vector-search/) for more details about vector search capabilities in MongoDB Atlas.
|
||||
Loading…
Add table
Add a link
Reference in a new issue