See the latest version updates of the Labelbox SDK
Version 6.8.0 (2025-02-20)
Added
- An optional
source_ontology_name
field toRelationship
class. You can now specify relationships usingsource_ontology_name
instead 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
source
orsource_ontology_name
is provided, but not both - Support for searching by name for
get_catalog_slice
get_catalog_slices
to get all slices
Version 6.7.0 (2025-02-06)
Added
- (Beta) MAL support for PDF relationships
- (Beta)
readonly
setting for relationships
Version 6.6.0 (2025-01-14)
Added
- Support for python 3.13
- Note: minimum numpy version that supports python 3.13 is 2.1
- Include predictions in slice export
Fixed
- GraphQL upload SSL configuration
Version 6.5.0 (2025-01-06)
Added
- Support including
predictions
in catalog exports
Version 6.4.0 (2024-12-19)
- Add feature schema attributes to support the auto OCR tool in ontologies
task_queue_id
is now optional and defaults toNone
for better type support when moving data rows to a workflow task
Version 6.3.0 (2024-12-12)
Added
- Group member upload
- Group member export
Note
- For security reasons, the
Invite
class doesn't contain actual invite id (uid) any more. This change affects all versions.
Version 6.2.0 (2024-11-26)
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
BulkImportRequest
class: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_done
methods - Deprecation warning to
get_data_row_ids
Fixed
- Fixed relationship label bug
- Fixed the
Import lb-client
exceptions for labelbox - Fixed
get_roles
return type toDict[str, Role]
(instead ofList[Role]
) - Adjusted deprecation message to a new standard
- Improved support for
Client.enable_experimental
Version 6.1.0 (2024-11-12)
Added
- Added the step reasoning ontology tool .
Fixed
- Use valid
lbox.exception
in 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
Version 6.0.1 (2024-10-30)
Fixed
- Updated
labelbox.exceptions
tolbox.exceptions
for IAM Integration check
Version 6.0.0 (2024-10-15)
Added
- Added deprecation messages to all
export_v2
methods - Added logic to extract SDK methods to pass to Datadog dashboard
- Added the
lbox.request_client
Graphql client as a separate component
Updated
- Updated the minimum requirement of
numpy
version from 1.24 to 1.25 and cleaned up_TypedArray
validations - Refactored client
create_project
inputs 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:
QueueMode
for project- LabelGenerator
assign_feature_schema_ids
- Label
assign_feature_schema_ids
- AttachmentType
attachment_type.TEXT
- DataRowMetadata bulk_delete
deletes
parameter - support for string for data row ids or global keys, useUniqueId
orGlobalKey
class 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
DataRow
as a type of input - Project
_update_queue_mode
andget_queue_mode
Project.setup
andProject.setup_editor
. Useproject.connect_ontology
instead
- Removed deprecated get stream - related classes from ExportTask
JsonConverter
,JsonConverterOutput
,FileConverter
,FileConverterOutput
- Removed label
Data
classes as Label data attribute. UseGenericDataRowData
insteadMaskData
is NOT removed - Removed NDJsonConverter
deserialize
- Removed the COCO package and
BulkImportRequest
package, including:BulkImportRequest
BulkImportRequestState
project.upload_annotations
project.bulk_import_requests
Version 5.2.1 (2024-10-09)
Fixed
- Exporter encoding
Version 5.2.0 (2024-10-09)
Added
- Support data row / batch for live mmc projects(#1856)
Version 5.1.0 (2024-09-27)
Added
Version 5.0.0 (2024-09-17)
Updated
- Set
tasks_remaining_count
attribute of labeling service dashboard toNone
if 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.
Version 4.0.0 (2024-09-10)
Added
- BREAKING CHANGE for Pydantic v1 users: Labelbox Python SDK now uses Pydantic v2.
- Added automation test support for multiple SDK versions.
Fixed
- Fixed flaky tests.
Version 3.78.1 (2024-09-10)
Fixed
- Fixed labeling dashboard query for tags.
Version 3.78.0 (2024-09-03)
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 .
Version 3.77.1 (2024-08-28)
Fixed
- Restored
client.headers
.
Version 3.77.0 (2024-08-09)
Added
- Added
labeling_service.request()
, which validates all project requirements and requests a labeling service. See Labeling Workforce. - Added the
is_benchmark_reference
flag 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.
Version 3.76.0 (2024-07-29)
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_enabled
andis_consensus_enabled
flags 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
Version 3.75.1 (2024-07-16)
Removed
- Project
media_type
no longer supports JSON
Version 3.75.0 (2024-07-10)
Added
- Added
project.set_project_model_setup_complete()
method - Added user group management methods.
- Refactored
dataset.create_data_rows_sync
toupsert
- Added
upload_type
to Project - Added prompt classification for python object
- Alias
wait_xxx
functions
Fixed
- Predictions missing during Catalog slice Export
- Prevented adding batches to live chat evaluation projects
- Added missing media types
- Deprecate
project.setup_editor
in favor ofproject.connect_ontology
- Bumped dateutil max version
- Bumped version rye
- Updated create ontology for project setup
Version 3.74.0 (2024-06-24)
Added
- Include predictions in export
- Adds upsert label feedback method
client upsert_label_feedback()
Removed
- Removed deprecated class
LabelList
Version 3.73.0 (2024-06-20)
Added
- Conversational data row checks
- UI ontology mode support
- Empty data row validation
Fixed
- Numpy semver locked to < 2.0.0
Version 3.72.2 (2024-06-10)
Added
- SLSA provenance generation
Version 3.72.1 (2024-06-06)
Fixed
- Fix
client.get_project()
for LLM projects - Throw user-friendly errors when creating a custom embedding
Version 3.72.0 (2024-06-04)
Added
- Update Dataset
create_data_rows
to allow upload of unlimited number of data rows - New Dataset methods for iam_integraton:
add_iam_integration
,remove_iam_integration
Notebooks
- Added model evaluation SDK method notebook
- Added quick start notebook geared towards new users
Version 3.71.0 (2024-05-28)
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.lock
to latest depdenenciesExportTask.get_buffered_stream
to replaceExportTask.get_stream
Fixed
ExportTask.result
/ExportTask.errors
parsing content incorrectly- Lack of exceptions related to updating model config
Version 3.70.0 (2024-05-20)
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_catalog
functionalities outside Foundry
Fixed in Notebooks
- Fixed meta notebook
- Modified queue_management.ipynb to remove some parameters
- Update_huggingface.ipynb
- Corrected_HF.ipynb