Responding with one particular message with each response?

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 action.py or any other source code

Thank you

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:

intents:
  - greet

actions:
  - utter_greet

templates:
  utter_greet:
    - text: "hello"

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

1 Like