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: Return all utterances which are actions.
  
  Returns:
      A set of response names found in the domain and data files, with the
      response key stripped in the case of response selector responses.
docstr_tok: ["Return","all","utterances","which","are","actions",".","Returns",":","A","set","of","response","names","found","in","the","domain","and","data","files",",","with","the","response","key","stripped","in","the","case","of","response","selector","responses","."]
code: def _gather_utterance_actions(self) -> Set[Text]:
      """Return all utterances which are actions.
  
      Returns:
          A set of response names found in the domain and data files, with the
          response key stripped in the case of response selector responses.
      """
      domain_responses = {
          response.split(
              rasa.shared.nlu.constants.RESPONSE_IDENTIFIER_DELIMITER
          )[0]
          for response in self.domain.responses.keys()
          if response in self.domain.action_names_or_texts
      }
      data_responses = {
          response.split(
              rasa.shared.nlu.constants.RESPONSE_IDENTIFIER_DELIMITER
          )[0]
          for response in self.intents.responses.keys()
      }
      return domain_responses.union(data_responses)
  
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 7 for calling the Validator obj's underlying member method code with example usage: obj._gather_utterance_actions() and returns: domain_responses