Giter Site home page Giter Site logo

pdfchatbot's Introduction

PDF Chatbot

Welcome to PDF Chatbot, an interactive chat application that allows you to engage in conversations with your PDF documents. This application leverages Streamlit as the web framework and integrates seamlessly with various libraries for PDF processing, text splitting, embeddings, and conversational retrieval.

Installation

Clone the Repository:

git clone https://github.com/vitheshshetty00/pdfchatbot.git

Install dependencies using pip:

pip install -r requirements.txt

Set Up Environment Variables:

  • Create a .env file in the project's root directory.
  • Add the necessary environment variables following the structure in .env.example.

Usage

To use this chatbot, you need to have python installed on your system and then follow these steps

  1. Run the main application file from the terminal or command prompt:
    streamlit run main.py
  2. Upload a PDF file using the file uploader widget.
  3. Wait for the PDF to be processed.
  4. Once the PDF is processed, you can start interacting with the chatbot.
  5. You can also download the processed PDF by clicking on the download button.

Features

  • Dynamic Handling of PDF Sizes: PDF Chatbot efficiently processes PDFs of any size, adapting to the content length.
  • Responsive UI: Streamlit provides a user-friendly interface, making it easy to navigate and interact with the application.
  • Conversational Retrieval: Engage in natural language conversations with the chatbot, utilizing embeddings for meaningful response

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Enjoy chatting with your PDFs using PDF Chatbot!

pdfchatbot's People

Contributors

vitheshshetty00 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.