Mongo DB Query Engine
MongoDBQueryEngine
for
retrieval-augmented question answering over documents. It shows how to
set up the engine with Docling parsed Markdown files, and execute
natural language queries against the indexed data.
The MongoDBQueryEngine
integrates cloud MongoDB Atlas vector storage
with LlamaIndex for efficient document retrieval.
MongoDBQueryEngine
you can specify a collection_name
and
database_name
to ingest into.
init_db
will overwrite the existing collection with the same name.
connect_db
to avoid overwriting the existing collection.