Skip to content

Python-based intelligent chatbot system to find and book train tickets.

License

Notifications You must be signed in to change notification settings

PauloMFJ/Chatbot

Repository files navigation

Chatbot

Python-based intelligent chatbot system to find and book train tickets.

Libraries Used

  • 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.

Build Setup

# 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

License

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.

About

Python-based intelligent chatbot system to find and book train tickets.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published