Python-based intelligent chatbot system to find and book train tickets.
- Flask and Socket.IO - Using Python for UI.
- spaCy - Natural Language Processing and Understanding (NLPU) component.
- PyKnow - Knowledge-Base (KB) and Reasoning Engine (RE) component.
- Beautiful Soup - Web scraping component for retrieving ticket information.
Additionally used HTML, CSS, JavaScript, JQuery and JSON.
# Create virtual environment
python -m venv venv/
./venv/scripts/activate
# Install dependencies
pip install -r requirements.txt
# Run app (through server)
python app.py
# Run app (locally)
$env:FLASK_APP = "chatbot/app.py"
python -m flask run
# Install new dependency (Warning: freeze updates how en_core_web_sm is imported, keep current format if updated)
python -m pip install ...
python -m pip freeze > requirements.txt
# See whats installed
pip list
This project is licensed under the MIT License. See the LICENSE file for further details.
Contents of this site by Paulo Jorge. All rights reserved.