code: def equal_entity(exp, actual):
      """
      compare two entities containing vector field
      {"int64": 0, "float": 0.0, "float_vec": [0.09111554112502457, ..., 0.08652634258062468]}
      :param exp: exp entity
      :param actual: actual entity
      :return: bool
      """
      assert actual.keys() == exp.keys()
      for field, value in exp.items():
          if isinstance(value, list):
              assert len(actual[field]) == len(exp[field])
              for i in range(0, len(exp[field]), 4):
                  assert (
                      abs(actual[field][i] - exp[field][i]) < ct.epsilon
                  )
          else:
              assert actual[field] == exp[field]
      return True
  
file_path: milvus/tests/python_client/check/param_check.py
imports: import sys
  import operator
  from common import common_type
  from utils.util_log import test_log
label_desc: Use image node_id 9 for calling a global function with example usage: equal_entity(exp, actual) and returns: True