code: def test_search_with_multiple_groups():
      response = request_with_validation(
          api="/collections/{collection_name}/points/search/groups",
          method="POST",
          path_params={"collection_name": collection_name},
          body={
              "vector": [0.0, 0.0, 1.0, 1.0],
              "limit": 2,
              "with_payload": True,
              "group_by": "mkey",
              "group_size": 2,
          },
      )
      assert response.ok
      groups = response.json()["result"]["groups"]
      assert len(groups) == 2
  
      assert groups[0]["id"] == "a"
      assert groups[1]["id"] == "b"
  
imports: import json
  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 7 for calling a global function with example usage: test_search_with_multiple_groups() without return types