I have have been using and loving the Rasa Stack for quite some time now.
def validate(self, dispatcher, tracker, domain): # type: (CollectingDispatcher, Tracker, Dict[Text, Any]) -> List[Dict] """"Validate extracted requested slot else raise an error""" slot_to_fill = tracker.get_slot(REQUESTED_SLOT) # extract requested slot from a user input by using 'slot_mapping' events = self.extract(dispatcher, tracker, domain)
However the FormAction class has no such method (rasa_core; versions 0.12.3 and 0.12.4). As a possible hack, I have tried to use the extract_requested_slot() method, which returns a dictionary of slot: value pairs. This however is in conflict with line 388 of forms.py, which seems to expect a different data format. Not quite sure how to proceed. Any insight would be much appreciated.