This commit is contained in:
Josh Hawkins 2025-07-06 14:31:18 -05:00
parent 9632a38803
commit 773911e036
3 changed files with 3 additions and 4 deletions

View File

@ -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=())

View File

@ -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

View File

@ -1,5 +1,5 @@
export type TriggerType = "thumbnail" | "description";
export type TriggerAction = "alert" | "notification";
export type TriggerAction = "notification";
export type Trigger = {
enabled: boolean;