Files
elasticsearch-js/docs/doc_examples/1c330f0fc9eac19d0edeb8c4017b9b93.asciidoc
2024-09-24 10:04:11 -05:00

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