Chat-PDF is a Python application that enables users to interact with PDF documents using Google's Gemini AI model. Users can interact with PDF file and ask questions about its content, receiving intelligent responses.
- Upload and chat with PDF documents.
- Utilizes Google Gemini AI for natural language understanding.
- Secure API key storage using environment variables.
-
Clone the Repository:
git clone https://github.com/nipulrathod/Chat-PDF.git cd Chat-PDF -
Install Dependencies: Ensure you have Python installed. Install the required libraries:
pip install -r requirements.txt
-
Set Up Environment Variables:
- Create a
.envfile in the root directory. - Add your API key:
Replace
GEMINI_API_KEY=your_api_key_hereyour_api_key_herewith your actual Google Gemini API key.
- Create a
-
Run the Application:
python main.py