I want to create response variations from a custom action in
actions.py, instead of
I tried to create a list inside
response = ['hello!', 'hi there', 'hi again']
and then used a random.shuffle function to send back a response:
dispatcher.utter_message( text = random.shuffle(response), )
This does not work and I get
None in response.
How can I solve this?