mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-15 07:35:27 +03:00
object list
This commit is contained in:
parent
138bbc7276
commit
ec625e0230
@ -810,8 +810,9 @@ class GenAICameraConfig(BaseModel):
|
|||||||
title="Default caption prompt.",
|
title="Default caption prompt.",
|
||||||
)
|
)
|
||||||
object_prompts: Dict[str, str] = Field(default={}, title="Object specific prompts.")
|
object_prompts: Dict[str, str] = Field(default={}, title="Object specific prompts.")
|
||||||
objects: Dict[str, int] = Field(
|
objects: Union[str, List[str]] = Field(
|
||||||
default_factory=dict, title="Objects to run generative AI for."
|
default_factory=list,
|
||||||
|
title="List of objects to run generative AI for.",
|
||||||
)
|
)
|
||||||
required_zones: Union[str, List[str]] = Field(
|
required_zones: Union[str, List[str]] = Field(
|
||||||
default_factory=list,
|
default_factory=list,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user