Table of Contents

Class AzureContentSafetySettings

Namespace
FoundationaLLM.Gatekeeper.Core.Models.ConfigurationOptions
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

int

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

int

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

int

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; }

Property Value

int