code: def _get_ft_model_type(self, model_name: str):
      for base_model in self.chat_completion_models:
          if base_model.lower() in model_name.lower():
              return base_model
      logger.warning(
          f"Cannot recognize model {model_name}. Finetuning may fail."
      )
      return model_name.lower()
  
imports: import os
  import openai
  import json
  import contextlib
  from typing import Optional, Dict
  import pandas
  from mindsdb.integrations.handlers.openai_handler.openai_handler import OpenAIHandler
  from mindsdb.integrations.handlers.openai_handler.constants import OPENAI_API_BASE
  from mindsdb.integrations.utilities.handler_utils import get_api_key
  from mindsdb.utilities import log
label_desc: Use image node_id 10 for calling the AnyscaleEndpointsHandler obj's underlying member method code with example usage: obj._get_ft_model_type(model_name) and returns: model_name, base_model