| """
|
| Monitoring Module
|
|
|
| Continuous AI Governance Infrastructure for AegisLM.
|
|
|
| Provides:
|
| - Streaming evaluation pipeline for real-time monitoring
|
| - Drift detection with statistical analysis
|
| - Alert generation and management
|
| - Dashboard data API
|
|
|
| Architecture:
|
| Live Prompt Stream
|
| β
|
| Streaming Evaluator
|
| β
|
| Defender + Judge
|
| β
|
| Rolling Metrics Store
|
| β
|
| Drift Detection
|
| β
|
| Alerting Engine
|
| β
|
| Dashboard (Monitoring Tab)
|
| """
|
|
|
| from .alerting import (
|
| AlertManager,
|
| AlertSeverity,
|
| AlertSummary,
|
| AlertType,
|
| get_alert_manager,
|
| )
|
| from .drift_detection import (
|
| DriftDetector,
|
| DriftDetectionResult,
|
| MetricWindow,
|
| get_drift_detector,
|
| )
|
| from .pipeline import (
|
| MonitoringPipeline,
|
| MonitoringConfig,
|
| MonitoringDashboardData,
|
| get_monitoring_pipeline,
|
| )
|
| from .schemas import (
|
| Alert,
|
| AlertSeverity,
|
| AlertSummary,
|
| AlertType,
|
| DriftDetectionResult,
|
| MonitoringConfig,
|
| MonitoringDashboardData,
|
| MonitoringRequest,
|
| MonitoringResponse,
|
| RollingMetrics,
|
| )
|
| from .streaming_evaluator import (
|
| StreamingEvaluator,
|
| get_streaming_evaluator,
|
| )
|
|
|
| __all__ = [
|
|
|
| "MonitoringPipeline",
|
| "MonitoringConfig",
|
| "MonitoringDashboardData",
|
| "get_monitoring_pipeline",
|
|
|
|
|
| "StreamingEvaluator",
|
| "get_streaming_evaluator",
|
|
|
|
|
| "DriftDetector",
|
| "DriftDetectionResult",
|
| "MetricWindow",
|
| "get_drift_detector",
|
|
|
|
|
| "AlertManager",
|
| "Alert",
|
| "AlertType",
|
| "AlertSeverity",
|
| "AlertSummary",
|
| "get_alert_manager",
|
|
|
|
|
| "MonitoringRequest",
|
| "MonitoringResponse",
|
| "RollingMetrics",
|
| ]
|
|
|
|
|
| __version__ = "0.1.0"
|
|
|