Skip to content

Commit

Permalink
feat: add TextQuestion type to argilla connector (CIKB-5)
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian Steiner committed Jun 11, 2024
1 parent d1f3211 commit 70ec812
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,18 @@
## Unreleased

### Breaking Changes
...
- Change functionallity of `Question` base model in `argilla_client.py`. `Question` class as base class. Type-specific attributes maintained in subclasses `RatingQuestion` and `TextQuestion`
- Renamed `ArgillaEvaluation` to `ArgillaRatingEvaluation`
- Changed logic of `ensure_dataset_exists` in `DefaultArgillaClient` -> Check first if dataset exists. If exists return dataset_id of existing dataset. If not create the dataset.
- Changed api url in `_list_workspaces` in `DefaultArgillaClient` to api v1 url.

### New Features
...
- Argilla type `TextQuestion` added for collecting natural language feedback or textual responses from labelers.
- Argilla type `RatingQuestion` added for capturing numerical rating feedback
- Add new test cases for argilla connector:
- `test_client_can_load_existing_workspace`: Test if the client can load an existing workspace by name.
- `test_client_can_load_existing_dataset`: Test if the client can load an existing dataset by name.
- `test_client_can_create_a_dataset_with_text_question_records`: Test if the client can create `TextQuestion` records in a dataset.

### Fixes
...
Expand Down

0 comments on commit 70ec812

Please sign in to comment.