class_docstr: A set of QA predictions for a passage or a document. The candidates are stored in QAPred.prediction which is a
  list of QACandidate objects. Also contains all attributes needed to convert the object into json format and also
  to create a context window for a UI
code: def to_squad_eval(self):
      return self.to_json(squad=True)
  
imports: from typing import List, Any
  from abc import ABC
  import logging
label_desc: Use image node_id 4 for calling the QAPred obj's underlying member method code with example usage: obj.to_squad_eval() and returns: self