code: def _get_choices_and_answer(cqa):
      """Returns choices and the answer from a cqa example."""
      choices = []
      answer_key = cqa["answerKey"]
      answer = None
      for choice in cqa["question"]["choices"]:
          choices.append(choice["text"])
          if answer_key == choice["label"]:
              answer = choice["text"]
      return choices, answer
  
file_path: datasets/tensorflow_datasets/text/cos_e.py
imports: import json
  import os
  from etils import epath
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
  import tensorflow_datasets.public_api
label_desc: Use image node_id 2 for calling a global function with example usage: _get_choices_and_answer(cqa) and returns: choices,  answer