code: def test_default_is_avg_vector():
      params = {
          "positive": [1, 2],
          "negative": [3, 4],
          "exact": True,
          "limit": 10,
      }
  
      default_response = request_with_validation(
          api="/collections/{collection_name}/points/recommend",
          method="POST",
          path_params={"collection_name": collection_name},
          body={
              **params,
          },
      )
      assert default_response.ok
  
      # we should only get 4 because there are 8 vectors and we used 4 as examples
      assert len(default_response.json()["result"]) == 4
  
      avg_response = request_with_validation(
          api="/collections/{collection_name}/points/recommend",
          method="POST",
          path_params={"collection_name": collection_name},
          body={
              **params,
              "strategy": "average_vector",
          },
      )
      assert avg_response.ok
      assert len(avg_response.json()["result"]) == 4
  
      assert (
          default_response.json()["result"]
          == avg_response.json()["result"]
      )
  
file_path: qdrant/openapi/tests/openapi_integration/test_recommend.py
imports: import pytest
  from .helpers.collection_setup import basic_collection_setup, drop_collection
  from .helpers.helpers import request_with_validation
label_desc: Use image node_id 2 for calling a global function with example usage: test_default_is_avg_vector() without return types