argilla-io / argilla

Argilla is a collaboration tool for AI engineers and domain experts to build high-quality datasets
https://docs.argilla.io
Apache License 2.0
4k stars 378 forks source link

[REFACTOR] `argilla`: Align questions to `Resource` API #5680

Closed frascuchon closed 22 hours ago

frascuchon commented 2 weeks ago

Description

Closes https://github.com/argilla-io/argilla/issues/4931

Type of change

How Has This Been Tested

Checklist

frascuchon commented 1 week ago

This looks like a nice refactor and alignment. One question: does the new update API method allow updating questions? If so, how and when within the dataset lifecycle?

Yes. This change allows users to update some values for questions. It's true that currently there is not much flexibility to change questions (titles, descriptions, some flags) but this may change in the future (adding new labels for label or span questions,...). Fields have a similar flexibility degree and can be updated from the SDK.