code: def multivec_collection_setup(
      collection_name="test_collection",
      on_disk_payload=False,
      on_disk_vectors=False,
      distance=None,
  ):
      response = request_with_validation(
          api="/collections/{collection_name}",
          method="DELETE",
          path_params={"collection_name": collection_name},
      )
      assert response.ok
  
      response = request_with_validation(
          api="/collections/{collection_name}",
          method="PUT",
          path_params={"collection_name": collection_name},
          body={
              "vectors": {
                  "image": {
                      "size": 4,
                      "distance": distance or "Dot",
                      "on_disk": on_disk_vectors,
                  },
                  "text": {
                      "size": 8,
                      "distance": distance or "Cosine",
                      "on_disk": on_disk_vectors,
                  },
              },
              "sparse_vectors": {
                  "sparse-image": {},
                  "sparse-text": {},
              },
              "on_disk_payload": on_disk_payload,
          },
      )
      assert response.ok
  
      response = request_with_validation(
          api="/collections/{collection_name}",
          method="GET",
          path_params={"collection_name": collection_name},
      )
      assert response.ok
  
      response = request_with_validation(
          api="/collections/{collection_name}/points",
          method="PUT",
          path_params={"collection_name": collection_name},
          query_params={"wait": "true"},
          body={
              "points": [
                  {
                      "id": 1,
                      "vector": {
                          "image": [0.05, 0.61, 0.76, 0.74],
                          "text": [
                              0.05,
                              0.61,
                              0.76,
                              0.74,
                              0.05,
                              0.61,
                              0.76,
                              0.74,
                          ],
                      },
                      "payload": {"city": "Berlin"},
                  },
                  {
                      "id": 2,
                      "vector": {
                          "image": [0.19, 0.81, 0.75, 0.11],
                          "text": [
                              0.19,
                              0.81,
                              0.75,
                              0.11,
                              0.19,
                              0.81,
                              0.75,
                              0.11,
                          ],
                      },
                      "payload": {"city": ["Berlin", "London"]},
                  },
                  {
                      "id": 3,
                      "vector": {
                          "image": [0.36, 0.55, 0.47, 0.94],
                          "text": [
                              0.36,
                              0.55,
                              0.47,
                              0.94,
                              0.36,
                              0.55,
                              0.47,
                              0.94,
                          ],
                      },
                      "payload": {"city": ["Berlin", "Moscow"]},
                  },
                  {
                      "id": 4,
                      "vector": {
                          "image": [0.18, 0.01, 0.85, 0.80],
                          "text": [
                              0.18,
                              0.01,
                              0.85,
                              0.80,
                              0.18,
                              0.01,
                              0.85,
                              0.80,
                          ],
                      },
                      "payload": {"city": ["London", "Moscow"]},
                  },
                  {
                      "id": 5,
                      "vector": {
                          "image": [0.24, 0.18, 0.22, 0.44],
                          "text": [
                              0.24,
                              0.18,
                              0.22,
                              0.44,
                              0.24,
                              0.18,
                              0.22,
                              0.44,
                          ],
                      },
                      "payload": {"count": 0},
                  },
                  {
                      "id": 6,
                      "vector": {
                          "image": [0.35, 0.08, 0.11, 0.44],
                          "text": [
                              0.35,
                              0.08,
                              0.11,
                              0.44,
                              0.35,
                              0.08,
                              0.11,
                              0.44,
                          ],
                      },
                  },
                  {
                      "id": 7,
                      "vector": {
                          "sparse-image": {
                              "indices": [1, 2, 4, 8],
                              "values": [1.5, 1.5, 1.5, 1.5],
                          },
                          "sparse-text": {
                              "indices": [66, 12],
                              "values": [0.5, 0.5],
                          },
                      },
                  },
                  {
                      "id": 8,
                      "vector": {
                          "sparse-image": {
                              "indices": [2, 8],
                              "values": [2.5, 2.5],
                          },
                          "sparse-text": {
                              "indices": [1, 2, 3],
                              "values": [0.1, 0.2, 0.3],
                          },
                      },
                      "payload": {"count": 0},
                  },
              ]
          },
      )
      assert response.ok
  
imports: from .helpers import request_with_validation
label_desc: Use image node_id 4 for calling a global function with example usage: multivec_collection_setup(collection_name, on_disk_payload, on_disk_vectors, distance) without return types