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
-
Clone this repo
git clone https://github.com/technowhizz/Handbook-QA.git
-
cd into the repo
cd Handbook-QA
-
Install the python requirements
pip install -r requirements.txt
This will install Flask and Haystack -
Ensure you have
npm
installed on your machine -
cd into react
cd react
-
run
npm install
(this may take a while)
In order to run this app, you need to start the backend and the frontend.
# Make sure you are in the Handbook-QA folder (not the 'react' folder from the previous steps)
export FLASK_APP=app.py
flask run
# 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!