From ea246384bf122d687547306b54c3fed3396a88b7 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Fri, 24 Apr 2026 17:40:52 -0600 Subject: [PATCH] Set min length for GenAI scene to encourage details (#22996) --- frigate/data_processing/post/types.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frigate/data_processing/post/types.py b/frigate/data_processing/post/types.py index 6906f4a4e..10390112d 100644 --- a/frigate/data_processing/post/types.py +++ b/frigate/data_processing/post/types.py @@ -8,7 +8,9 @@ class ReviewMetadata(BaseModel): description="A short title characterizing what took place and where, under 10 words." ) scene: str = Field( - description="A chronological narrative of what happens from start to finish." + min_length=120, + max_length=600, + description="A chronological narrative of what happens from start to finish.", ) shortSummary: str = Field( description="A brief 2-sentence summary of the scene, suitable for notifications."