Auto-generated code for 8.15 (#2359)

This commit is contained in:
Elastic Machine
2024-09-03 15:36:52 +01:00
committed by GitHub
parent 411f379006
commit 8f028a522a
82 changed files with 767 additions and 403 deletions

View File

@ -0,0 +1,22 @@
// 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: "alibabacloud-ai-search-embeddings",
mappings: {
properties: {
content_embedding: {
type: "dense_vector",
dims: 1024,
element_type: "float",
},
content: {
type: "text",
},
},
},
});
console.log(response);
----