code: def _path(opt):
      # build the data if it does not exist
      build(opt)
  
      # set up path to data (specific to each dataset)
      datatype = opt["datatype"].split(":")[0]
      return os.path.join(opt["datapath"], "LCCC", datatype + ".json")
  
file_path: ParlAI/parlai/tasks/lccc/agents.py
imports: from typing import Optional
  from parlai.core.params import ParlaiParser
  from parlai.core.opt import Opt
  import copy
  import os
  from .build import build
  from parlai.core.teachers import ConversationTeacher
label_desc: Use image node_id 1 for calling a global function with example usage: _path(opt) and returns: os