code: def _path(opt):
      build(opt)
      dt = opt["datatype"].split(":")[0]
  
      labels_path = os.path.join(
          opt["datapath"], "mnist", dt, "labels.json"
      )
      image_path = os.path.join(opt["datapath"], "mnist", dt)
      return labels_path, image_path
  
file_path: ParlAI/parlai/tasks/mnist_qa/agents.py
imports: from parlai.core.teachers import DialogTeacher
  from parlai.utils.io import PathManager
  from .build import build
  import json
  import os
label_desc: Use image node_id 1 for calling a global function with example usage: _path(opt) and returns: labels_path,  image_path