mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-07-14 16:01:13 +03:00
Set min length for GenAI scene to encourage details
This commit is contained in:
parent
434ef358a2
commit
05c19ccace
@ -8,7 +8,9 @@ class ReviewMetadata(BaseModel):
|
|||||||
description="A short title characterizing what took place and where, under 10 words."
|
description="A short title characterizing what took place and where, under 10 words."
|
||||||
)
|
)
|
||||||
scene: str = Field(
|
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(
|
shortSummary: str = Field(
|
||||||
description="A brief 2-sentence summary of the scene, suitable for notifications."
|
description="A brief 2-sentence summary of the scene, suitable for notifications."
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user