// This file is autogenerated, DO NOT EDIT
// search/search-your-data/semantic-search-elser.asciidoc:78

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