code: def __init__(self, chat_task, model_name):
      self.chat_task = chat_task
  
      model = chat_task.session.model_controller.get_model(
          model_name, project_name=chat_task.project_name
      )
      model_record = db.Predictor.query.get(model["id"])
      integration_record = db.Integration.query.get(
          model_record.integration_id
      )
  
      self.model_info = {
          "model_name": model_name,
          "mode": model_record.learn_args["using"].get("mode"),
          "user_column": model_record.learn_args["using"].get(
              "user_column"
          ),
          "bot_column": model_record.learn_args["using"].get(
              "assistant_column"
          ),
          "output": model_record.to_predict[0],
          "engine": integration_record.engine,
      }
  
      # redefined prompt
      self.prompt = None
  
imports: import datetime
  from mindsdb.interfaces.storage import db
  from .types import BotException
label_desc: Use image node_id 1 to create a new ModelExecutor object  with example: obj = ModelExecutor(chat_task, model_name)