mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-08 22:45:28 +03:00
Adjust limits
This commit is contained in:
parent
5900c4936b
commit
b7ede4bd6d
@ -30,8 +30,8 @@ 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(
|
||||||
min_length=120,
|
min_length=150,
|
||||||
max_length=600,
|
max_length=400,
|
||||||
description="A chronological narrative of what happens from start to finish, drawing directly from the items in observations.",
|
description="A chronological narrative of what happens from start to finish, drawing directly from the items in observations.",
|
||||||
)
|
)
|
||||||
shortSummary: str = Field(
|
shortSummary: str = Field(
|
||||||
@ -41,6 +41,7 @@ class ReviewMetadata(BaseModel):
|
|||||||
)
|
)
|
||||||
confidence: float = Field(
|
confidence: float = Field(
|
||||||
ge=0.0,
|
ge=0.0,
|
||||||
|
le=1.0,
|
||||||
description="Confidence in the analysis as a decimal between 0.0 and 1.0, where 0.0 means no confidence and 1.0 means complete confidence. Express ONLY as a decimal.",
|
description="Confidence in the analysis as a decimal between 0.0 and 1.0, where 0.0 means no confidence and 1.0 means complete confidence. Express ONLY as a decimal.",
|
||||||
)
|
)
|
||||||
potential_threat_level: int = Field(
|
potential_threat_level: int = Field(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user