ComplianceModuleBase<T>
Base Classes · AiDotNet.Safety.Compliance
Abstract base class for regulatory compliance checking modules.
Inheritance: ModelBase<T, Vector<T>, Vector<T>> → SafetyModuleBase<T> → TextSafetyModuleBase<T> → ComplianceModuleBase<T>
Implements: IComplianceModule<T>
For Beginners
This base class provides common code for all compliance checkers. Each checker type extends this and adds its own checks for specific laws and regulations.
How It Works
Provides shared infrastructure for compliance modules including configuration access and common compliance check utilities. Concrete implementations provide the actual compliance checking logic (EU AI Act, GDPR, SOC2).
Properties
| Property | Summary |
|---|---|
string RegulationName { get; } |
Methods
| Method | Summary |
|---|---|
IReadOnlyList<SafetyFinding> EvaluateCompliance(SafetyConfig config) |