File tree Expand file tree Collapse file tree 3 files changed +28
-1
lines changed Expand file tree Collapse file tree 3 files changed +28
-1
lines changed Original file line number Diff line number Diff line change @@ -100,6 +100,10 @@ DetectionEventActionType()
100100
101101- DISCORD_NOTIFICATION
102102- SLACK_NOTIFICATION
103+ - EMAIL_NOTIFICATION
104+ - TEAMS_NOTIFICATION
105+ - MQTT_NOTIFICATION
106+ - RETRAIN
103107
104108----
105109
@@ -283,6 +287,7 @@ MonitoringTarget()
283287- PREDICTION
284288- USER_INPUT
285289- USER_INPUT_RETRIEVED_CONTEXT
290+ - RETRIEVED_CONTEXT
286291- USER_INPUT_MODEL_OUTPUT
287292- MODEL_OUTPUT_RETRIEVED_CONTEXT
288293
Original file line number Diff line number Diff line change @@ -610,6 +610,27 @@ of a monitoring quantity (target or metric)
610610----
611611
612612
613+ ## MqttNotificationAction
614+ ``` python
615+ MqttNotificationAction()
616+ ```
617+
618+
619+ ---
620+ Base Model for Mqtt Notification Action
621+
622+
623+ ** Attributes**
624+
625+ * ** type** : DetectionEventActionType.MQTT_NOTIFICATION
626+ * ** connection_string** : str
627+ * ** topic** : str
628+ * ** payload** : str
629+
630+
631+ ----
632+
633+
613634## MulticlassClassificationTaskCostInfo
614635``` python
615636MulticlassClassificationTaskCostInfo()
Original file line number Diff line number Diff line change @@ -22,10 +22,11 @@ Two types of actions are currently supported: notification and retrain.
2222- ` DiscordNotificationAction ` : sends a notification to a Discord channel via webhook.
2323- ` EmailNotificationAction ` : sends an email to the provided email address.
2424- ` TeamsNotificationAction ` : sends a notification to Microsoft Teams via webhook.
25+ - ` MqttNotificationAction ` : sends a notification to an MQTT broker.
2526
2627### Retrain Actions
2728
28- Retrain actions let you to retrain your model, therefore, they are only available when the rule monitoring target is a model.
29+ Retrain actions let you retrain your model, therefore, they are only available when the rule monitoring target is a model.
2930The retrain action does not need any parameter because it is automatically inferred from the ` model_name ` attribute of the rule.
3031Of course, it is mandatory that the model has a retrain trigger associated in order to add a retrain action to the rule.
3132
You can’t perform that action at this time.
0 commit comments