Responding with one particular message with each response?

(Rapolu Durga prasad) #1

Hi everyone ,I am creating chat bot using rasa. I want to responding a particular message for each responses. For example user sends " hi " then bot reply first our particular message after that response. Every response with our particular message.

Where to write either or any other source code

Thank you

(Lahsuk) #2

For something simple like this, you don’t need any actions, just add all those response to your domain file. You can do it like:

  - greet

  - utter_greet

    - text: "hello"

Utter actions are called automatically whenever the intent matches with its respective utter_[intent].

1 Like