code: def get_vector_type_from_metric(metric_type):
      if metric_type in ["hamming", "jaccard"]:
          vector_type = DataType.BINARY_VECTOR
      else:
          vector_type = DataType.FLOAT_VECTOR
      return vector_type
  
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 10 for calling a global function with example usage: get_vector_type_from_metric(metric_type) and returns: vector_type