Auto-generated code for 8.15 (#2570)

This commit is contained in:
Elastic Machine
2025-01-13 16:08:26 +00:00
committed by GitHub
parent 11f12b48e1
commit d542c069e8
8 changed files with 214 additions and 0 deletions

View File

@ -0,0 +1,18 @@
// 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: "jinaai-index",
mappings: {
properties: {
content: {
type: "semantic_text",
inference_id: "jinaai-embeddings",
},
},
},
});
console.log(response);
----