You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a problem when trying to run the MongoDB Vectorstore component, it trows an exception of: "Please install pymongo to use MongoDB Atlas Vector Store" . But the actual problem is "ImportError: cannot import name '_get_object_size' from 'bson' (/home/joao/YAITEC/langflow/langflow-3-12/env/lib/python3.12/site-packages/bson/init.py)", so my guess is that there is a conflict between the internal bson of pymongo and the bson package itself set in the poetry environment.
Checking the code I think this might be related with #3607
Reproduction
Get a simple RAG template
Place the MongoDB Vectorstore as the Vectorstore
Set some configuration parameters (connection string, etc)
Run the Flow and check the error
Expected behavior
The Data should be ingested in the MongoDB Atlas environment as new documents in the choose collection.
Here is an example that I did with Langflow some time ago: .
Bug Description
There is a problem when trying to run the MongoDB Vectorstore component, it trows an exception of: "Please install pymongo to use MongoDB Atlas Vector Store" . But the actual problem is "ImportError: cannot import name '_get_object_size' from 'bson' (/home/joao/YAITEC/langflow/langflow-3-12/env/lib/python3.12/site-packages/bson/init.py)", so my guess is that there is a conflict between the internal bson of pymongo and the bson package itself set in the poetry environment.
Checking the code I think this might be related with #3607
Reproduction
Expected behavior
The Data should be ingested in the MongoDB Atlas environment as new documents in the choose collection.
Here is an example that I did with Langflow some time ago: .
Who can help?
No response
Operating System
Ubuntu Linux 22.04
Langflow Version
1.0.18
Python Version
3.12
Screenshot
Flow File
Vector Store RAG - MongoDB.json
The text was updated successfully, but these errors were encountered: