code: def create_collection(name: str, quantization_config: dict = None):
      # create collection with a lower `indexing_threshold_kb` to generate the HNSW index
      response = requests.put(
          f"http://{QDRANT_HOST}/collections/{name}",
          headers={"Content-Type": "application/json"},
          json={
              "vectors": {"image": {"size": 256, "distance": "Dot"}},
              "sparse_vectors": {
                  "text": {
                      "index": {
                          "on_disk": True,
                      }
                  }
              },
              "optimizers_config": {
                  "default_segment_number": 2,
                  "indexing_threshold_kb": 10,
              },
              "quantization_config": quantization_config,
          },
      )
      assert response.ok
  
file_path: qdrant/tests/storage-compat/populate_db/populate_db.py
imports: import os
  import random
  import uuid
  from typing import List
  import requests
label_desc: Use image node_id 2 for calling a global function with example usage: create_collection(name, quantization_config) without return types