// This file is autogenerated, DO NOT EDIT
// tab-widgets/inference-api/infer-api-ingest-pipeline.asciidoc:67

[source, python]
----
resp = client.ingest.put_pipeline(
    id="hugging_face_embeddings_pipeline",
    processors=[
        {
            "inference": {
                "model_id": "hugging_face_embeddings",
                "input_output": {
                    "input_field": "content",
                    "output_field": "content_embedding"
                }
            }
        }
    ],
)
print(resp)
----
