code: def __init__(self, config: RouteConfig) -> None:
      super().__init__(config)
      if config.model.config is None or not isinstance(
          config.model.config, MlflowModelServingConfig
      ):
          raise TypeError(f"Invalid config type {config.model.config}")
      self.mlflow_config: MlflowModelServingConfig = config.model.config
      self.headers = {"Content-Type": "application/json"}
  
imports: import time
  from typing import List
  from fastapi import HTTPException
  from fastapi.encoders import jsonable_encoder
  from pydantic import BaseModel, StrictFloat, StrictStr, ValidationError, validator
  from mlflow.gateway.config import MlflowModelServingConfig, RouteConfig
  from mlflow.gateway.constants import MLFLOW_SERVING_RESPONSE_KEY
  from mlflow.gateway.providers.base import BaseProvider
  from mlflow.gateway.providers.utils import send_request
  from mlflow.gateway.schemas import chat, completions, embeddings
label_desc: Use image node_id 1 to create a new MlflowModelServingProvider object from inherited base classes: BaseProvider with example: obj = MlflowModelServingProvider(config)