code: def add_cmdline_args(
      cls, parser: ParlaiParser, partial_opt: Optional[Opt] = None
  ) -> ParlaiParser:
      parser = super().add_cmdline_args(parser, partial_opt)
      parser.add_argument(
          "--delex",
          type="bool",
          default=False,
          help="Delexicalize labels",
      )
      parser.add_argument(
          "--filter-dialogue-by-id",
          default="",
          type=str,
          help="Path to a json file of `dialogue_id`s for which we will filter from. Assumes it will contain a map where the keys are a fold and the value is a list of ids",
      )
      return parser
  
imports: import glob
  import json
  import os
  from typing import Any, Dict, List, Optional
  import parlai.tasks.google_sgd.build
  import parlai.core.tod.tod_core
  import parlai.core.tod.tod_agents
  from parlai.core.tod.tod_core import SerializationHelpers
  from parlai.core.message import Message
  from parlai.core.metrics import AverageMetric
  from parlai.core.params import ParlaiParser
  from parlai.core.opt import Opt
  from fuzzywuzzy import fuzz
  from parlai.utils.io import PathManager
label_desc: Use image node_id 1 for calling the GoogleSGDParser obj's underlying member method code with example usage: obj.add_cmdline_args(cls, parser, partial_opt) and returns: parser