Def name and run function in Action

  1. Why do we use the function - name and run in Action class.
  2. When they get called in sequence.
  3. What all are their functionality.

class ActionGetStarted(Action): “”“Returns the Disclaimer utterance dependent on the intent”""

def name(self):
    return "action_get_started"

def run(
    dispatcher: CollectingDispatcher,
    tracker: Tracker,
    domain: Dict[Text, Any]
) -> List["Event"]:

    return []

You can visit rasa’s lib under rasa_sdk folder. First you can check out the and then you can look into the for the detailed linking and flow in the function calls.