code: def parse(self, response_text: str):
      actual_result = self.convert_to_result(response_text)
      if self.show_all:
          return actual_result
  
      best_hypothesis = self.find_best_hypothesis(
          actual_result["alternative"]
      )
      # https://cloud.google.com/speech-to-text/docs/basics#confidence-values
      # "Your code should not require the confidence field as it is not guaranteed to be accurate, or even set, in any of the results."
      confidence = best_hypothesis.get("confidence", 0.5)
      if self.with_confidence:
          return best_hypothesis["transcript"], confidence
      return best_hypothesis["transcript"]
  
imports: from __future__ import annotations
  import json
  from typing import Dict, Literal, TypedDict
  from urllib.error import HTTPError, URLError
  from urllib.parse import urlencode
  from urllib.request import Request, urlopen
  from typing_extensions import NotRequired
  from speech_recognition.audio import AudioData
  from speech_recognition.exceptions import RequestError, UnknownValueError
label_desc: Use image node_id 2 for calling the OutputParser obj's underlying member method code with example usage: obj.parse(response_text) and returns: best_hypothesis, actual_result, best_hypothesis,  confidence