class_docstr: End-to-end negotiation teacher that loads the data from
  https://github.com/facebookresearch/end-to-end-negotiator.
class_docstr_tok: ["End-to-end","negotiation","teacher","that","loads","the","data","from","https",":","\/\/github.com\/facebookresearch\/end-to-end-negotiator","."]
code: def _continue_dialogue(self, skip_teacher=False):
      action = {}
  
      # Fill in teacher's message (THEM)
      if not skip_teacher:
          self.dialogue_idx += 1
          if self.dialogue_idx >= len(self.dialogue):
              action["text"] = SELECTION_TOKEN
          else:
              sentence = self.dialogue[self.dialogue_idx]
              assert sentence[0] == THEM_TOKEN
              action["text"] = " ".join(sentence[1:])
  
      # Fill in learner's response (YOU)
      self.dialogue_idx += 1
      if self.datatype.startswith("train"):
          if self.dialogue_idx >= len(self.dialogue):
              # the agent should finish by reporting what they think the
              # agreed decision was
              self.expected_reponse = [" ".join(self.output)]
          else:
              sentence = self.dialogue[self.dialogue_idx]
              assert sentence[0] == YOU_TOKEN
              self.expected_reponse = [" ".join(sentence[1:])]
          action["labels"] = self.expected_reponse
  
      if self.dialogue_idx >= len(self.dialogue):
          self.dialogue_idx = None
          action["episode_done"] = True
      else:
          action["episode_done"] = False
  
      return action
  
imports: from parlai.core.teachers import Teacher
  from .build import build
  from parlai.utils.io import PathManager
  import os
  import random
label_desc: Use image node_id 11 for calling the NegotiationTeacher obj's underlying member method code with example usage: obj._continue_dialogue(skip_teacher) and returns: action