actions.action_get_weather

This files contains custom action to get temperature at a certain location.

Module Contents

Classes

ActionGetWeather

class actions.action_get_weather.ActionGetWeather

Bases: rasa_sdk.Action

name() Text
run(dispatcher: rasa_sdk.executor.CollectingDispatcher, tracker: rasa_sdk.Tracker, domain: Dict[Text, Any]) List[Dict[Text, Any]]

Returns

Parameters
  • dispatcher – Class responsible for sending messages back to user.

  • tracker – Class that maintains the state of a conversation.

  • domain – Dictionary containing information stored in ‘domain.yml’.