PDF Chatbot Pro is an application that allows you to chat with multiple PDF documents using Langchain and Google Gemini Pro. It uses large language models to process natural language queries and extract information from the provided PDF documents.

Follow these steps to set up PDF Chatbot Pro:
Clone the Repository:
git clone <repository_url>
cd pdf-chatbot-pro
Create a .env file:
In the root directory of the project, create a .env file and add the following variables:
GOOGLE_API_KEY=your_google_api_key
Install Dependencies:
Install the required Python packages from the requirements.txt file:
pip install -r requirements.txt
Place PDF Documents:
Place your PDF documents in the specified directory (e.g., pdf_documents/) to allow the application to access them.
Modify the app.py file:
Adjust any configuration settings in the app.py file to match your setup.
Run the application:
Start the application using Streamlit:
streamlit run app.py
Interact with the application:
Use the provided user interface to input natural language queries and chat with the PDF documents.
streamlit: For creating a user-friendly interface for the application.google-generativeai: For interacting with Google Gemini Pro.python-dotenv: For loading environment variables from the .env file.langchain: For enabling natural language processing and conversational AI capabilities.PyPDF2: For reading and manipulating PDF documents.chromadb: For managing and querying vectors in a database.faiss-cpu: For efficient vector similarity search.langchain_google_genai: For integrating Langchain with Google Gemini Pro.langchain-community: For additional Langchain-related functionality..env file are correct and up to date.Contributions are welcome! Please submit a pull request with your changes.
This project is licensed under the MIT License.