GoogleCloudDatalabelingV1beta1TextClassificationConfigArgs

data class GoogleCloudDatalabelingV1beta1TextClassificationConfigArgs(val allowMultiLabel: Output<Boolean>? = null, val annotationSpecSet: Output<String>, val sentimentConfig: Output<GoogleCloudDatalabelingV1beta1SentimentConfigArgs>? = null) : ConvertibleToJava<GoogleCloudDatalabelingV1beta1TextClassificationConfigArgs>

Config for text classification human labeling task.

Constructors

constructor(allowMultiLabel: Output<Boolean>? = null, annotationSpecSet: Output<String>, sentimentConfig: Output<GoogleCloudDatalabelingV1beta1SentimentConfigArgs>? = null)

Properties

Link copied to clipboard
val allowMultiLabel: Output<Boolean>? = null

Optional. If allow_multi_label is true, contributors are able to choose multiple labels for one text segment.

Link copied to clipboard

Annotation spec set resource name.

Link copied to clipboard

Optional. Configs for sentiment selection. We deprecate sentiment analysis in data labeling side as it is incompatible with uCAIP.

Functions

Link copied to clipboard
open override fun toJava(): GoogleCloudDatalabelingV1beta1TextClassificationConfigArgs