class_docstr: Handles incoming messages with low NLU confidence.
class_docstr_tok: ["Handles","incoming","messages","with","low","NLU","confidence","."]
code: def _nlu_confidence_below_threshold(
      self, message: Message
  ) -> Tuple[bool, float]:
      nlu_confidence = message.data[INTENT].get(
          PREDICTED_CONFIDENCE_KEY
      )
      return (
          nlu_confidence < self.component_config[THRESHOLD_KEY],
          nlu_confidence,
      )
  
imports: from __future__ import annotations
  import copy
  import logging
  from typing import Any, List, Text, Dict, Type, Union, Tuple, Optional
  from rasa.engine.graph import GraphComponent, ExecutionContext
  from rasa.engine.recipes.default_recipe import DefaultV1Recipe
  from rasa.engine.storage.resource import Resource
  from rasa.engine.storage.storage import ModelStorage
  from rasa.shared.constants import DEFAULT_NLU_FALLBACK_INTENT_NAME
  from rasa.core.constants import DEFAULT_NLU_FALLBACK_THRESHOLD, DEFAULT_NLU_FALLBACK_AMBIGUITY_THRESHOLD
  from rasa.nlu.classifiers.classifier import IntentClassifier
  from rasa.shared.nlu.training_data.message import Message
  from rasa.shared.nlu.constants import INTENT, INTENT_NAME_KEY, INTENT_RANKING_KEY, PREDICTED_CONFIDENCE_KEY
label_desc: Use image node_id 7 for calling the FallbackClassifier obj's underlying member method code with example usage: obj._nlu_confidence_below_threshold(message) and returns: unknown,  nlu_confidence