class_docstr: LiteLLMHandler is a MindsDB handler for litellm - https://docs.litellm.ai/docs/
class_docstr_tok: ["LiteLLMHandler","is","a","MindsDB","handler","for","litellm","-","https",":","\/\/docs.litellm.ai\/docs\/"]
docstr: Dispatch is validating args and storing args in model_storage
docstr_tok: ["Dispatch","is","validating","args","and","storing","args","in","model_storage"]
code: def create(
      self,
      target: str,
      df: pd.DataFrame = None,
      args: Optional[Dict] = None,
  ):
      """
      Dispatch is validating args and storing args in model_storage
      """
      # get api key from user input on create ML_ENGINE or create MODEL
      input_args = args["using"]
  
      # get api key from engine_storage
      ml_engine_args = self.engine_storage.get_connection_args()
  
      # check engine_storage for api_key
      input_args.update({k: v for k, v in ml_engine_args.items()})
  
      # validate args
      export_args = CompletionParameters(**input_args).dict()
  
      # store args
      self.model_storage.json_set("args", export_args)
  
file_path: mindsdb/mindsdb/integrations/handlers/litellm_handler/litellm_handler.py
imports: import ast
  from typing import Dict, Optional, List
  import pandas
  from mindsdb.integrations.libs.base import BaseMLEngine
  from mindsdb.utilities import log
  from mindsdb.integrations.handlers.litellm_handler.settings import CompletionParameters
  from litellm import completion, batch_completion
label_desc: Use image node_id 3 for calling the LiteLLMHandler obj's underlying member method code with example usage: obj.create(target, df, args) without return types