Add ability to define Review Summary camera context (#20828)

* Add ability to define GenAI camera context

* Cleanup

* Only show example with list
This commit is contained in:
Nicolas Mowen
2025-11-06 07:39:44 -07:00
committed by GitHub
parent 8048168814
commit 35ce275071
5 changed files with 53 additions and 2 deletions
+4
View File
@@ -140,6 +140,10 @@ Evaluate in this order:
The mere presence of an unidentified person in private areas during late night hours is inherently suspicious and warrants human review, regardless of what activity they appear to be doing or how brief the sequence is.""",
title="Custom activity context prompt defining normal and suspicious activity patterns for this property.",
)
camera_context: str = Field(
default="",
title="Spatial context about the camera's field of view to help with descriptive accuracy. Should describe physical features and locations outside the frame.",
)
class ReviewConfig(FrigateBaseModel):