This engine stores ingested documents in memory and then injects them into an internal agent’s system message for answering queries. This implements the autogen.agentchat.contrib.rag.RAGQueryEngine protocol.Parameters:
Add additional documents to the in-memory storeLoads new Docling-parsed Markdown files from a specified directory or a list of file paths
and inserts them into the in-memory store. Parameters:
Name
Description
new_doc_dir
The directory path from which to load additional documents.
If provided, all eligible files in this directory are loaded.
Type: pathlib.Path | str | None
Default: None
new_doc_paths_or_urls
A list of file paths specifying additional documents to load.
Each file should be a Docling-parsed Markdown file.