Project 3: Conversational Interface
Group Members: Jiapeng Liu, Ka Wong, Tomi Inouye
GitHub repository: https://github.com/liujjpp/nlp-proj3
Rasa is used in this project, therefore, the module uvloop
is needed. uvloop
is only supported on Linux or Mac machines, so please install the project one of the so said machines to be able to install all dependencies. The alternative is to run a linux system on a virtual machine to install this project.
- Python 3
- Pip 3
- Mac or Linux machine
$ pip3 install virtualenv
$ virtualenv -p python3 venv
$ source venv/bin/activate
$ pip install -r requirements.txt
To start chatting with the rasa bot, run rasa shell
, otherwise to retrain the rasa bot using modified data from /data/*
, run rasa train
.
Keep in mind to also run rasa run actions
in a separate tab within your virtualenv so the custom actions for retrieving the recipe and parsing entities from user messages for custom responses are active. The command creates a webserver on port 5055
and listens for calls to /webhook
by the bot to perform the custom actions.