This repository contains a Python script that sets up an interactive query agent using the llama_index
library. The agent can query various data sources, including a population dataset and detailed information about Canada. It utilizes OpenAI's GPT-3.5 model to process and respond to user queries.
- Load and query a population dataset.
- Integrate with a custom note engine for additional querying capabilities.
- Access detailed information about Canada from a PDF document sourced from Wikipedia.
- Interactive command-line interface to input queries and receive responses.
- Utilizes
ReActAgent
fromllama_index
for reactive interaction.
- Python 3.7 or higher
pip
package manager
-
Clone the repository:
git clone https://github.com/yourusername/AI-Agent.git cd AI_Agent