docstr: Add command-line arguments specifically for this agent.
docstr_tok: ["Add","command-line","arguments","specifically","for","this","agent","."]
code: def add_cmdline_args(
      cls, parser: ParlaiParser, partial_opt: Optional[Opt] = None
  ) -> ParlaiParser:
      """
      Add command-line arguments specifically for this agent.
      """
      TorchRankerAgent.add_cmdline_args(parser, partial_opt=partial_opt)
      parser = parser.add_argument_group("KnowledgeRetriever Arguments")
      parser.add_argument(
          "--retriever-model-file", type=str, default=RETRIEVER_FILE
      )
      parser.add_argument(
          "--selector-model-file", type=str, default=SELECTOR_FILE
      )
      parser.add_argument(
          "--num-retrieved",
          type=int,
          default=7,
          help="how many passages to retrieve for each category",
      )
      parser.add_argument(
          "--add-token-knowledge",
          type="bool",
          default=False,
          help="Add knowledge token to retrieved knowledge",
      )
      parser.add_argument("--debug", type="bool", default=False)
      return parser
  
imports: from typing import Optional
  from parlai.core.params import ParlaiParser
  from parlai.core.opt import Opt
  from parlai.core.agents import Agent, create_agent, create_agent_from_shared
  from parlai.core.torch_ranker_agent import TorchRankerAgent
  from parlai.tasks.wizard_of_wikipedia.agents import TOKEN_KNOWLEDGE
  from parlai.zoo.wizard_of_wikipedia.knowledge_retriever import download
  import json
  import os
label_desc: Use image node_id 1 for calling the KnowledgeRetrieverAgent obj's underlying member method code with example usage: obj.add_cmdline_args(cls, parser, partial_opt) and returns: parser