notice

This is documentation for Rasa Documentation v2.x, which is no longer actively maintained.
For up-to-date documentation, see the latest version (3.x).

Version: 2.x

rasa.core.training.training

create_action_fingerprints

create_action_fingerprints(trackers: List["DialogueStateTracker"], domain: "Domain") -> Dict[Text, Dict[Text, List[Text]]]

Fingerprint each action using the events it created during train.

This allows us to emit warnings when the model is used if an action does things it hasn't done during training, or if rules are incomplete.

Arguments:

  • trackers - the list of trackers
  • domain - the domain

Returns:

a nested dictionary of action names and slots and active loops that this action sets