Bot speak First

I want to display this sentence.“Hello I am medical bot how can I help you” beginning of my chat. I want to display this message on my terminal. How can I do this?

One way to do this would be to overwrite the action_session_start action (see here). It is the first action executed at the beginning of each chat. By default the bot does not utter anything, but you could change it to utter that sentence.

Another option depends on the channel you are using. It doesn’t work on the command line via rasa shell, but some channels, like Facebook, Telegram and rasa-webchat, provide the option to automatically send a message to the bot when the chat is opened: e.g. for rasa-webchat you can specify initPayload to send an initial message (like "/start_chat").

1 Like