code: def search_array_group_by(group_by: str):
      response = request_with_validation(
          api=SEARCH_GROUPS_API,
          method="POST",
          path_params={"collection_name": collection_name},
          body={
              "vector": [0.0, 1.0, 0.0, 0.0],
              "limit": 6,
              "with_payload": True,
              "group_by": group_by,
              "group_size": 3,
          },
      )
      assert response.ok
  
      groups = response.json()["result"]["groups"]
      assert len(groups) == 6
  
      group_ids = [g["id"] for g in groups]
  
      for i in range(3):
          assert f"valid_{i}" in group_ids
          assert f"valid_too_{i}" in group_ids
  
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 12 for calling a global function with example usage: search_array_group_by(group_by) without return types