text Classification Config
suspend fun textClassificationConfig(value: Output<GoogleCloudDatalabelingV1beta1TextClassificationConfigArgs>)
suspend fun textClassificationConfig(value: GoogleCloudDatalabelingV1beta1TextClassificationConfigArgs?)
Parameters
value
Specify this field if your model version performs text classification. annotationSpecSet
in this configuration must match EvaluationJob.annotationSpecSet. allowMultiLabel
in this configuration must match classificationMetadata.isMultiLabel
in input_config.
suspend fun textClassificationConfig(argument: suspend GoogleCloudDatalabelingV1beta1TextClassificationConfigArgsBuilder.() -> Unit)
Parameters
argument
Specify this field if your model version performs text classification. annotationSpecSet
in this configuration must match EvaluationJob.annotationSpecSet. allowMultiLabel
in this configuration must match classificationMetadata.isMultiLabel
in input_config.