I want to the conversation to be started by the bot when invisiting users to test in rasa x. Just as it is the case here: Invite Users to Test
I searched the forums and only found information on how to do it when using the webchat UI, Facebook etc.
Thank’s for the prompt reply. I think this is a good feature to be implemented in the future. In general, however, I think letting the bot start the conversation should be made a lot easier. So it’s not dependend on the respective front end that is being used but it can just be implemented via the stories.
Also, it’s probably better to remove it from the screenshot shown in the documentation if this is not feasible in rasa x.
@Tobias@tabularasa I think this is probably something that you can now configure via Conversation Sessions by customizing the action_session_start action (instruction link at the bottom of what I linked to) to have the bot first dispatch a message.
from typing import Text, List, Dict, Any
from rasa_sdk import Action, Tracker
from rasa_sdk.events import SlotSet, SessionStarted, ActionExecuted, EventType
from rasa_sdk.executor import CollectingDispatcher
def name(self) -> Text:
async def run(
domain: Dict[Text, Any],
) -> List[EventType]:
# the session should begin with a `session_started` event
events = [SessionStarted()]
# any slots that should be carried over should come after the
# `session_started` event
print("Hi, I am Aayush")
# an `action_listen` should be added at the end as a user message follows