mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-15 15:45:27 +03:00
Add missing use_snapshot config field for GenAIConfig
This commit is contained in:
parent
20ae6099f2
commit
cef5a1ebab
@ -50,6 +50,9 @@ class GenAICameraConfig(BaseModel):
|
|||||||
|
|
||||||
class GenAIConfig(FrigateBaseModel):
|
class GenAIConfig(FrigateBaseModel):
|
||||||
enabled: bool = Field(default=False, title="Enable GenAI.")
|
enabled: bool = Field(default=False, title="Enable GenAI.")
|
||||||
|
use_snapshot: bool = Field(
|
||||||
|
default=False, title="Use snapshots for generating descriptions."
|
||||||
|
)
|
||||||
prompt: str = Field(
|
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.",
|
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.",
|
title="Default caption prompt.",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user