Write the conversational script
The main.converse
file contains the main chatbot scenario
start()
is a function. Here, it corresponds to a dialogue.We use a decorator
@Event()
to indicate how we trigger the function. The name of the event isstart
. Thus, the function will only be triggered once: the first time the user interacts with the chatbot.Starting the line with
>
sends a response to the user. Here isHello World
Last updated