mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-27 17:17:40 +03:00
clean up
This commit is contained in:
parent
9632a38803
commit
773911e036
@ -31,7 +31,6 @@ class TriggerType(str, Enum):
|
||||
|
||||
|
||||
class TriggerAction(str, Enum):
|
||||
ALERT = "alert"
|
||||
NOTIFICATION = "notification"
|
||||
|
||||
|
||||
@ -144,7 +143,7 @@ class TriggerConfig(FrigateBaseModel):
|
||||
class CameraSemanticSearchConfig(FrigateBaseModel):
|
||||
triggers: Optional[Dict[str, TriggerConfig]] = Field(
|
||||
default=None,
|
||||
title="Text or image triggers to elevate tracked objects to review alerts",
|
||||
title="Trigger actions on tracked objects that match existing thumbnails or descriptions",
|
||||
)
|
||||
|
||||
model_config = ConfigDict(extra="forbid", protected_namespaces=())
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
"""Real time processor to trigger alerts by matching embeddings."""
|
||||
"""Post time processor to trigger actions based on similar embeddings."""
|
||||
|
||||
import datetime
|
||||
import json
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
export type TriggerType = "thumbnail" | "description";
|
||||
export type TriggerAction = "alert" | "notification";
|
||||
export type TriggerAction = "notification";
|
||||
|
||||
export type Trigger = {
|
||||
enabled: boolean;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user