ClassificationCategory

Represents a category returned from the text classifier.

JSON representation
{
  "name": string,
  "confidence": number
}
Fields
name

string

The name of the category representing the document.

confidence

number

The classifier's confidence of the category. Number represents how certain the classifier is that this category represents the given text.