This project shows my journey in exploring LLAMA and RAG. Here, I create a basic agent with a set of tools: a note writer and a PDF reader. The agent can also analyze CSV data about BTC prices over the last 14 years. Data about all cryptocurrencies was taken from Kaggle.
md_noter
: Makes and saves notes.pdf_reader
: Creates a vector database and provides data from PDFs.
Clone this repository to your local machine using:
git clone https://github.com/rifolio/LLAMA-RAG-Agent.git
Navigate to the project directory and set up a virtual environment by running:
python3 -m venv ai
Activate the virtual environment using:
source ai/bin/activate
Install the project dependencies using pip:
pip3 install -r requirements.txt
The requirements.txt
file contains the following packages:
python-dotenv
pandas
llama-index
llama-index-experimental
pypdf
.env:
OPENAI_API_KEY=
Once the dependencies are installed, you can run the project using:
python3 main.py