Added
- Add support of groups to invite_user()
- Add group classification type
- Add model config response count support
Fixed
- Workflow Management allow multiple inputs
Fixed
- Project Setup: Remove project setup complete restriction
- API key creation: fix support of role with a space in the name
- Workflow cloning: Fix validation for some nodes
Fixed
reset_to_initial_nodes()andclone_workflow_from()will not update initial node IDs anymore
Added
- Add support for Likert scale
- Add creation of IAM integrations
- Add workflow management
- Add model app ID to model run creation and return it
- Add support for project ontology change
- Remove
mypyfrom dependencies
Updated
- BREAKING CHANGE
UserGroupno longer supports theusersfield - it’s been replaced by themembersfield. - Update
UserGroupto fix project membership
Fixed
ApiKey.created_bynow correctly displays theuserfor old API keys
Added
- API key management using the SDK
- Methods for getting and canceling invitations to workspaces or projects
- The
organization.tasks()method for getting organization tasks and theTaskStatusenum for filtering both organization and user tasks
Added
- Task cancellation for supported task types
AUDIOas a supported attachment type
Added
- An optional
source_ontology_namefield toRelationshipclass. You can now specify relationships usingsource_ontology_nameinstead of a concrete source annotation. This approach is especially useful for PDF document annotations because it allows you to reference ontology classes directly when you create relationships. - Validation ensures that either
sourceorsource_ontology_nameis provided, but not both - Support for searching by name for
get_catalog_slice get_catalog_slicesto get all slices
Added
- (Beta) MAL support for PDF relationships
- (Beta)
readonlysetting for relationships
- Add feature schema attributes to support the auto OCR tool in ontologies
task_queue_idis now optional and defaults toNonefor better type support when moving data rows to a workflow task
Added
- Group member upload
- Group member export
- For security reasons, the
Inviteclass doesn’t contain actual invite id (uid) any more. This change affects all versions.
Added
- Multimodal chat evaluation ontology support for two new tools:
- Prompt rating: Example export payload
- Fact-checking: Example export payload
- Added the following new import methods that replace the deprecated
BulkImportRequestclass:project.get_mal_prediction_imports()to retrieve the list of MAL import jobs.project.get_label_imports()to to retrieve the list of ground-truth import jobs.MALPredictionImport.delete()to delete a MAL import.
- Deprecation warning to
wait_until_donemethods - Deprecation warning to
get_data_row_ids
Fixed
- Fixed relationship label bug
- Fixed the
Import lb-clientexceptions for labelbox - Fixed
get_rolesreturn type toDict[str, Role](instead ofList[Role]) - Adjusted deprecation message to a new standard
- Improved support for
Client.enable_experimental
Added
- Added the step reasoning ontology tool .
Fixed
- Use valid
lbox.exceptionin client IAMIntegration validation - Improve SDK method name detection for Datadog dashboard
- Limit labeling front-end visibility and mentions of a custom editor
- Remove all unused python imports
- Remove bulk import requests
Fixed
- Updated
labelbox.exceptionstolbox.exceptionsfor IAM Integration check
Added
- Added deprecation messages to all
export_v2methods - Added logic to extract SDK methods to pass to Datadog dashboard
- Added the
lbox.request_clientGraphql client as a separate component
Updated
- Updated the minimum requirement of
numpyversion from 1.24 to 1.25 and cleaned up_TypedArrayvalidations - Refactored client
create_projectinputs to be named parameters instead of **kwargs - Updated pydantic v2 deprecation warnings
- Removed experimental from
UserGroup - Improved labeling service error reporting
- Switched to ruff linter
Fixed
- Labeling dashboard serialization
- Handling of global key in
ModelEvaluationTemplate
Removed
- Discontinued the support for Python 3.8
-
Removed various deprecated classes, methods and attributes, including:
QueueModefor project- LabelGenerator
assign_feature_schema_ids - Label
assign_feature_schema_ids - AttachmentType
attachment_type.TEXT - DataRowMetadata bulk_delete
deletesparameter - support for string for data row ids or global keys, useUniqueIdorGlobalKeyclass instead - Dataset
create_data_rows_sync. Use create_data_rows instead - Slice
get_data_row_ids. Use get_data_row_identifiers instead - LabelingParameterOverrideInput remove instance of
DataRowas a type of input - Project
_update_queue_modeandget_queue_mode Project.setupandProject.setup_editor. Useproject.connect_ontologyinstead
-
Removed deprecated get stream - related classes from ExportTask
JsonConverter,JsonConverterOutput,FileConverter,FileConverterOutput
-
Removed label
Dataclasses as Label data attribute. UseGenericDataRowDatainsteadMaskDatais NOT removed -
Removed NDJsonConverter
deserialize -
Removed the COCO package and
BulkImportRequestpackage, including:BulkImportRequestBulkImportRequestStateproject.upload_annotationsproject.bulk_import_requests
Updated
- Set
tasks_remaining_countattribute of labeling service dashboard toNoneif labeling has not started. - Improve error messaging when creating LLM project with invalid dataset id parameter.
Removed
- BREAKING CHANGE: Export v1 SDK methods are all removed. Use the latest export methods instead.
- BREAKING CHANGE: Unused labelbox_v1 serialization package is removed.
Fixed
- Fixed CUID dependencies that cause a crash if numpy is not installed.
Added
- Added
project.get_labeling_service_dashboard()andclient.get_labeling_service_dashboards(), which can retrieve information of projects with labeling service requested. See Get labeling service details. - Added
client.get_task_by_id(), which fetches tasks by their IDs. See Get tasks . - Added support for importing multimodal chat annotations .
Added
- Added
labeling_service.request(), which validates all project requirements and requests a labeling service. See Labeling Workforce. - Added the
is_benchmark_referenceflag that supports importing ground truth labels as benchmarks. See import annotations guides for example payloads.
Updated
get_labeling_service()now automatically requests labeling service if none has been used on a project. See Labeling Workforce.
Removed
- BREAKING CHANGE: Removed
Project.labeling_frontend.disconnect(). Now you can only have one default labeling front end per project and can’t disconnect it. - BREAKING CHANGE: Removed the experimental method
project.request_labeling_service(). See Labeling Workforce for the latest approach.
Added
- Added experimental methods
Project.get_labeling_service(),request_labeling_service()andget_labeling_service_status()that support requesting and checking the status of labeling service. See Labeling Workforce. - Added
Client.create_prompt_response_generation_project()andcreate_response_creation_project()methods that support project and ontology creation for prompt response projects. See Import prompt and response annotations and Prompt and response projects to learn how to use these methods to set up prompt and response projects. - Added
is_benchmark_enabledandis_consensus_enabledflags that specify whether a project supports benchmarks and consensus .
Updated
- Made Project quality modes a list to allow combining more than 1 quality mode per project.
Notebooks
- Added back the python notebook on migrating from Export V1 to the latest
export(). - Added correct data param to the video notebooks.
Other
- Use connection pool for all http and graphql requests
Added
- Added
project.set_project_model_setup_complete()method - Added user group management methods.
- Refactored
dataset.create_data_rows_synctoupsert - Added
upload_typeto Project - Added prompt classification for python object
- Alias
wait_xxxfunctions
Fixed
- Predictions missing during Catalog slice Export
- Prevented adding batches to live chat evaluation projects
- Added missing media types
- Deprecate
project.setup_editorin favor ofproject.connect_ontology - Bumped dateutil max version
- Bumped version rye
- Updated create ontology for project setup
Fixed
- Fix
client.get_project()for LLM projects - Throw user-friendly errors when creating a custom embedding
Added
project.get_overview()to be able to retrieve project detailsproject.clone()to be able to clone projects- Support for Rye 0.34
Requirements.lock,Requirements-dev.lockto latest dependenciesExportTask.get_buffered_streamto replaceExportTask.get_stream
Fixed
ExportTask.result/ExportTask.errorsparsing content incorrectly- Lack of exceptions related to updating model config
Added
- Added chat model evaluation support:
client.create_model_config()project.project_model_configs()project.add_model_config()project.delete_project_model_config()ProjectModelConfig.delete()client.create_model_evaluation_project()
- Update existing methods to support chat model evaluation project
client.create_ontology()client.create_ontology_from_feature_schemas()
- Coco deprecation message
Fixed
- Fixed error reporting for client.create_project()
- Do not retry http 422 errors
Notebooks
Send_to_annotate_from_catalogfunctionalities outside Foundry
Fixed in Notebooks
- Fixed meta notebook
- Modified queue_management.ipynb to remove some parameters
- Update_huggingface.ipynb
- Corrected_HF.ipynb