Copy or merge datasets
db_actions · Built-in action recipeCopy or merge annotated data into a new dataset.
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 Copy or merge datasets recipe (db_actions) and help me choose the right settings for my data.- In the app, go to ActionsNew action.
- Select the Copy or merge datasets recipe under Data.
- Fill in the form – you'll need to provide Operation. 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 db_actions --help.
| Argument | Type | Description | Default |
|---|---|---|---|
--name | str | Name of the action | None |
--copy.in-dataset | str | Dataset: Examples already saved in a dataset.One option for Operation | None |
--copy.in-asset | str | Input asset: Data uploaded to your cluster, e.g. a JSONL file.One option for Operation | None |
--copy.out-set | str | New dataset: Name of the new dataset to copy to.One option for Operation | None |
--copy.input-keys | List[str] | Input keys: Keys from each example that form the input (e.g. text, image). Only needed for an asset whose examples don't record the interface they were annotated in: a dataset's examples keep their keys.One option for Operation | None |
--copy.user-ann-keys | List[str] | User annotation keys: Keys from each example that hold user annotations (e.g. spans, label). Only needed for an asset whose examples don't record the interface they were annotated in: a dataset's examples keep their keys.One option for Operation | None |
--merge.in-sets | List[str] | Datasets to mergeOne option for Operation | None |
--merge.out-set | str | New dataset: Name of the new dataset to merge into.One option for Operation | None |
--merge.input-keys | List[str] | Input keys: Keys from each example that form the input (e.g. text, image). Only needed for an asset whose examples don't record the interface they were annotated in: a dataset's examples keep their keys.One option for Operation | None |
--merge.user-ann-keys | List[str] | User annotation keys: Keys from each example that hold user annotations (e.g. spans, label). Only needed for an asset whose examples don't record the interface they were annotated in: a dataset's examples keep their keys.One option for Operation | None |
--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 |