code: def get_in_domain_services(schema_path: str, service_set: set) -> set:
      """Get the set of common services between a schema and set of services.
      Args:
          schema_path: path to schema file
          service_set: set of services
      Returns:
          joint_services: joint services between schema path file and service set
      """
      joint_services = get_service_set(schema_path) & service_set
      return joint_services
  
file_path: NeMo/nemo/collections/nlp/data/dialogue/sgd/evaluate.py
imports: import collections
  import glob
  import json
  import os
  import numpy
  from nemo.collections.nlp.metrics.sgd_metrics import ACTIVE_INTENT_ACCURACY, JOINT_CAT_ACCURACY, JOINT_GOAL_ACCURACY, JOINT_NONCAT_ACCURACY, NAN_VAL, REQUESTED_SLOTS_F1, REQUESTED_SLOTS_PRECISION, REQUESTED_SLOTS_RECALL, SLOT_TAGGING_F1, SLOT_TAGGING_PRECISION, SLOT_TAGGING_RECALL, get_active_intent_accuracy, get_average_and_joint_goal_accuracy, get_requested_slots_f1, get_slot_tagging_f1
  from nemo.utils import logging
label_desc: Use image node_id 2 for calling a global function with example usage: get_in_domain_services(schema_path, service_set) and returns: joint_services