DoclingMdQueryEngine

DoclingMdQueryEngine(**kwargs)

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.

Parameters:
NameDescription
**kwargs

Instance Methods

add_docs

add_docs(*args, **kwargs) -> 

Call self as a function.

Parameters:
NameDescription
*args
**kwargs

establish_db

establish_db(*args, **kwargs) -> 

Call self as a function.

Parameters:
NameDescription
*args
**kwargs

get_collection_name

get_collection_name(*args, **kwargs) -> 

Call self as a function.

Parameters:
NameDescription
*args
**kwargs

query

query(*args, **kwargs) -> 

Call self as a function.

Parameters:
NameDescription
*args
**kwargs

validate_query_index

validate_query_index(*args, **kwargs) -> 

Call self as a function.

Parameters:
NameDescription
*args
**kwargs