Practice – building a weather forecast chatbot
Here, we consolidate the knowledge we have learned so far and build a demo project on a chatbot that can forecast the weather.
Let's talk about the functions of this bot first.
Designing the features of this bot
The chatbot can give users a weather forecast according to the user's input on a city (Beijing, New York) and date (tomorrow, next Monday). We will use a form to implement those features.
In the next section, we will show you how to implement such a bot in great detail.
Implementing the bot step by step
Our project follows the Rasa official project structure, as shown in the following code block:
. ├── actions │ ├── actions.py │ └── __init__.py ├── config.yml ├── credentials.yml ├── data │ ├──...