[source, ruby]
----
response = client.ingest.put_pipeline(
  id: 'cohere_embeddings',
  body: {
    processors: [
      {
        inference: {
          model_id: 'cohere_embeddings',
          input_output: {
            input_field: 'content',
            output_field: 'content_embedding'
          }
        }
      }
    ]
  }
)
puts response
----
