SafetyFilterResult<T>

Models & Types · AiDotNet.Models

Result of safety filtering on model output.

Constructors

Constructor Summary
SafetyFilterResult()

Properties

Property Summary
Dictionary<string, object> FilteringDetails { get; set; } Gets or sets additional filtering details.
List<FilterAction> Actions { get; set; } Gets or sets detailed filtering actions taken.
Vector<T> FilteredOutput { get; set; } Gets or sets the filtered/sanitized output.
bool IsSafe { get; set; } Gets or sets whether the output passed filtering.
bool WasModified { get; set; } Gets or sets whether the output was modified during filtering.
double SafetyScore { get; set; } Gets or sets the safety score (0-1, higher is safer).
string[] DetectedHarmCategories { get; set; } Gets or sets the harmful content detected in the output.