code: def test_raw_vectors():
      points = get_points([1, 2, 3, 4, 5, 6, 7, 8])
  
      # Assert using ids is the same as using the raw vectors
      response_ids = request_with_validation(
          api="/collections/{collection_name}/points/recommend",
          method="POST",
          path_params={"collection_name": collection_name},
          body={
              "positive": [point["id"] for point in points[:2]],
              "negative": [point["id"] for point in points[2:4]],
              "limit": 8,
          },
      )
      assert response_ids.ok
      assert len(response_ids.json()["result"]) == 4
  
      response_raw = request_with_validation(
          api="/collections/{collection_name}/points/recommend",
          method="POST",
          path_params={"collection_name": collection_name},
          body={
              "positive": [point["vector"] for point in points[:2]],
              "negative": [point["vector"] for point in points[2:4]],
              "limit": 8,
              "filter": {
                  "must_not": [
                      {
                          # simulate using ids behavior
                          "has_id": [
                              point["id"] for point in points[:4]
                          ]
                      }
                  ]
              },
          },
      )
      assert response_raw.ok
      assert len(response_raw.json()["result"]) == 4
  
      assert (
          response_ids.json()["result"] == response_raw.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 8 for calling a global function with example usage: test_raw_vectors() without return types