Python SDK methods for requesting and managing your labeling workforce.
project.labeling_service = project.get_labeling_service()
to get the labeling service associated with the project. Then use labeling_service.request()
to request a workforce of trained labelers for your data.
project.get_labeling_service_status()
to check the status of your requested labeling service.
LabelingServiceStatus
enum, corresponding to the statuses of your requested labeling service:
SET_UP
: Your request has been submitted, but you need to set up your request by adding data rows, ontologies, and labeling instructions to proceed the request.REQUESTED
: Your request has been validated and is pending approval for connecting to labeling workforce.ACCEPTED
: Your request has satisfied the prerequisite and been accepted.CALIBRATION
: Labelers are labeling a sample of your data rows that you can review and confirm alignment on the expectation.PRODUCTION
: Labelers are labeling all data rows.COMPLETE
: Labelers have finished adding labels to your projects.project.get_labeling_service_dashboard()
to retrieve the following attributes of the project for which you requested labeling service:
id
: The project IDname
: The project name status
: The status of the labeling servicedata_rows_count
: The total number of data rows batched in the projecttasks_completed_count
: The number of completed tasks (with the COMPLETE
status)tasks_remaining_count
: The number of incomplete tasks (queued data rows with statuses other than COMPLETE
)tags
: Project tags associated with the projectmedia_type
: The media type of the projectclient.get_labeling_service_dashboard()
to retrieve details of all projects with labeling service requested in your workspace.