unitxt
unitxt copied to clipboard
Create Rename and deprecate RenameFields
Today, RenameFields uses a map.
RenameFields(field_to_field={"labels": "label"}),
to simply the experience we should have
Rename(field="labels", to_field="label").
We should replace all existing use in documentation of RenameFields with Rename and deprecate RenameFields.