diff --git a/Full Code [Latest release of Rasa NLU and Rasa Core]/actions.py b/Full Code [Latest release of Rasa NLU and Rasa Core]/actions.py index 795892c..dcead07 100644 --- a/Full Code [Latest release of Rasa NLU and Rasa Core]/actions.py +++ b/Full Code [Latest release of Rasa NLU and Rasa Core]/actions.py @@ -15,7 +15,7 @@ def run(self, dispatcher, tracker, domain): client = ApixuClient(api_key) loc = tracker.get_slot('location') - current = client.getcurrent(q=loc) + current = client.current(q=loc) country = current['location']['country'] city = current['location']['name']