Question on run method of custom actions

I am new to rasa and tried few examples. Also, wrote my own custom actions. In the process would like to understand to the run method.

  1. What does the input tracker object has ?. What are the various info could extract from it ?. i know can get text using tracker.latest_message)[‘text’]. What does slot mean and what are others things i could extract ?

  2. What does domain parameter of run method has ? How i could use them ?

Hi kkbrat9,

Slots are used to store information that your bot has extracted during the conversation, take a look at Slots. As for what the tracker can provide here is a list of attributes you should be able to access:

sender_id
slots
latest_message
latest_event_time
paused
events
latest_input_channel
active_form
latest_action_name

The domain parameter lets you access the configuration you set out in your domain.yml, eg your bot’s intents and actions.