class_docstr: This module provides access to data in the Conversations format.
  
  See core/teachers.py for more info about the format.
class_docstr_tok: ["This","module","provides","access","to","data","in","the","Conversations","format",".","See","core\/teachers.py","for","more","info","about","the","format","."]
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("JsonFile Task Arguments")
      agent.add_argument(
          "-jfdp", "--jsonfile-datapath", type=str, help="Data file"
      )
      agent.add_argument(
          "-jfdt",
          "--jsonfile-datatype-extension",
          type="bool",
          default=False,
          help="If true, use _train.jsonl, _valid.jsonl, _test.jsonl file extensions",
      )
      agent.add_argument(
          "--label-turns",
          type=str,
          help="which speaker to use as label",
          choices=["firstspeaker", "secondspeaker", "both"],
          default="secondspeaker",
      )
      return parser
  
file_path: ParlAI/parlai/tasks/jsonfile/agents.py
imports: from typing import Optional
  from parlai.core.params import ParlaiParser
  from parlai.core.opt import Opt
  import copy
  import os
  from parlai.core.teachers import ConversationTeacher
label_desc: Use image node_id 1 for calling the JsonTeacher obj's underlying member method code with example usage: obj.add_cmdline_args(cls, parser, partial_opt) and returns: parser