code: def compare_vectors(v1, v2):
      if len(v1) != len(v2):
          return False
      for i in range(len(v1)):
          if abs(v1[i] - v2[i]) > 1e-5:
              return False
      return True
  
file_path: qdrant/openapi/tests/openapi_integration/test_optional_vectors.py
imports: import pytest
  from .helpers.collection_setup import drop_collection, multivec_collection_setup
  from .helpers.helpers import request_with_validation
label_desc: Use image node_id 2 for calling a global function with example usage: compare_vectors(v1, v2) and returns: True, False, False