* Simplify loitering logic

* Fix divide by zero

* Add device config for semantic search

* Add docs
This commit is contained in:
Nicolas Mowen
2024-10-10 07:09:12 -06:00
committed by GitHub
parent 6a83ff2511
commit a2ca18a714
10 changed files with 28 additions and 46 deletions

View File

@@ -276,7 +276,7 @@ class FrigateApp:
def init_embeddings_client(self) -> None:
if self.config.semantic_search.enabled:
# Create a client for other processes to use
self.embeddings = EmbeddingsContext(self.db)
self.embeddings = EmbeddingsContext(self.config, self.db)
def init_external_event_processor(self) -> None:
self.external_event_processor = ExternalEventProcessor(self.config)