class_docstr: ReDial Teacher.
class_docstr_tok: ["ReDial","Teacher","."]
code: def get(self, episode_idx, entry_idx=0):
      text_idx = entry_idx * 2
      entry = self.episodes[episode_idx][text_idx]
      final_speaker_idx = len(self.episodes[episode_idx]) - 2
      # sometimes the first speaker is at the end with no reply
      if len(self.episodes[episode_idx]) % 2 == 1:
          final_speaker_idx -= 1
      labels = [self.episodes[episode_idx][text_idx + 1]]
      episode_done = text_idx >= final_speaker_idx
      action = {
          "id": self.id,
          "text": entry,
          "episode_done": episode_done,
          "labels": labels,
      }
      return action
  
imports: from parlai.core.teachers import FixedDialogTeacher
  from parlai.utils.io import PathManager
  from .build import build
  import os
  import json
  import re
  import csv
label_desc: Use image node_id 8 for calling the ReDialTeacher obj's underlying member method code with example usage: obj.get(episode_idx, entry_idx) and returns: action