v1.11.0
版本发布时间: 2023-06-22 23:14:17
argilla-io/argilla最新发布版本:v2.1.0(2024-09-05 23:11:08)
🔆 Highlights
New owner
role and user update command
We've added a new user role, owner
, that has permissions over all users, workspaces and datasets in Argilla (like the admin
role in earlier versions). From this version, the admin
role will only have permissions over datasets and users in workspaces assigned to them.
You can change a user from admin to owner using a simple CLI command: python -m argilla users update argilla --role owner
.
Improved user and workspace management
You can now get lists of users and workspaces, create new ones and give users access to workspaces directly from the Python SDK. Note that only owners will have permissions for all these actions. Admins will be able to give users access to workspaces where they have access.
Metadata fields for Feedback records
You can now add metadata information to your records. This is useful to store information that's not needed for the labeling UI but important for downstream usage (e.g., prompt id, model IDs, etc.)
Changelog 1.11.0
Fixed
- Replaced
np.float
alias byfloat
to avoidAttributeError
when usingfind_label_errors
function withnumpy>=1.24.0
(#3214). - Fixed
format_as("datasets")
when no responses or optional respones inFeedbackRecord
, to set their value to what 🤗 Datasets expects instead of justNone
(#3224). - Fixed
push_to_huggingface()
whengenerate_card=True
(default behaviour), as we were passing a sample record to theArgillaDatasetCard
class, andUUID
s introduced in 1.10.0 (#3192), are not JSON-serializable (#3231). - Fixed
from_argilla
andpush_to_argilla
to ensure consistency on both field and question re-construction, and to ensureUUID
s are properly serialized asstr
, respectively (#3234).
Added
- Added
metadata
attribute to theRecord
of theFeedbackDataset
(#3194) - New
users update
command to update the role for an existing user (#3188) - New
Workspace
class to allow users manage their Argilla workspaces and the users assigned to those workspaces via the Python client (#3180) - Added
User
class to let users manage their Argilla users via the Python client (#3169). - Added an option to display
tqdm
progress bar toFeedbackDataset.push_to_argilla
when looping over the records to upload (#3233).
Changed
- The role system now support three different roles
owner
,admin
andannotator
(#3104) -
admin
role is scoped to workspace-level operations (#3115) - The
owner
user is created among the default pool of users in the quickstart, and the default user in the server has nowowner
role (#3248), reverting (#3188).
Deprecated
- As of Python 3.7 end-of-life (EOL) on 2023-06-27, Argilla will no longer support Python 3.7 (#3188). More information at https://peps.python.org/pep-0537/
As always, thanks to our amazing contributors!
- @damianpumar made their first contribution in https://github.com/argilla-io/argilla/pull/2950
- @MedAmine-SUDO made their first contribution in https://github.com/argilla-io/argilla/pull/3204
- @manulpatel made their first contribution in https://github.com/argilla-io/argilla/pull/3233