Files
elasticsearch-js/docs/doc_examples/517d291044c3e4448b8804322616ab4a.asciidoc
2024-08-19 10:52:15 -05:00

22 lines
463 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.ingest.putPipeline({
id: "elser_embeddings",
processors: [
{
inference: {
model_id: "elser_embeddings",
input_output: {
input_field: "content",
output_field: "content_embedding",
},
},
},
],
});
console.log(response);
----