Skip to content

Conversation

ashwin-gangadhar-mdb
Copy link

What does this PR do?

feat: Adding support for MongoDB Atlas vector store and vector search
note:This PR adds support for MongoDB Atlas vector search as vector_io remote module. This feature is developed by using the pymongo python drivers to interact with the mongodb. The remote vector_io provider can be configured easily by setting the following env variable MONGODB_CONNECTION_STR, MONGODB_NAMESPACE(i.e. db_name.collection_name).

Test Plan

have passed the unit test and also the integration test using the ollama LLM, Embedding model and rag/knowledge_search setting

Below attached is my integration test logs, test_mongodb.ipynb notebook and test_mongodb.py script.
test_mdb_conn.tar.gz

@ashwin-gangadhar-mdb
Copy link
Author

@ashwinb, can you pls help here

@raghotham
Copy link
Contributor

Can you take a look at the test failures?

@ashwin-gangadhar-mdb
Copy link
Author

ashwin-gangadhar-mdb commented Apr 3, 2025

Can you take a look at the test failures?
Can you re trigger the unit tests. I have resolved the config method name which was failing the test_config.py unit test

updated mongodb sample run config
@ashwin-gangadhar-mdb
Copy link
Author

@raghotham can you pls re run the unit test pipeline. it was name mismatch with the test_config.py

Copy link
Contributor

github-actions bot commented Jun 4, 2025

This pull request has been automatically marked as stale because it has not had activity within 60 days. It will be automatically closed if no further activity occurs within 30 days.

@github-actions github-actions bot added the stale label Jun 4, 2025
@nathan-weinberg
Copy link
Contributor

@ashwin-gangadhar-mdb you might consider creating an external provider: https://llama-stack.readthedocs.io/en/latest/providers/external.html

@ashwin-gangadhar-mdb
Copy link
Author

@nathan-weinberg thanks for sharing. This is very helpful.

@github-actions github-actions bot removed the stale label Jul 3, 2025
@ashwinb ashwinb closed this Jul 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot. new-in-tree-provider

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants