Class SafetyFilterResult<T>
Result of safety filtering on model output.
public class SafetyFilterResult<T>
Type Parameters
TThe numeric data type used for calculations.
- Inheritance
-
SafetyFilterResult<T>
- Inherited Members
Properties
Actions
Gets or sets detailed filtering actions taken.
public List<FilterAction> Actions { get; set; }
Property Value
DetectedHarmCategories
Gets or sets the harmful content detected in the output.
public string[] DetectedHarmCategories { get; set; }
Property Value
- string[]
FilteredOutput
Gets or sets the filtered/sanitized output.
public Vector<T> FilteredOutput { get; set; }
Property Value
- Vector<T>
FilteringDetails
Gets or sets additional filtering details.
public Dictionary<string, object> FilteringDetails { get; set; }
Property Value
IsSafe
Gets or sets whether the output passed filtering.
public bool IsSafe { get; set; }
Property Value
SafetyScore
Gets or sets the safety score (0-1, higher is safer).
public double SafetyScore { get; set; }
Property Value
WasModified
Gets or sets whether the output was modified during filtering.
public bool WasModified { get; set; }