mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-07-30 23:59:02 +03:00
Embeddings tweaks (#16864)
* make semantic search optional * config * frontend metrics * docs * tweak * fixes * also check genai cameras for embeddings context
This commit is contained in:
@@ -1083,10 +1083,7 @@ def regenerate_description(
|
||||
|
||||
camera_config = request.app.frigate_config.cameras[event.camera]
|
||||
|
||||
if (
|
||||
request.app.frigate_config.semantic_search.enabled
|
||||
and camera_config.genai.enabled
|
||||
):
|
||||
if camera_config.genai.enabled:
|
||||
request.app.event_metadata_updater.publish((event.id, params.source))
|
||||
|
||||
return JSONResponse(
|
||||
|
||||
Reference in New Issue
Block a user