class_docstr: MR in the restaurant domain and target utterances describing it.
class_docstr_tok: ["MR","in","the","restaurant","domain","and","target","utterances","describing","it","."]
docstr: Yields examples.
docstr_tok: ["Yields","examples","."]
code: def _generate_examples(self, json_path):
      """Yields examples."""
      with epath.Path(json_path).open() as f:
          data = json.load(f)
          for i, row in enumerate(data):
              yield i, {
                  "input_text": {
                      "table": _get_table_from_da(row["da"]),
                  },
                  "delex_input_text": {
                      "table": _get_table_from_da(row["delex_da"]),
                  },
                  "target_text": row["text"],
                  "delex_target_text": row["delex_text"],
              }
  
file_path: datasets/tensorflow_datasets/structured/cs_restaurants/cs_restaurants.py
imports: from __future__ import annotations
  import json
  from etils import epath
  import numpy
  import tensorflow_datasets.public_api
label_desc: Use image node_id 3 for calling the CSRestaurants obj's underlying member method code with example usage: obj._generate_examples(json_path) without return types