SafetyFilterConfiguration<T>
Options & Configuration · AiDotNet.Models.Options
Configuration for safety filtering during inference.
For Beginners
This is the safety “on/off switch” and settings bundle. You can leave it alone to use safe defaults, or customize the filter for expert deployments.
How It Works
This configuration controls whether safety filtering is enabled and which implementation is used. When enabled and no custom filter is provided, a default filter is created using the provided options.
Constructors
| Constructor | Summary |
|---|---|
SafetyFilterConfiguration() |
Properties
| Property | Summary |
|---|---|
ISafetyFilter<T> Filter { get; set; } |
Gets or sets an optional custom safety filter implementation. |
SafetyFilterOptions<T> Options { get; set; } |
Gets or sets the default options used when constructing the standard safety filter. |
bool Enabled { get; set; } |
Gets or sets whether safety filtering is enabled. |