Ingest PDFs
pdf_ingest · Built-in action recipeRender a published PDF asset's pages into images with pypdfium2, making it ready to annotate. Run via ellf publish data --kind pdf --render, or directly against an already-published asset.
If you've connected Ellf to your coding assistant, it can set up the action for you: it knows the recipe's settings, can create the datasets and assets it needs and will ask you about anything it can't work out itself.
✳︎Claude Code: Setting up an action
› Set up an Ellf action using the Ingest PDFs recipe (pdf_ingest) and help me choose the right settings for my data.- In the app, go to ActionsNew action.
- Select the Ingest PDFs recipe under PDF.
- Fill in the form – you'll need to provide PDF document set. Everything else has sensible defaults.
- Create the action. It starts on your cluster straight away.
Create the action with ellf actions create and the recipe name. All settings from the form are available as arguments. To view all recipe arguments, run ellf actions create pdf_ingest --help.
| Argument | Type | Description | Default |
|---|---|---|---|
--name | str | Name of the action | None |
--input | str | PDF document set: PDFs published to your cluster, with their pages rendered as images. | |
--scale | float | Render scale: Page-point to pixel multiplier for rendered pages. | 2 |
--image-format | str | Image format: Format for rendered page images: webp or png.Available: webp, png | "webp" |
--project-id | str | Project ID to add action to. Defaults to your saved project. | None |
--worker-class | str | Worker class to launch the action on, as configured on your cluster | None |