Retrieval-Augmented Generation (RAG) Based Ai.
Clone the project
git clone git@github.com:DevDotAli/Ragsys.gitGo to the project directory
cd RagsysInstall dependencies
pip install -r requirements.txtStart the server
python ./main.pyTo run this project, you will need to add the following environment variables to your .env file
GENAI_API_KEY: Google gemini key.
HFE_API_KEY: Hugging Face api key for emmbedding model.
Step 1: Put your PDF in docs folder.
Step 2: Rename your PDF as example.pdf or it wont work.
Step 3: Run main.py file.
Step 4: Ask Questions about the PDF in terminal.