rasa/core/actions/action.py
def _action_call_format(self, tracker: 'DialogueStateTracker',
                            domain: 'Domain') -> Dict[Text, Any]:
        """Create the request json send to the action server."""
        from rasa.core.trackers import EventVerbosity

        tracker_state = tracker.current_state(EventVerbosity.ALL)

        return {
            "next_action": self._name,
            "sender_id": tracker.sender_id,
            "tracker": tracker_state,
            "domain": domain.as_dict(),
            "version": rasa.__version__
        }
Create the request json send to the action server.
Create the request json send to the action server.
Create the request json send to the action server .
def _action_call_format(self, tracker: 'DialogueStateTracker',
                            domain: 'Domain') -> Dict[Text, Any]:
        from rasa.core.trackers import EventVerbosity
        tracker_state = tracker.current_state(EventVerbosity.ALL)
        return {
            "next_action": self._name,
            "sender_id": tracker.sender_id,
            "tracker": tracker_state,
            "domain": domain.as_dict(),
            "version": rasa.__version__
        }
def _action_call_format ( self , tracker : 'DialogueStateTracker' , domain : 'Domain' ) -> Dict [ Text , Any ] : from rasa . core . trackers import EventVerbosity tracker_state = tracker . current_state ( EventVerbosity . ALL ) return { "next_action" : self . _name , "sender_id" : tracker . sender_id , "tracker" : tracker_state , "domain" : domain . as_dict ( ) , "version" : rasa . __version__ }
Create the request json send to the action server.
Create the request json send to the action server .
"""Create the request json send to the action server."""
self
tracker
'DialogueStateTracker'
domain
'Domain'