-
Launch two shells (can be windows CMD, Ubuntu, etc.)
-
Create a new virtual environment using conda(works with pip)
conda create --name water_chatbot_venv python=3.7
- Ensure that the virtual environment is activated
conda activate water_chatbot_venv
- In the terminal run the following command to install the required packages:
pip install -r requirements.txt
- Navigate to ./code and run the following command to train the rasa chatbot
rasa train
- In the same terminal navigate to ./code/actions and run the following command to start the actions server
rasa run actions
- In the other terminal, start the chatbot
rasa shell
- Start interacting with the Chatbot. Ask it questions regarding the safety of water data sites. a. See ./data/json/good_data_sites.json for example site names. b. Ask it questions like "fetch me the water data for {site_name}" or "is the water from {site name} safe to drink?". c. Other variations work as well due to the robustness of rasa.