I'm new to rasa framework. I started developing a simple chatbot and i have created three slots for my chatbot. So my bot need to identify the current location and save it in the slots. My current location is taking from the conversation and i can save it in to the slots in the story.
But then i have a custom action that find the weather weather from an API call and i need to save the weather status and humidity in the relevant slots.
class ActionSomeRespThree(Action):
def name(self) -> Text:
return "action_some_resp_three"
def run(self, dispatcher: CollectingDispatcher,
tracker: Tracker,
domain: Dict[Text, Any]) -> List[Dict[Text, Any]]:
cityName = tracker.get_slot('city')