Class ClassificationCategory (2.13.2)

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

Represents a category returned from the text classifier.

Attributes

NameDescription
name str
The name of the category representing the document.
confidence float
The classifier's confidence of the category. Number represents how certain the classifier is that this category represents the given text.