v1.9.0
版本发布时间: 2023-06-09 20:07:47
argilla-io/argilla最新发布版本:v2.1.0(2024-09-05 23:11:08)
🔆 Highlights
New question types in Feedback Datasets
We've included two new question types in Feedback Datasets: LabelQuestion
and MultiLabelQuestion
. These are specially useful for applying one or multiple labels to a record, for example, for text classification tasks. In this new view, you can add multiple classification questions and even combine them with the other question types available in Feedback Datasets: RatingQuestion
and TextQuestion
.
Markdown support in Feedback Fields and Text Questions
You can now add the use_markdown=True
tag to a TextField
or a TextQuestion
to have the UI render the text as markdown. You can use this to read and write code, tables or even add images.
Further improvements in Feedback Datasets
We continue to add improvements to our new Feedback Datasets:
- We've added checks to avoid having fields and questions with repeated names.
- Dataset cards generated using
FeedbackDataset.push_to_huggingface(generate_card=True)
now follow the official Hugging Face template.
Changelog 1.9.0
Added
- Added boolean
use_markdown
property toTextFieldSettings
model (#3000) - Added boolean
use_markdown
property toTextQuestionSettings
model (#3000). - Added new status
draft
for theResponse
model (#3033) - Added
LabelSelectionQuestionSettings
class allowing to create label selection (single-choice) questions in the API (#3005) - Added
MultiLabelSelectionQuestionSettings
class allowing to create multi-label selection (multi-choice) questions in the API (#3010). - Added
POST /api/v1/me/datasets/{dataset_id}/records/search
endpoint (#3068). - Added new components in feedback task Question form: MultiLabel (#3064) and SingleLabel (#3016).
- Added docstrings to the
pydantic.BaseModel
s defined atargilla/client/feedback/schemas.py
(#3137)
Changed
- Updated
GET /api/v1/me/datasets/:dataset_id/metrics
output payload to include the count of responses withdraft
status (#3033) - Database setup for unit tests. Now the unit tests use a different database than the one used by the local Argilla server (Closes #2987).
- Updated
alembic
setup to be able to autogenerate revision/migration scripts using SQLAlchemy metadata from Argilla server models (#3044) - Improved
DatasetCard
generation onFeedbackDataset.push_to_huggingface
whengenerate_card=True
, following the official HuggingFace Hub template, but suited toFeedbackDataset
s from Argilla (#3110)
Fixed
- Disallow
fields
andquestions
inFeedbackDataset
with the same name (#3126).
As always, thanks to our amazing contributors!
- @gitrock made their first contribution in https://github.com/argilla-io/argilla/pull/3091
- @ChadDa3mon made their first contribution in https://github.com/argilla-io/argilla/pull/3092