class_docstr: DatasetBuilder for quac dataset.
docstr: Yields examples based on filepath.
docstr_tok: ["Yields","examples","based","on","filepath","."]
code: def _generate_examples(self, filepath):
      """Yields examples based on filepath."""
      with epath.Path(filepath).open() as f:
          row = json.loads(f.readline())
          for data in row["data"]:
              section_title = data["section_title"]
              background = data["background"]
              tilte = data["title"]
              for paragraph in data["paragraphs"]:
                  context = paragraph["context"]
                  for qa in paragraph["qas"]:
                      yield qa["id"], {
                          "context": context,
                          "followup": qa["followup"],
                          "yesno": qa["yesno"],
                          "question": qa["question"],
                          "answers": qa["answers"],
                          "orig_answer": qa["orig_answer"],
                          "section_title": section_title,
                          "background": background,
                          "title": tilte,
                      }
  
file_path: datasets/tensorflow_datasets/datasets/quac/quac_dataset_builder.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 Builder obj's underlying member method code with example usage: obj._generate_examples(filepath) without return types