Class LabelTextRequest (1.0.0)

LabelTextRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for LabelText.

Attributes

NameDescription
text_classification_config .human_annotation_config.TextClassificationConfig
Configuration for text classification task. One of text_classification_config and text_entity_extraction_config is required.
text_entity_extraction_config .human_annotation_config.TextEntityExtractionConfig
Configuration for entity extraction task. One of text_classification_config and text_entity_extraction_config is required.
parent str
Required. Name of the data set to request labeling task, format: projects/{project_id}/datasets/{dataset_id}
basic_config .human_annotation_config.HumanAnnotationConfig
Required. Basic human annotation config.
feature .data_labeling_service.LabelTextRequest.Feature
Required. The type of text labeling task.

Classes

Feature

Feature(value)

Text labeling task feature.