after def required_slots
add this:
def slot_mappings(self):
# type: () -> Dict[Text: Union[Dict, List[Dict]]]
return {"email": [self.from_text()],
"mobile": [self.from_text()]
}
Let me know if there is any difference after this.