Label
A label include all information resulting of the action of annotation by a specific user.
type Label {
id: ID!
assetId: String!
author: User!
authorId: String!
assetStep: AssetWorkflowStep
createdAt: DateTime!
honeypotMark: Float
clientVersion: Int!
inferenceMark: Float
isHoneypot: Boolean!
isLatestLabelForUser: Boolean!
isLatestDefaultLabelForUser: Boolean!
isLatestReviewLabelForUser: Boolean!
isLatestPredictionLabelForUser: Boolean!
isSentBackToQueue: Boolean
jsonResponse: String!
labelOf: Asset
labelType: LabelType!
modelName: String
numberOfAnnotations: Int
projectId: String!
response: JSON!
reviewScore: Float
referencedLabel: Label
secondsToLabel: Float
search: JSON!
totalSecondsToLabel: Int
version: Int!
annotations: [Annotation!]!
chatItems: [ChatItem!]!
_: Boolean
}
Fields
Label.id
● ID!
non-null scalar
Label.assetId
● String!
non-null scalar
Label.author
● User!
non-null object
User that created this label.
Label.authorId
● String!
non-null scalar
Label.assetStep
● AssetWorkflowStep
object
Asset step id of the asset step related to this label.
Label.createdAt
● DateTime!
non-null scalar
Label.honeypotMark
● Float
scalar
Honeypot is a quality parameter to measure the agreement between a pre-annotated asset (a golden standard) and the annotation made by an annotator. Quality is measured against a predefined truth.
In the case of Honeypot Asset, chord note expressed in percentage between the label and the target. In the case of an Asset that is not of Honeypot type, the field is null.
Label.clientVersion
● Int!
non-null scalar
Version of the label given by the client. It differs from the version field because for each new save, either the client gives the version number or it is at 0 by default.
This is used to check order of autosave.
Label.inferenceMark
● Float
scalar
Inference mark is a quality parameter to measure the agreement between an inference run (from a model) and the annotation made by an annotator.
Label.isHoneypot
● Boolean!
non-null scalar
Boolean flagging whether the label is used as the base for computing the honeypot mark of the other labels
Label.isLatestLabelForUser
● Boolean!
non-null scalar
Boolean flagging whether the label is the latest submitted label for this asset for the user
Label.isLatestDefaultLabelForUser
● Boolean!
non-null scalar
Boolean flagging whether the label is the latest submitted DEFAULT label for this asset for the user.
Label.isLatestReviewLabelForUser
● Boolean!
non-null scalar
Boolean flagging whether the label is the latest submitted REVIEW label for this asset for the user.
Label.isLatestPredictionLabelForUser
● Boolean!
non-null scalar
Boolean flagging whether the label is the latest submitted PREDICTION label for this asset for the user.
Label.isSentBackToQueue
● Boolean
scalar
Technical field.
Label.jsonResponse
● String!
non-null scalar
The list of all annotations of this label, for each task of this project, in a JSON character string. Kili annotations closely follow the Google format.
Label.labelOf
● Asset
object
Asset related to this label.
Label.labelType
● LabelType!
non-null enum
Type of label used to identify if the label is a prediction (made by a model), an ordinary label (made by an annotator) or a journal (carried out by a reviewer).
Can take the following values: DEFAULT INFERENCE PREDICTION REVIEW
Label.modelName
● String
scalar
In case the label was uploaded (and is of type PREDICTION), name (chosen during the upload) of the model used to create the label.
Label.numberOfAnnotations
● Int
scalar
Total number of annotation elements on the asset.
Label.projectId
● String!
non-null scalar
Label.response
● JSON!
non-null scalar
The list of all annotations of this label, for each task of this project, in a JSON field. Kili annotations closely follow the Google format.
Label.reviewScore
● Float
scalar
Quality parameter to measure agreement score between labelers and reviewers computed on reviewed assets.
Label.referencedLabel
● Label
object
Label used by the labeler as a reference to create its label. For example in the case of a review, the referenced label is the label that is reviewed.
Label.secondsToLabel
● Float
scalar
Amount of time (in seconds) spent by the labeller on the interface before submitting the label.
Label.search
● JSON!
non-null scalar
Technical field.
Label.totalSecondsToLabel
● Int
scalar
Total cumulated amount of time (in seconds) spent by the user on all other labels of the same asset on the interface.
Label.version
● Int!
non-null scalar
Version of the label.