GoogleCloudDatalabelingV1beta1LabelTextRequest
import type { GoogleCloudDatalabelingV1beta1LabelTextRequest } from "https://googleapis.deno.dev/v1/datalabeling:v1beta1.ts";
Request message for LabelText.
interface GoogleCloudDatalabelingV1beta1LabelTextRequest {
basicConfig?: GoogleCloudDatalabelingV1beta1HumanAnnotationConfig;
feature?: "FEATURE_UNSPECIFIED" | "TEXT_CLASSIFICATION" | "TEXT_ENTITY_EXTRACTION";
textClassificationConfig?: GoogleCloudDatalabelingV1beta1TextClassificationConfig;
textEntityExtractionConfig?: GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig;
}§Properties
§
basicConfig?: GoogleCloudDatalabelingV1beta1HumanAnnotationConfig
[src]Required. Basic human annotation config.
§
feature?: "FEATURE_UNSPECIFIED" | "TEXT_CLASSIFICATION" | "TEXT_ENTITY_EXTRACTION"
[src]Required. The type of text labeling task.
§
textClassificationConfig?: GoogleCloudDatalabelingV1beta1TextClassificationConfig
[src]Configuration for text classification task. One of text_classification_config and text_entity_extraction_config is required.
§
textEntityExtractionConfig?: GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig
[src]Configuration for entity extraction task. One of text_classification_config and text_entity_extraction_config is required.