docling_query_engine
autogen.agents.experimental.document_agent.docling_query_engine.DoclingMdQueryEngine
DoclingMdQueryEngine
This engine leverages Chromadb to persist document embeddings in a named collection
and LlamaIndex’s VectorStoreIndex to efficiently index and retrieve documents, and generate an answer in response
to natural language queries. The Chromadb collection serves as the storage layer, while
the collection name uniquely identifies the set of documents within the persistent database.
Initializes the DoclingMdQueryEngine with db_path, metadata, and embedding function and llm.
Name | Description |
---|---|
**kwargs |
Instance Methods
add_docs
Call self as a function.
Parameters:Name | Description |
---|---|
*args | |
**kwargs |
establish_db
Call self as a function.
Parameters:Name | Description |
---|---|
*args | |
**kwargs |
get_collection_name
Call self as a function.
Parameters:Name | Description |
---|---|
*args | |
**kwargs |
query
Call self as a function.
Parameters:Name | Description |
---|---|
*args | |
**kwargs |
validate_query_index
Call self as a function.
Parameters:Name | Description |
---|---|
*args | |
**kwargs |