Skip to content

Using state-of-the-art AI in Question Answering. Makes use of dense passage retrievers and FAISS stores. Built with React and Flask

License

Notifications You must be signed in to change notification settings

technowhizz/Handbook-QA

Repository files navigation

Handbook-QA

Handbook-QA is the result of a Final Year Project at The University of Manchester. It makes use of the Haystack Python Library, Flask and React to provide an interface to search through documents to provide an answer using Natural Language Processing based Question Answering.

This project makes use of a Dense Passage Retriever and FAISS for Question Answering.

Different Evaluations can be found in the Evaluation-Notebooks folder

Installation

  1. Clone this repo git clone https://github.com/technowhizz/Handbook-QA.git

  2. cd into the repo cd Handbook-QA

  3. Install the python requirements pip install -r requirements.txt This will install Flask and Haystack

  4. Ensure you have npm installed on your machine

  5. cd into react cd react

  6. run npm install (this may take a while)

Running the App

In order to run this app, you need to start the backend and the frontend.

Start the backend

# Make sure you are in the Handbook-QA folder (not the 'react' folder from the previous steps) 
export FLASK_APP=app.py
flask run

Start the frontend (In another terminal session)

# Make sure you are in the Handbook-QA folder
cd react
npm start

You can now ask questions from the browser that just opened up (http://localhost:3000)

Enjoy!

About

Using state-of-the-art AI in Question Answering. Makes use of dense passage retrievers and FAISS stores. Built with React and Flask

Resources

License

Stars

Watchers

Forks

Packages

No packages published