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.
Before you begin, ensure you have the following installed:
- Python (3.9+ recommended)
- Git
- OpenAI API key (only required for the advanced version)
-
Clone this repository to your local machine:
git clone https://github.com/khalil-ghali/chat-with-pdf.git
-
Navigate into the project directory:
cd chat-with-pdf
-
Install the necessary dependencies:
pip install -r requirements.txt
-
Run the app:
streamlit run app.py
- Upload your Document.
- Enter your API key.(Only if you chose the premium version. Key is not needed in the free version)
- Ask questions using any language you prefer.
- Get detailed, AI-generated answers also in the language you asked your question in. Isn´t that amazing :)
- Enjoy a smarter way to read PDFs!