Skip to content

khalil-ghali/chat-with-pdf

Repository files navigation

MKG Research Assistant - PDF-based Q&A

open AI version Open Source Version

MKG Research Assistant is a tool designed to facilitate question and answer interactions based on PDF documents. This application comes in two versions: a free version that utilizes the Falcon 7b open source model, and an advanced version that requires an OpenAI API key for enhanced performance. With MKG Research Assistant, you can extract valuable information from PDFs and ask questions about their content, obtaining relevant answers quickly and efficiently.

Prerequisites

Before you begin, ensure you have the following installed:

  • Python (3.9+ recommended)
  • Git
  • OpenAI API key (only required for the advanced version)

Installation

  1. Clone this repository to your local machine:

    git clone https://github.com/khalil-ghali/chat-with-pdf.git
    
  2. Navigate into the project directory:

    cd chat-with-pdf
  3. Install the necessary dependencies:

    pip install -r requirements.txt
  4. Run the app:

     streamlit run app.py

How to Get Started

  1. Upload your Document.
  2. Enter your API key.(Only if you chose the premium version. Key is not needed in the free version)
  3. Ask questions using any language you prefer.
  4. Get detailed, AI-generated answers also in the language you asked your question in. Isn´t that amazing :)
  5. Enjoy a smarter way to read PDFs!

Please Note that if you have a CUDA compatible graphic card, your app will run on GPU for faster processing, if you don't have it that's fine It will run on you CPU but a little slower.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages