mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-01 02:57:41 +03:00
Rename existing function
This commit is contained in:
parent
52295fcac4
commit
0edbf830e5
@ -688,7 +688,7 @@ class EmbeddingMaintainer(threading.Thread):
|
|||||||
"""Embed the description for an event."""
|
"""Embed the description for an event."""
|
||||||
camera_config = self.config.cameras[event.camera]
|
camera_config = self.config.cameras[event.camera]
|
||||||
|
|
||||||
description = self.genai_client.generate_description(
|
description = self.genai_client.generate_object_description(
|
||||||
camera_config, thumbnails, event
|
camera_config, thumbnails, event
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@ -33,7 +33,7 @@ class GenAIClient:
|
|||||||
self.timeout = timeout
|
self.timeout = timeout
|
||||||
self.provider = self._init_provider()
|
self.provider = self._init_provider()
|
||||||
|
|
||||||
def generate_description(
|
def generate_object_description(
|
||||||
self,
|
self,
|
||||||
camera_config: CameraConfig,
|
camera_config: CameraConfig,
|
||||||
thumbnails: list[bytes],
|
thumbnails: list[bytes],
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user