code: def generate_entities(info, vectors, ids=None):
      entities = []
      for field in info["fields"]:
          # if field["name"] == "_id":
          #     continue
          field_type = field["type"]
          entities.append(
              {
                  "name": field["name"],
                  "type": field_type,
                  "values": generate_values(field_type, vectors, ids),
              }
          )
      return entities
  
imports: import os
  import logging
  import numpy
  import sklearn.preprocessing
  import h5py
  import random
  from itertools import product
  from pymilvus import DataType
  from milvus_benchmark import config
label_desc: Use image node_id 5 for calling a global function with example usage: generate_entities(info, vectors, ids) and returns: entities