/ChatGPT-for-Your-PDFs-Talk-to-Docs-Like-Humans

Drowning in PDFs? Chat with Doc Genie, your AI-powered assistant who turns your documents into chat buddies! Ask questions, get summaries, and even complete tasks – all within a familiar chat window. ✨ Ditch the search bars and start talking!

Primary LanguagePythonMIT LicenseMIT

ChatGPT-for-Your-PDFs-Talk-to-Docs-Like-Humans

Welcome to ChatGPT-for-Your-PDFs-Talk-to-Docs-Like-Humans, a revolutionary tool that transforms your static PDF documents into interactive, conversational experiences. Utilizing the power of Streamlit and cutting-edge AI models from Google Generative AI, this application allows you to interact with your PDFs as if you were chatting with a human expert.

Features

  • Chat with PDFs: Ask questions and get answers extracted directly from your PDF documents.
  • Advanced AI Understanding: Integrates Google's Generative AI models for deep comprehension.
  • Customizable Interaction: Tailored conversation templates for nuanced and specific inquiries.

How It Works

  1. Upload Your PDFs: Simply upload your PDF documents into the application.
  2. Ask Questions: Type in your questions and the app will parse your PDFs to find relevant answers.
  3. Interactive AI: Get instant, contextual answers drawn from the content of your PDFs.

Quick Start

  1. Clone this repository.
  2. Install the dependencies using pip install -r requirements.txt.
  3. Run streamlit run app.py.
  4. Upload your PDF files in the Streamlit interface.
  5. Start interacting with your documents!

Installation

Make sure you have Python installed on your system. Then, install the necessary packages:

git clone https://github.com/yourusername/ChatGPT-for-Your-PDFs-Talk-to-Docs-Like-Humans.git
cd ChatGPT-for-Your-PDFs-Talk-to-Docs-Like-Humans
pip install -r requirements.txt

Usage

After installation, start the Streamlit app:

streamlit run app.py

Navigate to http://localhost:8501 in your web browser and follow the instructions on the screen.

Contributing

We welcome contributions of all kinds. Whether it's bug fixes, feature requests, or general feedback, please feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgements

  • Streamlit for the web app interface.
  • Google Generative AI for the AI models.
  • PyPDF2 and FAISS for document processing and indexing.