code: def __init__(
      self,
      doc_label_names: List[str],
      word_label_names: List[str],
      use_bio_labels: bool,
      channels: List[Channel],
      slot_column_name: str = "slots",
      text_column_name: str = "text",
      token_tensorizer_name: str = "tokens",
  ) -> None:
      super().__init__(channels)
      self.doc_label_names = doc_label_names
      self.word_label_names = word_label_names
      self.use_bio_labels = use_bio_labels
      self.slot_column_name = slot_column_name
      self.text_column_name = text_column_name
      self.token_tensorizer_name = token_tensorizer_name
  
imports: from typing import Dict, List, Optional
  from pytext.common.constants import DatasetFieldName, Stage
  from pytext.data.data_structures.annotation import CLOSE, escape_brackets, OPEN
  from pytext.metrics.intent_slot_metrics import compute_all_metrics, FramePredictionPair, Node, Span
  from pytext.utils.data import byte_length, get_substring_from_offsets, merge_token_labels_to_slot, parse_slot_string
  from .channel import Channel, ConsoleChannel, FileChannel
  from .metric_reporter import MetricReporter
label_desc: Use image node_id 1 to create a new IntentSlotMetricReporter object from inherited base classes: MetricReporter with example: obj = IntentSlotMetricReporter(doc_label_names, word_label_names, use_bio_labels, channels, slot_column_name, text_column_name, token_tensorizer_name)