class_docstr: The Bool Q dataset.
docstr: Yields Examples.
  
  Args:
    file_path: Path of the train/validation json files
  
  Yields:
    The next examples
docstr_tok: ["Yields","Examples",".","Args",":","file_path",":","Path","of","the","train\/validation","json","files","Yields",":","The","next","examples"]
code: def _generate_examples(self, file_path):
      """Yields Examples.
  
      Args:
        file_path: Path of the train/validation json files
  
      Yields:
        The next examples
      """
  
      with epath.Path(file_path).open() as f:
          if file_path.suffix == ".jsonl":
              for index, line in enumerate(f):
                  row = json.loads(line)
                  key = index
                  example = {
                      "question": row["question"],
                      "passage": row["passage"],
                      "answer": row["answer"],
                      "title": row["title"],
                  }
                  yield key, example
  
file_path: datasets/tensorflow_datasets/datasets/bool_q/bool_q_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(file_path) without return types