code: def doc_to_text(self, doc):
      return "{}\nQuestion: {}\nAnswer:".format(
          doc["source"], doc["query"]
      )
  
file_path: lm-evaluation-harness/lm_eval/tasks/qa4mre.py
imports: from lm_eval.base import MultipleChoiceTask
label_desc: Use image node_id 6 for calling the QA4MRE obj's underlying member method code with example usage: obj.doc_to_text(doc) and returns: str