Files
elasticsearch-js/docs/doc_examples/13ecdf99114098c76b050397d9c3d4e6.asciidoc
2025-04-07 14:41:26 -05:00

13 lines
356 B
Plaintext

// 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.inference.sparseEmbedding({
inference_id: "my-elser-model",
input:
"The sky above the port was the color of television tuned to a dead channel.",
});
console.log(response);
----