diff --git a/frigate/config/camera/genai.py b/frigate/config/camera/genai.py index 35c26eaf8..fe1325431 100644 --- a/frigate/config/camera/genai.py +++ b/frigate/config/camera/genai.py @@ -50,6 +50,9 @@ class GenAICameraConfig(BaseModel): class GenAIConfig(FrigateBaseModel): enabled: bool = Field(default=False, title="Enable GenAI.") + use_snapshot: bool = Field( + default=False, title="Use snapshots for generating descriptions." + ) prompt: str = Field( default="Analyze the sequence of images containing the {label}. Focus on the likely intent or behavior of the {label} based on its actions and movement, rather than describing its appearance or the surroundings. Consider what the {label} is doing, why, and what it might do next.", title="Default caption prompt.",