what about doing something with action_session_start or similar? I’m trying with this code but nothing happens
class ActionSessionStart(Action):
def name(self) -> Text:
return "action_session_start"
async def run(
self,
dispatcher: CollectingDispatcher,
tracker: Tracker,
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("Ciao test")
dispatcher.utter_message(text=f"ciao test")
# an `action_listen` should be added at the end as a user message follows
events.append(ActionExecuted("action_listen"))
return events
I’ve also added action_session_start in domain file
@nik202 I know there are others widget like botfront, I’m trying to mantain the one indicated in the rasa site. In case, if I decide to try botfront, is there the possibility to set the data-token in it? I did now a quick test and it doesn’t seems to work
@ayoubelma
Is your website is hosted somewhere? Yes or No?
are your rasa chatbot is running on server? Yes or no?
Is your website have static or dynamic webpages?
@nik202 do you know if is possible to catch user connected event in someway? I’m thinking about something like a some action in py that catch it and utter a message