Find answers from the community

Home
Members
Sichedelic
S
Sichedelic
Offline, last seen 6 months ago
Joined September 25, 2024
Anyone had any luck with the SimpleMongoReader?
I get this error when attempting to following the example from https://github.com/jerryjliu/llama_index/blob/main/examples/data_connectors/MongoDemo.ipynb

documents = reader.load_data(db_name, collection_name, field_names, query_dict) TypeError: SimpleMongoReader.load_data() takes from 3 to 4 positional arguments but 5 were given
I have the latest from Pypi (llama-index 0.5.23.post1)

The only difference from the example in the notebook, to my code is that I am passing a URI to the constructor, rather than host and port
14 comments
L
S