This project implements a multi-document agent using the LlamaIndex framework. It is designed to manage document-specific agents that can perform QA and summarization tasks within individual documents, as well as a top-level agent that orchestrates queries across these document agents.
- Document-Specific Query Handling: Each document has a dedicated agent capable of answering queries specific to its content.
- Top-Level Query Orchestration: A top agent manages interactions across multiple document agents.
- Reranking and Query Planning: Utilizes advanced features like reranking during document retrieval and dynamic query planning for efficient information retrieval.
- Python 3.7 or higher
- pip
-
Clone the repository:
git clone https://github.com/yourusername/llamaindex-multi-document-agent.git cd llamaindex-multi-document-agent
-
Install dependencies::
pip install -r requirements.txt
To run the agent, navigate to the project directory and execute:
python main.py
Modify the src/config.py to set the necessary API keys and parameters.