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 random
  from pymilvus import Milvus, DataType
label_desc: Use image node_id 2 for calling a global function with example usage: generate_entities(info, vectors, ids) and returns: entities