Skip to content

An interactive AI chatbot for querying and discussing the contents of PDF documents using Streamlit and OpenAI/other AI language models.

License

Notifications You must be signed in to change notification settings

yesbhautik/Talk-with-PDF

Repository files navigation

PDF Chatbot with Custom Data 📄

An interactive AI chatbot for querying and discussing the contents of PDF documents using Streamlit and AI language models.

About the Project 🌟

This project provides a user-friendly interface to interact with AI language models and extract information from PDF documents. It's particularly useful for researchers, students, and professionals who need to quickly access and query the content of PDF files without manually skimming through pages.

The chatbot integrates with OpenAI's language models, making it capable of answering a wide range of questions and engaging in natural language conversations about the content within the uploaded PDFs.

Getting Started 🚀

To get started with this project, follow the steps below.

Prerequisites 🛠️

Before using the chatbot, ensure you have the following installed:

  • Python 3.x 🐍
  • pip (Python package manager) 📦

Installation ⚙️

  1. Clone the repository:

    git clone https://github.com/yesbhautik/Talk-with-PDF.git
  2. Navigate to the project directory:

    cd Talk-with-PDF
  3. Install the required Python packages using pip:

    pip install -r requirements.txt
  4. Copy .env.example to .env and set your OpenAI & Hugging Face API keys:

    cp .env.example .env

Usage 📋

  1. Run the chatbot using the following command:

    streamlit run app.py
  2. The chatbot interface will open in your default web browser 🌐

  3. Upload one or more PDF files for processing 📂

  4. Start a conversation by asking questions or making inquiries about the PDF content 💬

  5. The chatbot will provide responses based on the content of the uploaded PDFs 🧠

Features 🌈

  • Upload and process multiple PDF documents 📁
  • Query and discuss the contents of PDFs using natural language 💬
  • Integrates with powerful language models for accurate responses 💡
  • User-friendly web interface powered by Streamlit 🖥️

Contributing 🤝

Contributions are welcome! Please follow these steps to contribute to the project:

  1. Fork the repository🍴
  2. Create a new branch for your feature or bug fix 🌿
  3. Make your changes and commit them 💻
  4. Push your changes to your fork 🚀
  5. Create a pull request to the main repository 📥

🔥 Show some support | Donation

If you find this repository helpful, show your support by giving it a 🌟! Your support means a lot to me and helps me keep contributing to the open-source community.

Also, if you'd like to support me financially, you can do so via my donation link: https://go.yesbhautik.co.in/8i6wdu

Donate

💬 Let's Connect

Feel free to reach out to us if you have questions, ideas, or simply want to chat. We're here to help and connect with the community.

📜 License

This repository is under the MIT License. For more information, see the LICENSE file.

About

An interactive AI chatbot for querying and discussing the contents of PDF documents using Streamlit and OpenAI/other AI language models.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages