Class HarmfulContentResult<T>
Result of harmful content identification.
public class HarmfulContentResult<T>
Type Parameters
TThe numeric data type used for calculations.
- Inheritance
-
HarmfulContentResult<T>
- Inherited Members
Properties
CategoryScores
Gets or sets scores for each harmful content category.
public Dictionary<string, double> CategoryScores { get; set; }
Property Value
Details
Gets or sets additional detection details.
public Dictionary<string, object> Details { get; set; }
Property Value
DetectedCategories
Gets or sets all harmful categories detected above threshold.
public string[] DetectedCategories { get; set; }
Property Value
- string[]
Findings
Gets or sets detailed harmful content findings.
public List<HarmfulContentFinding> Findings { get; set; }
Property Value
HarmScore
Gets or sets the overall harm score (0-1, higher means more harmful).
public double HarmScore { get; set; }
Property Value
HarmfulContentDetected
Gets or sets whether harmful content was detected.
public bool HarmfulContentDetected { get; set; }
Property Value
PrimaryHarmCategory
Gets or sets the primary harmful category detected.
public string? PrimaryHarmCategory { get; set; }
Property Value
RecommendedAction
Gets or sets the recommended action based on the harm level.
public string RecommendedAction { get; set; }