mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-08-02 17:12:16 +03:00
Use preview frames for Review Descriptions (#19450)
* Use preview frames for genai * Cleanup * Adjust
This commit is contained in:
committed by
Blake Blackshear
parent
92417a1b9c
commit
3cf86767f1
@@ -70,6 +70,9 @@ class GenAIClient:
|
||||
**IMPORTANT:**
|
||||
- Values must be plain strings, floats, or integers — no nested objects, no extra commentary.
|
||||
"""
|
||||
logger.debug(
|
||||
f"Sending {len(thumbnails)} images to create review description on {review_data['camera']}"
|
||||
)
|
||||
response = self._send(context_prompt, thumbnails)
|
||||
|
||||
if response:
|
||||
|
||||
Reference in New Issue
Block a user