👉 Try it here: smartbot-pdf-ai.streamlit.app
(Press Yes, get this app backup! & wait for a few seconds — due to free tier CPU limitations)
SmartBot PDF Assistant is an AI-powered PDF Q&A tool built using Streamlit and Gemini (Google’s state-of-the-art large language model). It allows users to interact with PDF documents in a conversational manner — upload your file, ask anything about it, and get accurate responses derived directly from the content.
- 📄 Upload and preview PDF documents
- 💬 Ask context-based questions about the uploaded PDF
- 🤖 AI responses powered by Gemini via Vertex AI or PaLM API
- 🧠 Maintains context during session for coherent conversations
- 🔐 No data stored – privacy-first approach
- 🌐 Web-based and accessible on any device
| Tool/Tech | Role |
|---|---|
| Streamlit | UI framework for Python web apps |
| Gemini API | AI model for answering PDF questions |
| PyMuPDF / PyPDF2 | PDF parsing and text extraction |
| Python | Core application logic and backend |
Coming Soon: UI snapshots and GIF demo
git clone https://github.com/vansh-121/SmartBot-PDF-Assistant.git
cd SmartBot-PDF-AssistantMake sure Python 3.8+ is installed.
pip install -r requirements.txtSet your Gemini/PaLM API key using an .env file:
GEMINI_API_KEY=your_api_key_herestreamlit run app.py