// This file is autogenerated, DO NOT EDIT
// Use `node scripts/generate-docs-examples.mjs` to generate the docs examples

[source, js]
----
const response = await client.indices.create({
  index: "google-vertex-ai-embeddings",
  mappings: {
    properties: {
      content_embedding: {
        type: "dense_vector",
        dims: 768,
        element_type: "float",
        similarity: "dot_product",
      },
      content: {
        type: "text",
      },
    },
  },
});
console.log(response);
----
