HarmfulContentResult<T>

Models & Types · AiDotNet.Models

Result of harmful content identification.

Constructors

Constructor Summary
HarmfulContentResult()

Properties

Property Summary
Dictionary<string, double> CategoryScores { get; set; } Gets or sets scores for each harmful content category.
Dictionary<string, object> Details { get; set; } Gets or sets additional detection details.
List<HarmfulContentFinding> Findings { get; set; } Gets or sets detailed harmful content findings.
bool HarmfulContentDetected { get; set; } Gets or sets whether harmful content was detected.
double HarmScore { get; set; } Gets or sets the overall harm score (0-1, higher means more harmful).
string PrimaryHarmCategory { get; set; } Gets or sets the primary harmful category detected.
string RecommendedAction { get; set; } Gets or sets the recommended action based on the harm level.
string[] DetectedCategories { get; set; } Gets or sets all harmful categories detected above threshold.