class_docstr: Agent returns random candidate if available or repeats the label.
docstr: Add command line arguments for this agent.
docstr_tok: ["Add","command","line","arguments","for","this","agent","."]
code: def add_cmdline_args(
      cls, parser: ParlaiParser, partial_opt: Optional[Opt] = None
  ) -> ParlaiParser:
      """
      Add command line arguments for this agent.
      """
      parser = parser.add_argument_group(
          "RandomCandidateAgent Arguments"
      )
      parser.add_argument(
          "--label_candidates_file",
          type=str,
          default=None,
          help="file of candidate responses to choose from",
      )
      return parser
  
file_path: ParlAI/parlai/agents/random_candidate/random_candidate.py
imports: from typing import Optional
  from parlai.core.params import ParlaiParser
  from parlai.core.opt import Opt
  import random
  from parlai.core.agents import Agent
label_desc: Use image node_id 1 for calling the RandomCandidateAgent obj's underlying member method code with example usage: obj.add_cmdline_args(cls, parser, partial_opt) and returns: parser