// This file is autogenerated, DO NOT EDIT
// Use `node scripts/generate-docs-examples.mjs` to generate the docs examples

[source, js]
----
const response = await client.ingest.putPipeline({
  id: "my-text-embeddings-pipeline",
  description: "Text embedding pipeline",
  processors: [
    {
      inference: {
        model_id: "sentence-transformers__msmarco-minilm-l-12-v3",
        target_field: "my_embeddings",
        field_map: {
          my_text_field: "text_field",
        },
      },
    },
  ],
});
console.log(response);
----
