20 lines
412 B
Plaintext
20 lines
412 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: "cbor-attachment",
|
|
description: "Extract attachment information",
|
|
processors: [
|
|
{
|
|
attachment: {
|
|
field: "data",
|
|
remove_binary: true,
|
|
},
|
|
},
|
|
],
|
|
});
|
|
console.log(response);
|
|
----
|