class_docstr: A class used to verify usage of intents and utterances.
class_docstr_tok: ["A","class","used","to","verify","usage","of","intents","and","utterances","."]
docstr: Initializes the Validator object.
  
  Args:
      domain: The domain.
      intents: Training data.
      story_graph: The story graph.
      config: The configuration.
docstr_tok: ["Initializes","the","Validator","object",".","Args",":","domain",":","The","domain",".","intents",":","Training","data",".","story_graph",":","The","story","graph",".","config",":","The","configuration","."]
code: def __init__(
      self,
      domain: Domain,
      intents: TrainingData,
      story_graph: StoryGraph,
      config: Optional[Dict[Text, Any]],
  ) -> None:
      """Initializes the Validator object.
  
      Args:
          domain: The domain.
          intents: Training data.
          story_graph: The story graph.
          config: The configuration.
      """
      self.domain = domain
      self.intents = intents
      self.story_graph = story_graph
      self.config = config or {}
  
imports: import logging
  from collections import defaultdict
  from typing import Set, Text, Optional, Dict, Any, List
  import rasa.core.training.story_conflict
  import rasa.shared.nlu.constants
  from rasa.shared.constants import ASSISTANT_ID_DEFAULT_VALUE, ASSISTANT_ID_KEY, CONFIG_MANDATORY_KEYS, DOCS_URL_DOMAINS, DOCS_URL_FORMS, UTTER_PREFIX, DOCS_URL_ACTIONS, REQUIRED_SLOTS_KEY
  from rasa.shared.core import constants
  from rasa.shared.core.constants import MAPPING_CONDITIONS, ACTIVE_LOOP
  from rasa.shared.core.events import ActionExecuted, ActiveLoop
  from rasa.shared.core.events import UserUttered
  from rasa.shared.core.domain import Domain
  from rasa.shared.core.generator import TrainingDataGenerator
  from rasa.shared.core.constants import SlotMappingType, MAPPING_TYPE
  from rasa.shared.core.training_data.structures import StoryGraph
  from rasa.shared.importers.importer import TrainingDataImporter
  from rasa.shared.nlu.training_data.training_data import TrainingData
  import rasa.shared.utils.io
label_desc: Use image node_id 1 to create a new Validator object  with example: obj = Validator(domain, intents, story_graph, config)