Not able to validate my slot email. Please help

@saurabh-m523 noticed that there is something weird in your def validate_email arguments.

You can overwrite it with this:

def validate_email(
        self,
        value: Text,
        dispatcher: CollectingDispatcher,
        tracker: Tracker,
        domain: Dict[Text, Any],
    ) -> Dict[Text, Any]: 

And now you don’t need to use value1 = tracker.get_slot('email'). Change value1 to just value

1 Like