A RAG-based chatbot that lets you upload any PDF and ask questions about it. Powered by Google Gemini and LlamaIndex.
- Upload any PDF (notes, textbook chapters)
- Ask questions in natural language
- Answers grounded in your document
- Chat history within session
- LLM: Google Gemini 2.5 Flash
- RAG: LlamaIndex
- Embeddings: BAAI/bge-small-en-v1.5
- UI: Streamlit
python3 -m venv venv source venv/bin/activate pip install -r requirements.txt
Create a .env file and add your Gemini API key: GOOGLE_API_KEY=your_key_here
streamlit run app.py