This chatbot is conversational agent that informs user about the weather of a specific location throughout the world.
Table Of Contents
- Install dependencies
- Run the bot
- Run the django server
- Overview of the files
- Things you can ask the bot
Run:
pip install -r requirements.txt
Move to the chatbot folder cd chatbot
.
To train a model, use:
rasa train
Then, to run, first set up your action server in one terminal window:
rasa run actions
In another window, you can enable the api by running:
rasa run -m models --enable-api --cors "*" --debug
Note that
--debug
mode will produce a lot of output meant to help you understand how the bot is working under the hood. To simply talk to the bot, you can remove this flag.
Move to the django folder cd django_ui
.
To run the django server:
python manage.py runserver
Then, you can see your app at the url http://127.0.0.1:8000/
.
data/stories.md
- contains stories
data/nlu.md
- contains NLU training data
actions/actions.py
- contains custom action/api calls code
domain.yml
- the domain file, including bot response templates
config.yml
- training configurations for the NLU pipeline and policy ensemble
The bot currently has one skill. You can ask it to tell you the weather in a specific location.