class_docstr: Dataset Class 
      1. Performs Model-dependent (but Data-independent) operations (tokenization etc)
      2. This can allow the same model preprocessing for multiple datasources
      3. Users can configurate which labels to use for modelling 
          (e.g. intent classification, slot filling or both together etc)
class_docstr_tok: ["Dataset","Class","1",".","Performs","Model-dependent","(","but","Data-independent",")","operations","(","tokenization","etc",")","2",".","This","can","allow","the","same","model","preprocessing","for","multiple","datasources","3",".","Users","can","configurate","which","labels","to","use","for","modelling","(","e.g",".","intent","classification",",","slot","filling","or","both","together","etc",")"]
code: def __getitem__(self, idx: int):
      ex = self.features[idx]
  
      return (
          np.array(ex.example_id_num),
          np.array(ex.example_id_num[-1]),  # service_id
          np.array(ex.utterance_ids),
          np.array(ex.utterance_segment),
          np.array(ex.utterance_mask, dtype=np.longlong),
          np.array(ex.intent_status, dtype=np.float32),
          np.array(ex.requested_slot_status, dtype=np.float32),
          np.array(ex.categorical_slot_status),
          np.array(ex.categorical_slot_value_status, dtype=np.float32),
          np.array(ex.noncategorical_slot_status),
          np.array(ex.noncategorical_slot_value_start),
          np.array(ex.noncategorical_slot_value_end),
          np.array(ex.start_char_idx),  # noncat_alignment_start
          np.array(ex.end_char_idx),  # noncat_alignment_end
          np.array(ex.task_mask),  # noncat_alignment_end
      )
  
file_path: NeMo/nemo/collections/nlp/data/dialogue/dataset/dialogue_sgd_bert_dataset.py
imports: import os
  import re
  from typing import List
  import numpy
  from nemo.collections.nlp.data.dialogue.dataset.dialogue_dataset import DialogueDataset
  from nemo.collections.nlp.data.dialogue.input_example.sgd_input_example import SGDInputExample
label_desc: Use image node_id 8 for calling the DialogueSGDBERTDataset obj's underlying member method code with example usage: obj.__getitem__(idx) and returns: np,  np,  np,  np,  np,  np,  np,  np,  np,  np,  np,  np,  np,  np,  np