feat: Adding support for MongoDB Atlas vector store and vector search #1603
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?
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