Welcome to the Chat with Multiple PDF project! This project aims to provide a comprehensive solution for chatting with multiple PDF documents, leveraging Streamlit for the web interface and advanced AI for generating responses from the content of the PDFs.
git clone https://github.com/vallirajasekar/Chat_with_Multiple_pdf.git
cd Chat_with_Multiple_pdf
Create a new Conda environment with Python 3.10.
conda create -p venv python==3.10 -y
Activate the Conda environment.
conda activate /Users/vallirajasekar/Desktop/gemini/CHAT_WITH_MULTIPLE_PDF/venv
Install the required dependencies.
pip install -r requirements.txt
Make sure to set up your Google API key. You can store it in a .env
file in the root directory of your project:
GOOGLE_API_KEY=your_api_key
Start the Streamlit application by running:
streamlit run app.py
- PDF Content Retrieval: Fetches and processes the content of multiple PDF documents.
- AI-Powered Chat: Generates responses based on the content of the PDFs using advanced AI.
- User-Friendly Interface: Provides an intuitive web interface for users to upload PDF files and chat with their content.
- User Input: Users upload multiple PDF documents.
- Content Retrieval: The application processes the PDF content.
- AI Chat: The content is analyzed, and responses are generated using advanced AI.
- Display Response: The generated responses are displayed to the user on the web interface.
This project utilizes the following technologies:
- Streamlit: An open-source app framework for Machine Learning and Data Science teams.
- PDF Processing Libraries: Python libraries to fetch and process PDF documents.
- Advanced AI: AI models for generating natural language responses.
Chat_with_Multiple_pdf/
│
├── app.py # Main application script
├── requirements.txt # Python dependencies
├── README.md # Project documentation
├── venv/ # Conda virtual environment directory
├── .env # Environment variables file
├── static/ # Directory for static files (if any)
├── templates/ # Directory for HTML templates (if any)
└── .git/ # Git version control directory
This project uses Git for version control. Below are some basic commands to get you started:
-
Initialize a new Git repository:
git init
-
Add files to the staging area:
git add .
-
Commit changes:
git commit -m "Initial commit"
-
Add a remote repository:
git remote add origin https://github.com/vallirajasekar/Chat_with_Multiple_pdf.git
-
Push changes to the remote repository:
git push -u origin main