V2Model(mapping=None, *, ignore_unknown_fields=False, **kwargs)Options for the V2 model.
Attribute |
|
|---|---|
| Name | Description |
content_categories_version |
google.cloud.language_v1.types.ClassificationModelOptions.V2Model.ContentCategoriesVersion
The content categories used for classification. |
Classes
ContentCategoriesVersion
ContentCategoriesVersion(value)The content categories used for classification.
Values:
CONTENT_CATEGORIES_VERSION_UNSPECIFIED (0):
If ContentCategoriesVersion is not specified, this
option will default to V1.
V1 (1):
Legacy content categories of our initial
launch in 2017.
V2 (2):
Updated content categories in 2022.