code: def get_fpath(opt):
      fields = [
          "taskname",
          "setting",
          "person_names",
          "persona",
          "emote",
          "speech",
          "action",
          "affordances",
          "repeat",
          "cands",
          "current_self_output",
          "clip_cands",
          "speech_prefix",
          "person_names_prefix",
          "score_cutoff",
          "hard_score_cutoff",
          "max_score_cutoff",
          "date_cutoff",
          "continue_type",
          "unseen_test",
      ]
      fpath = ""
      for f in fields:
          fpath += f + str(opt["light_use_" + f]) + "_"
      if opt.get("light_model_name"):
          fpath += f"model_name{opt['light_model_name']}_"
      return str(sha1(fpath[:-1].encode("utf-8")).hexdigest())
  
imports: import parlai.core.build_data
  import os
  from hashlib import sha1
  from parlai.tasks.light_dialog_wild.builder import build_from_dump
  from parlai.core.build_data import DownloadableFile
label_desc: Use image node_id 2 for calling a global function with example usage: get_fpath(opt) and returns: str