code: def get_tag(tokens, tag):
      """
      Extracts the value inside the given tag.
      """
      start = tokens.index("<" + tag + ">") + 1
      stop = tokens.index("</" + tag + ">")
      return tokens[start:stop]
  
imports: from parlai.core.teachers import Teacher
  from .build import build
  from parlai.utils.io import PathManager
  import os
  import random
label_desc: Use image node_id 1 for calling a global function with example usage: get_tag(tokens, tag) and returns: tokens