mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-08-08 13:51:01 +02:00
14 lines
427 B
Python
14 lines
427 B
Python
from typing import Optional
|
|
|
|
from pydantic import BaseModel, Field
|
|
|
|
from frigate.events.types import RegenerateDescriptionEnum
|
|
|
|
|
|
class RegenerateQueryParameters(BaseModel):
|
|
source: Optional[RegenerateDescriptionEnum] = RegenerateDescriptionEnum.thumbnails
|
|
force: Optional[bool] = Field(
|
|
default=False,
|
|
description="Force (re)generating the description even if GenAI is disabled for this camera.",
|
|
)
|