Ruzakiff / pdf-analyze-streamlit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Logo

PDF Analyzer App

PDF Analyzer App is a question-answering application that allows users to upload documents (PDF or TXT) and ask questions related to the content of those documents. The app utilizes various retrievers such as similarity search and support vector machines to provide relevant answers.

Features

  • Upload PDF or TXT documents
  • Choose the type of retriever: Similarity Search or Support Vector Machines
  • Generate sample question-answer pairs based on the uploaded documents
  • Ask questions related to the content of the uploaded documents
  • Get answers from the app using the selected retriever method

Installation

Clone this repository:

git clone https://github.com/your_username/retrievalqa-app.git
cd retrievalqa-app

Create a virtual environment and install the required packages:

python -m venv venv
source venv/bin/activate  # For Windows: venv\Scripts\activate
pip install -r requirements.txt

Usage

To run the app, simply execute the following command:

streamlit run qa_app.py

After running the command, you can access the app through your web browser using the provided URL.

Developed by Mehmet Balioglu

About

License:GNU General Public License v3.0


Languages

Language:Python 100.0%