/chat_with_pdf

Primary LanguageJupyter Notebook

Chat with Multiple PDF files

Building an end-to-end Language Model (LLM) project integrating Google Palm and Langchain for interaction with a PDf files,In today's digital age, managing multiple PDFs efficiently is a common necessity for professionals across various fields. Whether you're a student, researcher, or businessperson, effectively organizing, accessing, and manipulating PDF files can significantly enhance productivity and workflow. This short guide aims to provide essential tips and tools for managing multiple PDF documents seamlessly.

  1. User Interaction: Users can interact with the system using natural language queries about PDF file we upload . For example:

    • "Summarize the text"
  2. Language Understanding: Utilize the language model (Google Palm) to parse and understand the user's input. Extract key information such as the summarization, about specific topic in the pdf file.

Installation

1.Clone this repository to your local machine using:

  git clone https://github.com/Vampaxx/chat_with_pdf.git

2.Navigate to the project directory:

  cd 'project directory'
  1. Install the required dependencies using pip:
  pip install -r requirements.txt

4.Acquire an api key through makersuite.google.com and put it in .env file

  GOOGLE_API_KEY="your_api_key_here"

DEMO WORKING

chat_pdf.mp4

Usage

  1. Run the Streamlit app by executing:
streamlit run app.py

2.The web app will open in your browser where you can ask questions. It in the localHost