TextAnalyzeSeverityResultOutput interface

Text analysis result.

Properties

category

The text category.

Possible values: Hate, SelfHarm, Sexual, Violence

severity

The higher the severity of input content, the larger this value is. The values could be: 0,2,4,6.

Property Details

category

The text category.

Possible values: Hate, SelfHarm, Sexual, Violence

category: string

Property Value

string

severity

The higher the severity of input content, the larger this value is. The values could be: 0,2,4,6.

severity: number

Property Value

number