code: def _parse_chat_response_format(response):
      try:
          text = response["choices"][0]["message"]["content"]
      except (KeyError, IndexError, TypeError):
          text = None
      return text
  
file_path: mlflow/mlflow/metrics/genai/model_utils.py
imports: import logging
  import os
  import urllib.parse
  from mlflow.exceptions import MlflowException
  from mlflow.protos.databricks_pb2 import INVALID_PARAMETER_VALUE
  from mlflow.utils.openai_utils import REQUEST_URL_CHAT
label_desc: Use image node_id 6 for calling a global function with example usage: _parse_chat_response_format(response) and returns: text