diff --git a/rasa/actions.py b/rasa/actions.py index d4a4bbed51e3afcfb34acae44d4f189b57d05060..af2b4808c3b2bc2ba88ce3bafe4e3ede39337342 100644 --- a/rasa/actions.py +++ b/rasa/actions.py @@ -1,6 +1,28 @@ from rasa_core_sdk import Action from rasa_core_sdk.events import SlotSet + +""" + +Custom Actions to get Information about + +Schema for Actions + +class ActionSearchInfo(Action): + Starts Search Action for an Information, depending on + found intent (Intent 'birthplace' -> 'ActionSearchBirthplace') + - Obtains slot value of recognized physicist entity + - Iterates over 'data.tsv' to find demanded info for given physicist + - Stores value of info in its slot + +class ActionUtterInfo(Action): + Starts Utterance Action for an Information + - Obtains slot value for recognized physiscist entity and info value + from Search-Action + - Prints Bot utterance containing the above to the console + +""" + # # Birthplace #