A Streamlit application that allows you to chat with your PDF documents using Google's Gemini AI model.
- Upload and process multiple PDF documents
- Interactive chat interface
- Real-time progress tracking during PDF processing
- Powered by Google's Gemini 2.5 Pro model
- Maintains conversation history
- Clone the repository:
git clone <your-repo-url>
cd <repo-name>
- Create and activate a virtual environment:
python3 -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
- Install dependencies:
pip install -r requirements.txt
- Create a
.env
file in the project root and add your Google API key:
GOOGLE_API_KEY=your_api_key_here
- Run the application:
streamlit run app.py
- Python 3.8+
- Google API key with access to Gemini models
- Required Python packages (see requirements.txt)
- Open the application in your browser (default: http://localhost:8501)
- Upload one or more PDF documents using the sidebar
- Click "Process PDFs" to analyze the documents
- Start chatting with your documents!
Make sure to keep your Google API key secure and never commit it to version control.