Skip to content

label.workflow.created.prediction

Python model

LabelWorkflowCreatedPredictionEvent — from kili_events import LabelWorkflowCreatedPredictionEvent

Description

This event is raised once Kili backend successfully creates a prediction label (label of type PREDICTION).

Properties

event

  • Required
  • The name of the event.
  • Constant value: "label.workflow.created.prediction"

project_id

  • Required
  • Type: string
  • Id of the project to which the label belongs.

user_id

  • Required
  • Type: string
  • Id of the label author.

organization_id

  • Required
  • Type: string
  • Id of the organization in which the project was created. It references the project author organization.

payload

  • Required
  • Type: object
  • The payload of the event. The rest of the label data can be fetched by the label id, or consumed from the label.analytics.metrics.save.started system event.
  • Properties
    • label_id
      • Required
      • Type: string
      • Id of the created label.
    • asset_id
      • Required
      • Type: string
      • Id of the labeled asset.
    • external_id
      • Required
      • Types: string, null
      • External id of the labeled asset.

event

  • Required
  • The name of the event.
  • Constant value: "label.workflow.created.prediction"

projectId

  • Required
  • Type: string
  • Id of the project to which the label belongs.

userId

  • Required
  • Type: string
  • Id of the label author.

organizationId

  • Required
  • Type: string
  • Id of the organization in which the project was created. It references the project author organization.

payload

  • Required
  • Type: object
  • The payload of the event. The rest of the label data can be fetched by the label id, or consumed from the label.analytics.metrics.save.started system event.
  • Properties
    • labelId
      • Required
      • Type: string
      • Id of the created label.
    • assetId
      • Required
      • Type: string
      • Id of the labeled asset.
    • externalId
      • Required
      • Types: string, null
      • External id of the labeled asset.