Personally, I’ve organized them into four different files by function:
-
ask.py
foraction_ask_slot_name
-
validate.py
for for validation -
main.py
for regular action classes -
submission.py
foraction_submit_form_name
actions
You can break them down as much as you like as long as you keep them mounted inside the actions
directory in the right place in your docker container if you are using docker.
In other words, it’s safe to break down these functions to as many files as you like, and it’s safe to place them wherever your current actions.py
file is.