code: def prepare_bulk_insert_csv_files(
      minio_endpoint="",
      bucket_name="milvus-bucket",
      rows=100,
      dim=128,
      auto_id=True,
      float_vector=True,
      data_fields=[],
      file_nums=1,
      force=False,
  ):
      """
      Generate row based files based on params in csv format and copy them to minio
  
      :param minio_endpoint: the minio_endpoint of minio
      :type minio_endpoint: str
  
      :param bucket_name: the bucket name of Milvus
      :type bucket_name: str
  
      :param rows: the number entities to be generated in the file
      :type rows: int
  
      :param dim: dim of vector data
      :type dim: int
  
      :param auto_id: generate primary key data or not
      :type auto_id: bool
  
      :param float_vector: generate float vectors or binary vectors
      :type float_vector: boolean
  
      :param: data_fields: data fields to be generated in the file(s):
              It supports one or all of [pk, vectors, int, float, string, boolean]
              Note: it automatically adds pk field if auto_id=False
      :type data_fields: list
  
      :param file_nums: file numbers to be generated
      :type file_nums: int
  
      :param force: re-generate the file(s) regardless existing or not
      :type force: boolean
      """
      data_fields_c = copy.deepcopy(data_fields)
      log.info(f"data_fields: {data_fields}")
      log.info(f"data_fields_c: {data_fields_c}")
      files = gen_csv_files(
          rows=rows,
          dim=dim,
          auto_id=auto_id,
          float_vector=float_vector,
          data_fields=data_fields_c,
          file_nums=file_nums,
          force=force,
      )
      copy_files_to_minio(
          host=minio_endpoint,
          r_source=data_source,
          files=files,
          bucket_name=bucket_name,
          force=force,
      )
      return files
  
imports: import copy
  import json
  import os
  import time
  import numpy
  import pandas
  import random
  from faker import Faker
  from sklearn import preprocessing
  from common.common_func import gen_unique_str
  from common.minio_comm import copy_files_to_minio
  from utils.util_log import test_log
label_desc: Use image node_id 30 for calling a global function with example usage: prepare_bulk_insert_csv_files(minio_endpoint, bucket_name, rows, dim, auto_id, float_vector, data_fields, file_nums, force) and returns: files