13 lines
356 B
Plaintext
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);
|
|
----
|