ChromaDB Query Engine for document queries
ChromaDBQueryEngine
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 ChromaDBQueryEngine
integrates persistent ChromaDB vector storage
with LlamaIndex for efficient document retrieval.
You can create and add this ChromaDBQueryEngine to
DocAgent
to use.
OPENAI_API_KEY
to be in your
environment variables. See our
documentation
for guidance.
ChromaDBQueryEngine
you can specify a collection_name
to ingest
into.
connect_db
cell.
init_db
will overwrite the existing collection with the same name.
connect_db
to avoid overwriting the existing collection.