mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-17 05:38:25 +03:00
fix genai
This commit is contained in:
parent
52a9ff617a
commit
c8f91a1807
@ -386,10 +386,10 @@ class FrigateConfig(FrigateBaseModel):
|
|||||||
description="Settings to configure a custom object detection model and its input shape.",
|
description="Settings to configure a custom object detection model and its input shape.",
|
||||||
)
|
)
|
||||||
|
|
||||||
# GenAI config
|
# GenAI config (named provider configs: name -> GenAIConfig)
|
||||||
genai: GenAIConfig = Field(
|
genai: Dict[str, GenAIConfig] = Field(
|
||||||
default_factory=GenAIConfig,
|
default_factory=dict,
|
||||||
title="Generative AI",
|
title="Generative AI configuration (named providers).",
|
||||||
description="Settings for integrated generative AI providers used to generate object descriptions and review summaries.",
|
description="Settings for integrated generative AI providers used to generate object descriptions and review summaries.",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@ -1119,7 +1119,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"genai": {
|
"genai": {
|
||||||
"label": "Generative AI",
|
"label": "Generative AI configuration (named providers).",
|
||||||
"description": "Settings for integrated generative AI providers used to generate object descriptions and review summaries.",
|
"description": "Settings for integrated generative AI providers used to generate object descriptions and review summaries.",
|
||||||
"api_key": {
|
"api_key": {
|
||||||
"label": "API key",
|
"label": "API key",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user