code: def _parse_model_uri(model_uri):
      parsed = urllib.parse.urlparse(model_uri, allow_fragments=False)
      scheme = parsed.scheme
      path = parsed.path
      if not path.startswith("/") or len(path) <= 1:
          raise MlflowException(
              f"Malformed model uri '{model_uri}'",
              error_code=INVALID_PARAMETER_VALUE,
          )
      path = path.lstrip("/")
      return scheme, path
  
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 2 for calling a global function with example usage: _parse_model_uri(model_uri) and returns: scheme,  path