[Chore] Merge Argilla v2.7.1#72
Conversation
# Description <!-- Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change. --> Closes #<issue_number> **Type of change** <!-- Please delete options that are not relevant. Remember to title the PR according to the type of change --> - Bug fix (non-breaking change which fixes an issue) - New feature (non-breaking change which adds functionality) - Breaking change (fix or feature that would cause existing functionality to not work as expected) - Refactor (change restructuring the codebase without changing functionality) - Improvement (change adding some improvement to an existing functionality) - Documentation update **How Has This Been Tested** <!-- Please add some reference about how your feature has been tested. --> **Checklist** <!-- Please go over the list and make sure you've taken everything into account --> - I added relevant documentation - I followed the style guidelines of this project - I did a self-review of my code - I made corresponding changes to the documentation - I confirm My changes generate no new warnings - I have added tests that prove my fix is effective or that my feature works - I have added relevant notes to the CHANGELOG.md file (See https://keepachangelog.com/)
…ating `dataset.last_activity_at` column (#5656) # Description <!-- Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change. --> Closes #<issue_number> **Type of change** <!-- Please delete options that are not relevant. Remember to title the PR according to the type of change --> - Bug fix (non-breaking change which fixes an issue) **How Has This Been Tested** <!-- Please add some reference about how your feature has been tested. --> **Checklist** <!-- Please go over the list and make sure you've taken everything into account --> - I added relevant documentation - I followed the style guidelines of this project - I did a self-review of my code - I made corresponding changes to the documentation - I confirm My changes generate no new warnings - I have added tests that prove my fix is effective or that my feature works - I have added relevant notes to the CHANGELOG.md file (See https://keepachangelog.com/) --------- Co-authored-by: José Francisco Calvo <josefranciscocalvo@gmail.com>
Corrected "labelled" to "labeled" in [README.md]. This pull request addresses a minor typo found in repository. The typo has been corrected to improve clarity and maintain the quality of the documentation. This change is purely cosmetic and does not affect functionality. # Description <!-- Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change. --> Closes #<issue_number> **Type of change** <!-- Please delete options that are not relevant. Remember to title the PR according to the type of change --> - Bug fix (non-breaking change which fixes an issue) - New feature (non-breaking change which adds functionality) - Breaking change (fix or feature that would cause existing functionality to not work as expected) - Refactor (change restructuring the codebase without changing functionality) - Improvement (change adding some improvement to an existing functionality) - Documentation update **How Has This Been Tested** <!-- Please add some reference about how your feature has been tested. --> **Checklist** <!-- Please go over the list and make sure you've taken everything into account --> - I added relevant documentation - I followed the style guidelines of this project - I did a self-review of my code - I made corresponding changes to the documentation - I confirm My changes generate no new warnings - I have added tests that prove my fix is effective or that my feature works - I have added relevant notes to the CHANGELOG.md file (See https://keepachangelog.com/) Co-authored-by: Sara Han <127759186+sdiazlor@users.noreply.github.com>
# Description <!-- Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change. --> Closes #<issue_number> **Type of change** <!-- Please delete options that are not relevant. Remember to title the PR according to the type of change --> - Bug fix (non-breaking change which fixes an issue) - New feature (non-breaking change which adds functionality) - Breaking change (fix or feature that would cause existing functionality to not work as expected) - Refactor (change restructuring the codebase without changing functionality) - Improvement (change adding some improvement to an existing functionality) - Documentation update **How Has This Been Tested** <!-- Please add some reference about how your feature has been tested. --> **Checklist** <!-- Please go over the list and make sure you've taken everything into account --> - I added relevant documentation - I followed the style guidelines of this project - I did a self-review of my code - I made corresponding changes to the documentation - I confirm My changes generate no new warnings - I have added tests that prove my fix is effective or that my feature works - I have added relevant notes to the CHANGELOG.md file (See https://keepachangelog.com/) --------- Co-authored-by: Sara Han <127759186+sdiazlor@users.noreply.github.com>
# Description <!-- Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change. --> - [x] Use the newer version of python - [x] Use the latest version of core dependencies. (without code changes) - [x] Upgrade docker images - [x] Remove unnecessary dependencies. **Type of change** <!-- Please delete options that are not relevant. Remember to title the PR according to the type of change --> - Refactor (change restructuring the codebase without changing functionality) - Improvement (change adding some improvement to an existing functionality) **How Has This Been Tested** <!-- Please add some reference about how your feature has been tested. --> **Checklist** <!-- Please go over the list and make sure you've taken everything into account --> - I added relevant documentation - I followed the style guidelines of this project - I did a self-review of my code - I made corresponding changes to the documentation - I confirm My changes generate no new warnings - I have added tests that prove my fix is effective or that my feature works - I have added relevant notes to the CHANGELOG.md file (See https://keepachangelog.com/)
# Description Updated some of the missing German translations + a few aria updates **Type of change** - Improvement (change adding some improvement to an existing functionality) - **How Has This Been Tested** Local Build/Firefox **Checklist** <!-- Please go over the list and make sure you've taken everything into account --> - I added relevant documentation - I followed the style guidelines of this project - I did a self-review of my code - I made corresponding changes to the documentation - I confirm My changes generate no new warnings - I have added tests that prove my fix is effective or that my feature works - I have added relevant notes to the CHANGELOG.md file (See https://keepachangelog.com/) --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
…#5661) # Add a high-contrast theme & improvements for the forced-colors mode - Invisible borders for key items to make them visible in forced colors mode via `border: 1px solid var(--bg-opacity-1)` - Set a button outline of 5px in forced colors to make selections visible via `@media (forced-colors: active) ` - add a new high contrast theme to the theme.scss & to the settings menu - all new colors in the new high-contrast theme should create enough contrast for WCAG AAA - replace some hard coded colors with the colors from the current theme - add hexToCssHsl to the Color.ts and resolveCssVariable to the RecordStatus.ts to use theme vars there too The high contrast theme is currently basically the light theme with stronger colors so that it complies with WCAG AAA  In the forced color mode you can now see certain features that where not visible before:  Forced contrast mode depends on the implementation of the OS & browser therefore the selected labels I cannot just highlight with a background color and I did it with a thick border. **Type of change** - New feature (non-breaking change which adds functionality) **How Has This Been Tested** Local Build - Firefox Nightly + Chromium **Checklist** <!-- Please go over the list and make sure you've taken everything into account --> - I added relevant documentation - I followed the style guidelines of this project - I did a self-review of my code - I made corresponding changes to the documentation - I confirm My changes generate no new warnings - I have added tests that prove my fix is effective or that my feature works - I have added relevant notes to the CHANGELOG.md file (See https://keepachangelog.com/) --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
…lembic (#5672) # Description <!-- Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change. --> Alembic will use psycopy2 driver by default. We still need to install it to avoid startup errors. **Type of change** <!-- Please delete options that are not relevant. Remember to title the PR according to the type of change --> - Bug fix (non-breaking change which fixes an issue) **How Has This Been Tested** <!-- Please add some reference about how your feature has been tested. --> **Checklist** <!-- Please go over the list and make sure you've taken everything into account --> - I added relevant documentation - I followed the style guidelines of this project - I did a self-review of my code - I made corresponding changes to the documentation - I confirm My changes generate no new warnings - I have added tests that prove my fix is effective or that my feature works - I have added relevant notes to the CHANGELOG.md file (See https://keepachangelog.com/)
# Description Corrected the spelling mistakes and increased the grammatical continuity. **Type of change** These changes improve the quality of the documentations. They do not affect the system in any way. --------- Co-authored-by: David Berenstein <david.m.berenstein@gmail.com>
# Description <!-- Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change. --> Closes argilla-io/argilla#5627 **Type of change** <!-- Please delete options that are not relevant. Remember to title the PR according to the type of change --> - Improvement (change adding some improvement to an existing functionality) **How Has This Been Tested** <!-- Please add some reference about how your feature has been tested. --> **Checklist** <!-- Please go over the list and make sure you've taken everything into account --> - I added relevant documentation - I followed the style guidelines of this project - I did a self-review of my code - I made corresponding changes to the documentation - I confirm My changes generate no new warnings - I have added tests that prove my fix is effective or that my feature works - I have added relevant notes to the CHANGELOG.md file (See https://keepachangelog.com/)
# Description
<!-- Please include a summary of the changes and the related issue.
Please also include relevant motivation and context. List any
dependencies that are required for this change. -->
This PR allows users to change all the settings before creating the
dataset, and metadata and vector, when the dataset is created.
I included the `remove` method instead of a new
`settings.add(override=True)` since this change requires a lot of
internal refactor with the current design.
An example of how to use could be to change inferred settings from hub
before create the final dataset
```python
settings = rg.Settings.from_hub("google/frames-benchmark")
settings.fields.remove("answer")
for field in settings.fields:
if field.name.startswith("wiki"):
settings.fields.remove(field)
settings.metadata.add(rg.TermsMetadataProperty(field.name))
settings.questions.add(rg.TextQuestion(name="answer", title="Answer"))
dataset = rg.Dataset.from_hub("google/frames-benchmark", settings=settings)
```
Or adding new metadata or vector settings when the dataset is created:
```python
dataset = client.dataset("my-dataset")
dataset.metadata.add([rg.TermsMetadata(name="split")])
dataset.update() # this line sends the change to the argilla server
```
## Updated
You can remove a property by name:
```python
settings.fields.remove("text")
```
or by property instance
```python
for field in settings.fields:
if field.name.startwith("wiki"):
settings.fields.remove(field)
````
And you can override existing properties to change the property type,
using the new `settings.add` method:
```python
settings = Settings.from_hub(...)
# change some settings definitions before create the dataset
settings.add(rg.TermsMetadata("wikipedia_1")) # this will remove the existing wikipedia_1 property and will create a new terms metadata one
```
**Type of change**
<!-- Please delete options that are not relevant. Remember to title the
PR according to the type of change -->
- Refactor (change restructuring the codebase without changing
functionality)
- Improvement (change adding some improvement to an existing
functionality)
**How Has This Been Tested**
<!-- Please add some reference about how your feature has been tested.
-->
**Checklist**
<!-- Please go over the list and make sure you've taken everything into
account -->
- I added relevant documentation
- I followed the style guidelines of this project
- I did a self-review of my code
- I made corresponding changes to the documentation
- I confirm My changes generate no new warnings
- I have added tests that prove my fix is effective or that my feature
works
- I have added relevant notes to the CHANGELOG.md file (See
https://keepachangelog.com/)
---------
Co-authored-by: burtenshaw <ben@argilla.io>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Check the role and content properties to validate the chat field --------- Co-authored-by: Francisco Aranda <francis@argilla.io>
# Description <!-- Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change. --> Closes argilla-io/argilla#5633 **Type of change** <!-- Please delete options that are not relevant. Remember to title the PR according to the type of change --> - Bug fix (non-breaking change which fixes an issue) - New feature (non-breaking change which adds functionality) **How Has This Been Tested** <!-- Please add some reference about how your feature has been tested. --> **Checklist** <!-- Please go over the list and make sure you've taken everything into account --> - I added relevant documentation - I followed the style guidelines of this project - I did a self-review of my code - I made corresponding changes to the documentation - I confirm My changes generate no new warnings - I have added tests that prove my fix is effective or that my feature works - I have added relevant notes to the CHANGELOG.md file (See https://keepachangelog.com/) --------- Co-authored-by: José Francisco Calvo <jose@argilla.io> Co-authored-by: José Francisco Calvo <josefranciscocalvo@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
…xternal URL (#5675) # Description <!-- Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change. --> This PR fixes the `router.go` method and avoids calling `router.push` when the external flag is True **Type of change** <!-- Please delete options that are not relevant. Remember to title the PR according to the type of change --> - Bug fix (non-breaking change which fixes an issue) **How Has This Been Tested** <!-- Please add some reference about how your feature has been tested. --> **Checklist** <!-- Please go over the list and make sure you've taken everything into account --> - I added relevant documentation - I followed the style guidelines of this project - I did a self-review of my code - I made corresponding changes to the documentation - I confirm My changes generate no new warnings - I have added tests that prove my fix is effective or that my feature works - I have added relevant notes to the CHANGELOG.md file (See https://keepachangelog.com/)
This PR fixes the visualisation of highlighted text in text and chat fields adding an id
- [x] Rating values validate min / max - [x] Question name format and renaming - [x] Minor style adjustments - [x] Show required / not required in the form preview - [x] Redirect from /new/repoId to /repoId - [x] Redirect to error page when repoId is invalid --------- Co-authored-by: Francisco Aranda <francis@argilla.io> Co-authored-by: Paco Aranda <frascuchon@gmail.com> Co-authored-by: José Francisco Calvo <jose@argilla.io> Co-authored-by: José Francisco Calvo <josefranciscocalvo@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
# Description <!-- Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change. --> **Type of change** <!-- Please delete options that are not relevant. Remember to title the PR according to the type of change --> - Documentation update **How Has This Been Tested** <!-- Please add some reference about how your feature has been tested. --> **Checklist** <!-- Please go over the list and make sure you've taken everything into account --> - I added relevant documentation - I followed the style guidelines of this project - I did a self-review of my code - I made corresponding changes to the documentation - I confirm My changes generate no new warnings - I have added tests that prove my fix is effective or that my feature works - I have added relevant notes to the CHANGELOG.md file (See https://keepachangelog.com/)
# Description <!-- Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change. --> Closes argilla-io/argilla#5664 **Type of change** <!-- Please delete options that are not relevant. Remember to title the PR according to the type of change --> - Improvement (change adding some improvement to an existing functionality) **How Has This Been Tested** <!-- Please add some reference about how your feature has been tested. --> **Checklist** <!-- Please go over the list and make sure you've taken everything into account --> - I added relevant documentation - I followed the style guidelines of this project - I did a self-review of my code - I made corresponding changes to the documentation - I confirm My changes generate no new warnings - I have added tests that prove my fix is effective or that my feature works - I have added relevant notes to the CHANGELOG.md file (See https://keepachangelog.com/) --------- Co-authored-by: José Francisco Calvo <jose@argilla.io> Co-authored-by: José Francisco Calvo <josefranciscocalvo@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
fix #5659 --------- Co-authored-by: Damián Pumar <damianpumar@gmail.com>
# Description This is the feature branch for Webhooks implementation. Closes #1836 **Type of change** - New feature (non-breaking change which adds functionality) **How Has This Been Tested** - [ ] Manually tested locally and in HF spaces. **Checklist** - I added relevant documentation - I followed the style guidelines of this project - I did a self-review of my code - I made corresponding changes to the documentation - I confirm My changes generate no new warnings - I have added tests that prove my fix is effective or that my feature works - I have added relevant notes to the CHANGELOG.md file (See https://keepachangelog.com/) --------- Co-authored-by: Paco Aranda <frascuchon@gmail.com> Co-authored-by: Damián Pumar <damianpumar@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Francisco Aranda <francis@argilla.io> Co-authored-by: David Berenstein <david.m.berenstein@gmail.com> Co-authored-by: Sara Han <127759186+sdiazlor@users.noreply.github.com>
# Description <!-- Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change. --> Closes #5777 **Type of change** <!-- Please delete options that are not relevant. Remember to title the PR according to the type of change --> - Improvement (change adding some improvement to an existing functionality) **How Has This Been Tested** <!-- Please add some reference about how your feature has been tested. --> Passes similar param in query method while fetching records and could see returning similarity score. **Checklist** <!-- Please go over the list and make sure you've taken everything into account --> - I added relevant documentation - I followed the style guidelines of this project - I did a self-review of my code - I made corresponding changes to the documentation - I confirm My changes generate no new warnings - I have added tests that prove my fix is effective or that my feature works - I have added relevant notes to the CHANGELOG.md file (See https://keepachangelog.com/) --------- Co-authored-by: Sai Kiran Bonu <saikiran.bonu@phenompeople.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Francisco Aranda <francis@argilla.io> Co-authored-by: Paco Aranda <frascuchon@gmail.com>
… (#5786) # Description <!-- Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change. --> This PR allows users and workspaces to be created with predefined IDs. Passing a predefined ID when creating workspaces and users simplifies the migration process since users don't need to review responses and map them to new users, avoiding potential issues in the process. **Type of change** <!-- Please delete options that are not relevant. Remember to title the PR according to the type of change --> - Bug fix (non-breaking change which fixes an issue) - Improvement (change adding some improvement to an existing functionality) - Documentation update **How Has This Been Tested** <!-- Please add some reference about how your feature has been tested. --> **Checklist** <!-- Please go over the list and make sure you've taken everything into account --> - I added relevant documentation - I followed the style guidelines of this project - I did a self-review of my code - I made corresponding changes to the documentation - I confirm My changes generate no new warnings - I have added tests that prove my fix is effective or that my feature works - I have added relevant notes to the CHANGELOG.md file (See https://keepachangelog.com/)
# Description <!-- Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change. --> This PR fixes error when indexing records with missing values for chat fields. Noticed in [this discord thread](https://discord.com/channels/879548962464493619/1325817229954252841) **Type of change** <!-- Please delete options that are not relevant. Remember to title the PR according to the type of change --> - Bug fix (non-breaking change which fixes an issue) **How Has This Been Tested** <!-- Please add some reference about how your feature has been tested. --> **Checklist** <!-- Please go over the list and make sure you've taken everything into account --> - I added relevant documentation - I followed the style guidelines of this project - I did a self-review of my code - I made corresponding changes to the documentation - I confirm My changes generate no new warnings - I have added tests that prove my fix is effective or that my feature works - I have added relevant notes to the CHANGELOG.md file (See https://keepachangelog.com/)
…rgilla client (#5789) # Description <!-- Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change. --> Closes #5548 **Type of change** <!-- Please delete options that are not relevant. Remember to title the PR according to the type of change --> - Bug fix (non-breaking change which fixes an issue) - Improvement (change adding some improvement to an existing functionality) **How Has This Been Tested** <!-- Please add some reference about how your feature has been tested. --> **Checklist** <!-- Please go over the list and make sure you've taken everything into account --> - I added relevant documentation - I followed the style guidelines of this project - I did a self-review of my code - I made corresponding changes to the documentation - I confirm My changes generate no new warnings - I have added tests that prove my fix is effective or that my feature works - I have added relevant notes to the CHANGELOG.md file (See https://keepachangelog.com/)
# Description <!-- Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change. --> Closes argilla-io/argilla#5803 **Type of change** <!-- Please delete options that are not relevant. Remember to title the PR according to the type of change --> - Bug fix (non-breaking change which fixes an issue) **How Has This Been Tested** <!-- Please add some reference about how your feature has been tested. --> **Checklist** <!-- Please go over the list and make sure you've taken everything into account --> - I added relevant documentation - I followed the style guidelines of this project - I did a self-review of my code - I made corresponding changes to the documentation - I confirm My changes generate no new warnings - I have added tests that prove my fix is effective or that my feature works - I have added relevant notes to the CHANGELOG.md file (See https://keepachangelog.com/)
release v2.7.0
There was a problem hiding this comment.
Pull Request Overview
This PR merges Argilla v2.7.1 into Extralit while integrating new Argilla features and ensuring compatibility with existing customizations. Key changes include frontend UI enhancements, expanded API support for predefined IDs with additional tests, and server-side improvements such as configurable chat schema limits and refined search engine mapping logic.
Reviewed Changes
Copilot reviewed 52 out of 52 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| argilla-server/tests/unit/conftest.py | Removed an unused import from the contexts module. |
| argilla-server/tests/unit/api/handlers/v1/workspaces.py | Added tests covering workspace creation scenarios including predefined, missing, wrong, and duplicate IDs. |
| argilla-server/tests/unit/api/handlers/v1/users/test_create_user.py | Added tests for user creation handling predefined, missing, wrong, and duplicate IDs. |
| argilla-server/src/argilla_server/search_engine/commons.py | Updated license comment, adjusted mapping logic, and cleaned up abstract methods. |
| argilla-server/src/argilla_server/contexts/datasets.py | Removed unused imports to streamline context functionality. |
| argilla-server/src/argilla_server/contexts/accounts.py | Enhanced workspace and user creation to support optional IDs with uniqueness checks. |
| argilla-server/src/argilla_server/api/schemas/v1/workspaces.py | Added an optional id field; note the inclusion of an unexpected import from optparse. |
| argilla-server/src/argilla_server/api/schemas/v1/users.py | Added an optional id field for user creation schema. |
| argilla-server/src/argilla_server/api/schemas/v1/questions.py | Removed obsolete comment lines. |
| argilla-server/src/argilla_server/api/schemas/v1/chat.py | Made message and role length limits configurable via environment variables. |
| argilla-server/src/argilla_server/api/handlers/v1/workspaces.py | Reformatting error responses for workspace deletion. |
| argilla-server/CHANGELOG.md & argilla-frontend/CHANGELOG.md | Updated changelogs to document new features and fixes. |
| argilla-frontend/translation/* | Added translations for exporting datasets to Hugging Face Hub in English and Spanish. |
| argilla-frontend/nuxt.config.ts | Configured PostCSS with cssnano for production builds. |
| argilla-frontend/components/features/annotation/header/header-bar/ImportData.vue | Updated background color for improved UI contrast. |
| .github/workflows/argilla.yml | Changed workflow fail-fast setting from true to false. |
Comments suppressed due to low confidence (2)
argilla-server/src/argilla_server/search_engine/commons.py:4
- There's a TODO comment regarding an inconsistent license. Please resolve this discrepancy by updating or removing the license comment in accordance with the project's standard license.
# TODO: This license is not consistent with the license used in the project.
argilla-server/src/argilla_server/api/schemas/v1/workspaces.py:16
- The import 'Option' from 'optparse' appears to be unused. Consider removing it to avoid confusion and maintain cleaner code.
from optparse import Option
Codecov ReportAttention: Patch coverage is ✅ All tests successful. No failed tests found.
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 3 files with indirect coverage changes
🚀 New features to boost your workflow:
|
* fix and update test snaps * clean code * chore: Update develop version * [CI] Configure workflow permissions (#5648) * fix: enable fail-fast strategy in CI workflow * fix: Remove PostCSS config from Nuxt and update imports and license headers * fix: downgrade setup-miniconda to v2 and change miniforge variant to Mambaforge --------- Co-authored-by: Leire Aguirre <leire@argilla.io> Co-authored-by: Francisco Aranda <francis@argilla.io> Co-authored-by: Paco Aranda <frascuchon@gmail.com> Co-authored-by: José Francisco Calvo <josefranciscocalvo@gmail.com> Co-authored-by: Rahul <rahulk_c21124@students.isquareit.edu.in> Co-authored-by: Sara Han <127759186+sdiazlor@users.noreply.github.com> Co-authored-by: Farookh Zaheer Siddiqui <129654632+FarukhS52@users.noreply.github.com> Co-authored-by: Paul Bauriegel <paul.bauriegel@web.de> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Aditya Kale <113056317+kaleaditya779@users.noreply.github.com> Co-authored-by: David Berenstein <david.m.berenstein@gmail.com> Co-authored-by: burtenshaw <ben@argilla.io> Co-authored-by: José Francisco Calvo <jose@argilla.io> Co-authored-by: Damián Pumar <damianpumar@gmail.com> Co-authored-by: Natalia Elvira <126158523+nataliaElv@users.noreply.github.com> Co-authored-by: sean-hickey-wf <102522212+sean-hickey-wf@users.noreply.github.com> Co-authored-by: Paco Aranda <francisco.aranda@huggingface.co> Co-authored-by: Hamel Husain <hamel.husain@gmail.com> Co-authored-by: Louis Brulé Naudet <louisbrulenaudet@icloud.com> Co-authored-by: Saikiranbonu1661 <141391289+Saikiranbonu1661@users.noreply.github.com> Co-authored-by: Sai Kiran Bonu <saikiran.bonu@phenompeople.com>
* fix and update test snaps * clean code * chore: Update develop version * [CI] Configure workflow permissions (#5648) * fix: enable fail-fast strategy in CI workflow * fix: Remove PostCSS config from Nuxt and update imports and license headers * fix: downgrade setup-miniconda to v2 and change miniforge variant to Mambaforge --------- Co-authored-by: Leire Aguirre <leire@argilla.io> Co-authored-by: Francisco Aranda <francis@argilla.io> Co-authored-by: Paco Aranda <frascuchon@gmail.com> Co-authored-by: José Francisco Calvo <josefranciscocalvo@gmail.com> Co-authored-by: Rahul <rahulk_c21124@students.isquareit.edu.in> Co-authored-by: Sara Han <127759186+sdiazlor@users.noreply.github.com> Co-authored-by: Farookh Zaheer Siddiqui <129654632+FarukhS52@users.noreply.github.com> Co-authored-by: Paul Bauriegel <paul.bauriegel@web.de> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Aditya Kale <113056317+kaleaditya779@users.noreply.github.com> Co-authored-by: David Berenstein <david.m.berenstein@gmail.com> Co-authored-by: burtenshaw <ben@argilla.io> Co-authored-by: José Francisco Calvo <jose@argilla.io> Co-authored-by: Damián Pumar <damianpumar@gmail.com> Co-authored-by: Natalia Elvira <126158523+nataliaElv@users.noreply.github.com> Co-authored-by: sean-hickey-wf <102522212+sean-hickey-wf@users.noreply.github.com> Co-authored-by: Paco Aranda <francisco.aranda@huggingface.co> Co-authored-by: Hamel Husain <hamel.husain@gmail.com> Co-authored-by: Louis Brulé Naudet <louisbrulenaudet@icloud.com> Co-authored-by: Saikiranbonu1661 <141391289+Saikiranbonu1661@users.noreply.github.com> Co-authored-by: Sai Kiran Bonu <saikiran.bonu@phenompeople.com>
* fix and update test snaps * clean code * chore: Update develop version * [CI] Configure workflow permissions (#5648) * fix: enable fail-fast strategy in CI workflow * fix: Remove PostCSS config from Nuxt and update imports and license headers * fix: downgrade setup-miniconda to v2 and change miniforge variant to Mambaforge --------- Co-authored-by: Leire Aguirre <leire@argilla.io> Co-authored-by: Francisco Aranda <francis@argilla.io> Co-authored-by: Paco Aranda <frascuchon@gmail.com> Co-authored-by: José Francisco Calvo <josefranciscocalvo@gmail.com> Co-authored-by: Rahul <rahulk_c21124@students.isquareit.edu.in> Co-authored-by: Sara Han <127759186+sdiazlor@users.noreply.github.com> Co-authored-by: Farookh Zaheer Siddiqui <129654632+FarukhS52@users.noreply.github.com> Co-authored-by: Paul Bauriegel <paul.bauriegel@web.de> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Aditya Kale <113056317+kaleaditya779@users.noreply.github.com> Co-authored-by: David Berenstein <david.m.berenstein@gmail.com> Co-authored-by: burtenshaw <ben@argilla.io> Co-authored-by: José Francisco Calvo <jose@argilla.io> Co-authored-by: Damián Pumar <damianpumar@gmail.com> Co-authored-by: Natalia Elvira <126158523+nataliaElv@users.noreply.github.com> Co-authored-by: sean-hickey-wf <102522212+sean-hickey-wf@users.noreply.github.com> Co-authored-by: Paco Aranda <francisco.aranda@huggingface.co> Co-authored-by: Hamel Husain <hamel.husain@gmail.com> Co-authored-by: Louis Brulé Naudet <louisbrulenaudet@icloud.com> Co-authored-by: Saikiranbonu1661 <141391289+Saikiranbonu1661@users.noreply.github.com> Co-authored-by: Sai Kiran Bonu <saikiran.bonu@phenompeople.com>
* fix and update test snaps * clean code * chore: Update develop version * [CI] Configure workflow permissions (#5648) * fix: enable fail-fast strategy in CI workflow * fix: Remove PostCSS config from Nuxt and update imports and license headers * fix: downgrade setup-miniconda to v2 and change miniforge variant to Mambaforge --------- Co-authored-by: Leire Aguirre <leire@argilla.io> Co-authored-by: Francisco Aranda <francis@argilla.io> Co-authored-by: Paco Aranda <frascuchon@gmail.com> Co-authored-by: José Francisco Calvo <josefranciscocalvo@gmail.com> Co-authored-by: Rahul <rahulk_c21124@students.isquareit.edu.in> Co-authored-by: Sara Han <127759186+sdiazlor@users.noreply.github.com> Co-authored-by: Farookh Zaheer Siddiqui <129654632+FarukhS52@users.noreply.github.com> Co-authored-by: Paul Bauriegel <paul.bauriegel@web.de> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Aditya Kale <113056317+kaleaditya779@users.noreply.github.com> Co-authored-by: David Berenstein <david.m.berenstein@gmail.com> Co-authored-by: burtenshaw <ben@argilla.io> Co-authored-by: José Francisco Calvo <jose@argilla.io> Co-authored-by: Damián Pumar <damianpumar@gmail.com> Co-authored-by: Natalia Elvira <126158523+nataliaElv@users.noreply.github.com> Co-authored-by: sean-hickey-wf <102522212+sean-hickey-wf@users.noreply.github.com> Co-authored-by: Paco Aranda <francisco.aranda@huggingface.co> Co-authored-by: Hamel Husain <hamel.husain@gmail.com> Co-authored-by: Louis Brulé Naudet <louisbrulenaudet@icloud.com> Co-authored-by: Saikiranbonu1661 <141391289+Saikiranbonu1661@users.noreply.github.com> Co-authored-by: Sai Kiran Bonu <saikiran.bonu@phenompeople.com>
Description
This PR integrates Argilla v2.7.0 and v2.7.1 into Extralit while carefully preserving all Extralit-specific features and customizations. The merge maintains our document extraction functionality, table handling, and schema management while bringing in Argilla's new features.
Related Tickets & Documents
Closes #64
This pull request introduces several changes across the Argilla project, including updates to workflows, frontend components, server schemas, and search engine logic. The most significant changes focus on enhancing functionality, improving maintainability, and fixing inconsistencies. Below is a categorized summary of the most important changes:
Frontend Enhancements
argilla-frontend/components/features/annotation/header/header-bar/ImportData.vue: Updated background color for better UI contrast.argilla-frontend/nuxt.config.ts: Added PostCSS configuration withcssnanofor production builds to optimize CSS and remove comments.argilla-frontend/translation/en.js&argilla-frontend/translation/es.js: Added translations for exporting datasets to the Hugging Face Hub in English and Spanish. [1] [2]Server Schema Improvements
argilla-server/src/argilla_server/api/schemas/v1/chat.py: Made message and role length configurable via environment variables for greater flexibility.argilla-server/src/argilla_server/api/schemas/v1/users.py&argilla-server/src/argilla_server/api/schemas/v1/workspaces.py: Added support for optional predefined IDs when creating users and workspaces. [1] [2]Search Engine Logic Refinements
argilla-server/src/argilla_server/search_engine/commons.py: Fixed formatting inconsistencies, improved handling of custom fields, and cleaned up unused abstract methods. [1] [2] [3]Documentation and Changelog Updates
argilla-server/CHANGELOG.md: Documented new features, including predefined IDs for users and workspaces, and fixed issues related to indexing records and custom fields. [1] [2]These changes collectively enhance the Argilla project by improving user experience, adding new features, and refining code quality.