Class AzureContentSafetySettings
- Assembly
- FoundationaLLM.Gatekeeper.Core.dll
Provides configuration options for the Azure Content Safety service.
public record AzureContentSafetySettings : IEquatable<AzureContentSafetySettings>
- Inheritance
-
AzureContentSafetySettings
- Implements
- Inherited Members
- Extension Methods
Properties
HateSeverity
The threshold for filtering the contents of a text, based on the "Hate" category. Possible values are: 0 = Safe, 2 = Low, 4 = Medium, 6 = High.
public int HateSeverity { get; init; }
Property Value
SelfHarmSeverity
The threshold for filtering the contents of a text, based on the "Self-Harm" category. Possible values are: 0 = Safe, 2 = Low, 4 = Medium, 6 = High.
public int SelfHarmSeverity { get; init; }
Property Value
SexualSeverity
The threshold for filtering the contents of a text, based on the "Sexual" category. Possible values are: 0 = Safe, 2 = Low, 4 = Medium, 6 = High.
public int SexualSeverity { get; init; }
Property Value
ViolenceSeverity
The threshold for filtering the contents of a text, based on the "Violence" category. Possible values are: 0 = Safe, 2 = Low, 4 = Medium, 6 = High.
public int ViolenceSeverity { get; init; }