Class TextCategoryResult
- Namespace
- FoundationaLLM.Gatekeeper.Core.Models.ContentSafety
- Assembly
- FoundationaLLM.Gatekeeper.Core.dll
Text category results.
public class TextCategoryResult
- Inheritance
-
TextCategoryResult
- Inherited Members
- Extension Methods
Properties
Category
The text analysis category.
[JsonPropertyName("category")]
public required string Category { get; set; }
Property Value
Severity
The value increases with the severity of the input content. The value of this field is determined by the output type specified in the request. The output type could be ‘FourSeverityLevels’ or ‘EightSeverity Levels’, and the output value can be 0, 2, 4, 6 or 0, 1, 2, 3, 4, 5, 6, or 7.
[JsonPropertyName("severity")]
public int? Severity { get; set; }
Property Value
- int?