class_docstr: Query for finetune query generator.
  
  human_gold: human written search query that lead to perfect utterance,
      e.g better_search_query->perfect; better_search_query -> better_search_doc -> perfect;
          better_search_query -> better_search_doc -> better_response -> perfect
  human_bronze: human written search query that doesn't belong to perfect utterance
  bot_gold: bot search queries that leads to perfect utterance e.g. better_doc -> perfect
class_docstr_tok: ["Query","for","finetune","query","generator",".","human_gold",":","human","written","search","query","that","lead","to","perfect","utterance",",","e.g","better_search_query-",">","perfect",";","better_search_query","-",">","better_search_doc","-",">","perfect",";","better_search_query","-",">","better_search_doc","-",">","better_response","-",">","perfect","human_bronze",":","human","written","search","query","that","does","n't","belong","to","perfect","utterance","bot_gold",":","bot","search","queries","that","leads","to","perfect","utterance","e.g",".","better_doc","-",">","perfect"]
code: def add_cmdline_args(
      cls, parser: ParlaiParser, partial_opt: Optional[Opt] = None
  ) -> ParlaiParser:
      super().add_cmdline_args(parser, partial_opt)
      agent = parser.add_argument_group(
          "Continual Learning New Tasks Query Teacher options"
      )
      agent.add_argument(
          "--query-source",
          type=str,
          default="human_gold",
          choices=[
              "human_gold",
              "human_bronze",
              "bot_gold",
              "human",
              "all",
          ],
          help="metrics to show when breaking down by bot nickname",
      )
      return parser
  
imports: import os
  import copy
  import json
  import random
  from typing import Optional
  from parlai.utils.misc import warn_once
  from parlai.utils.data import DatatypeHelper
  from parlai.core.opt import Opt
  from parlai.core.teachers import DialogTeacher
  from parlai.core.params import ParlaiParser
  from parlai.core.message import Message
  from parlai.utils.io import PathManager
  from parlai.tasks.wizard_of_internet import constants
  from .mutators import normalize_reply, get_knowledge_appended_context, get_knowledge_sentence_with_special_tokens_only
  from .build import build
  from .constants import FeedbackType, TITLE_PASSAGE_DELIMITER, OK_LABEL, NOT_OK_LABEL
label_desc: Use image node_id 1 for calling the QueryTeacher obj's underlying member method code with example usage: obj.add_cmdline_args(cls, parser, partial_opt) and returns: parser