Schema definition for a single label in an annotation queue.

Hierarchy

  • LLMObsLabelSchema

Constructors

Properties

additionalProperties?: {
    [key: string]: any;
}

A container for additional, undeclared properties. This is a holder for any undeclared properties as specified with the 'additionalProperties' keyword in the OAS document.

Type declaration

  • [key: string]: any
description?: string

Description of the label.

hasAssessment?: boolean

Whether this label includes an assessment field.

hasReasoning?: boolean

Whether this label includes a reasoning field.

id?: string

Unique identifier of the label schema. Assigned by the server if not provided.

isAssessment?: boolean

Whether the boolean label represents an assessment. Requires has_assessment to be true.

isInteger?: boolean

Whether score values must be integers. Applicable to score-type labels.

isRequired?: boolean

Whether this label is required for an annotation.

max?: number

Maximum value for score-type labels.

min?: number

Minimum value for score-type labels.

name: string

Name of the label. Must match the pattern ^[a-zA-Z0-9_-]+$ and be unique within the queue.

Type of a label in an annotation queue label schema.

values?: string[]

Allowed values for categorical-type labels. Must contain at least one non-empty, unique value.

Generated using TypeDoc