code: def multivec_collection_setup(
      collection_name="test_collection",
      on_disk_vectors=False,
      on_disk_payload=False,
  ):
      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": "Dot",
                      "hnsw_config": {
                          "m": 20,
                      },
                      "on_disk": on_disk_vectors,
                  },
                  "audio": {
                      "size": 4,
                      "distance": "Dot",
                      "hnsw_config": {"ef_construct": 100},
                      "quantization_config": {
                          "scalar": {"type": "int8", "quantile": 0.6}
                      },
                      "on_disk": on_disk_vectors,
                  },
                  "text": {
                      "size": 8,
                      "distance": "Cosine",
                      "quantization_config": {
                          "scalar": {"type": "int8", "always_ram": True}
                      },
                      "on_disk": on_disk_vectors,
                  },
              },
              "hnsw_config": {"m": 10, "ef_construct": 80},
              "quantization": {
                  "scalar": {"type": "int8", "quantile": 0.5}
              },
              "on_disk_payload": on_disk_payload,
          },
      )
      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],
                          "audio": [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],
                          "audio": [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"]},
                  },
              ]
          },
      )
      assert response.ok
  
file_path: qdrant/openapi/tests/openapi_integration/test_vector_config.py
imports: import random
  from time import sleep
  import pytest
  from .helpers.helpers import request_with_validation
  from .helpers.collection_setup import drop_collection
label_desc: Use image node_id 2 for calling a global function with example usage: multivec_collection_setup(collection_name, on_disk_vectors, on_disk_payload) without return types