// This file is autogenerated, DO NOT EDIT
// mapping/types/dense-vector.asciidoc:183

[source, python]
----
resp = client.indices.create(
    index="my-byte-quantized-index",
    mappings={
        "properties": {
            "my_vector": {
                "type": "dense_vector",
                "dims": 64,
                "index": True,
                "index_options": {
                    "type": "bbq_hnsw"
                }
            }
        }
    },
)
print(resp)
----
