In my models folder I have different files along with those I also have actions.py and what is the exact use of this action.py file and when should we use it. I have gone through the document but I didn’t get exactly what it is.
action.py code for your custom actions
Please see the documentation in:
Actions are the things your bot runs in response to user input. There are four kinds of actions in Rasa:
- Utterance actions : start with
utter_and send a specific message to the user
- Retrieval actions : start with
respond_and send a message selected by a retrieval model
- Custom actions : run arbitrary code and send any number of messages (or none).
- Default actions : e.g.