// This file is autogenerated, DO NOT EDIT // Use `node scripts/generate-docs-examples.js` to generate the docs examples [source, js] ---- const response = await client.indices.create({ index: "quantized-image-index", mappings: { properties: { "image-vector": { type: "dense_vector", element_type: "float", dims: 2, index: true, index_options: { type: "int8_hnsw", }, }, title: { type: "text", }, }, }, }); console.log(response); ----