rasa/core/policies/fallback.py
def should_nlu_fallback(self,
                            nlu_confidence: float,
                            last_action_name: Text
                            ) -> bool:
        """Checks if fallback action should be predicted.

        Checks for:
        - predicted NLU confidence is lower than ``nlu_threshold``
        - last action is action listen
        """

        return (nlu_confidence < self.nlu_threshold and
                last_action_name == ACTION_LISTEN_NAME)
Checks if fallback action should be predicted.

        Checks for:
        - predicted NLU confidence is lower than ``nlu_threshold``
        - last action is action listen
        
Checks if fallback action should be predicted.
Checks for:
predicted NLU confidence is lower than ``nlu_threshold``
last action is action listen
Checks if fallback action should be predicted . Checks for : predicted NLU confidence is lower than ` ` nlu_threshold ` ` last action is action listen
def should_nlu_fallback(self,
                            nlu_confidence: float,
                            last_action_name: Text
                            ) -> bool:
        return (nlu_confidence < self.nlu_threshold and
                last_action_name == ACTION_LISTEN_NAME)
def should_nlu_fallback ( self , nlu_confidence : float , last_action_name : Text ) -> bool : return ( nlu_confidence < self . nlu_threshold and last_action_name == ACTION_LISTEN_NAME )
Checks if fallback action should be predicted.
Checks if fallback action should be predicted .
"""Checks if fallback action should be predicted.

        Checks for:
        - predicted NLU confidence is lower than ``nlu_threshold``
        - last action is action listen
        """
self
nlu_confidence
float
last_action_name
Text