code: def test_nlu_data_domain_sync_with_retrieval_intents(project: Text):
      config_path = os.path.join(project, DEFAULT_CONFIG_PATH)
      domain_path = "data/test_domains/default_retrieval_intents.yml"
      data_paths = [
          "data/test/stories_default_retrieval_intents.yml",
          "data/test_responses/default.yml",
      ]
      importer = TrainingDataImporter.load_from_dict(
          {}, config_path, domain_path, data_paths
      )
  
      domain = importer.get_domain()
      nlu_data = importer.get_nlu_data()
  
      assert domain.retrieval_intents == ["chitchat"]
      assert domain.intent_properties["chitchat"].get(
          "is_retrieval_intent"
      )
      assert domain.retrieval_intent_responses == nlu_data.responses
      assert domain.responses != nlu_data.responses
      assert "utter_chitchat" in domain.action_names_or_texts
  
imports: import os
  from pathlib import Path
  from typing import Text, Dict, Type, List, Any
  import pytest
  from rasa.shared.constants import DEFAULT_CONFIG_PATH, DEFAULT_DOMAIN_PATH, DEFAULT_DATA_PATH, DEFAULT_CONVERSATION_TEST_PATH
  import rasa.shared.utils.io
  import rasa.shared.core.constants
  from rasa.shared.core.events import SlotSet, UserUttered, ActionExecuted
  from rasa.shared.core.training_data.structures import StoryStep, StoryGraph
  from rasa.shared.importers.importer import TrainingDataImporter, NluDataImporter, E2EImporter, ResponsesSyncImporter
  from rasa.shared.importers.multi_project import MultiProjectImporter
  from rasa.shared.importers.rasa import RasaFileImporter
  from rasa.shared.nlu.constants import ACTION_TEXT, ACTION_NAME, INTENT, TEXT
  from rasa.shared.nlu.training_data.message import Message
label_desc: Use image node_id 9 for calling a global function with example usage: test_nlu_data_domain_sync_with_retrieval_intents(project) without return types