code: def get_service_set(schema_path: str) -> set:
      """
      Get the set of all services present in a schema.
      Args:
          schema_path: schema file path
      Returns:
          service_set: set of services in file
      """
      service_set = set()
      with open(schema_path, encoding="UTF-8") as f:
          schema = json.load(f)
          for service in schema:
              service_set.add(service["service_name"])
          f.close()
      return service_set
  
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 1 for calling a global function with example usage: get_service_set(schema_path) and returns: service_set