This is a question and answering system that scrapes paragraphs from web pages, indexes them using Elasticsearch, and leverages the power of semantic search and natural language understanding to provide relevant answers to user queries.
- Web scraping using Beautiful Soup
- Document indexing with Elasticsearch
- Semantic Search with result sources
- Extractive Question Answering
qa-ml-system-demo.mp4
This project built using Python 3.10.4
python -m venv venv
# Linux / MacOS
source venv/bin/activate
# Windows
.\venv\Scripts\activate
pip install -r requirements.txt
docker-compose up -d build
Kibana link http://localhost:5601 The Flask application should be accessible at http://localhost:5001.
The first time you will need to add the index for storing the documents
python /data-import/create_index.py
To import some sample pages you can run
python /data-import/webpages.py