mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-07 02:18:07 +01:00
Genai review summaries (#19473)
* Generate review item summaries with requests * Adjust logic to only send important items * Don't mention ladder * Adjust prompt to be more specific * Add more relaxed nature for normal activity * Cleanup summary * Update ollama client * Add more directions to analyze the frames in order * Remove environment from prompt
This commit is contained in:
committed by
Blake Blackshear
parent
8e663413bb
commit
dace88bfce
@@ -85,9 +85,6 @@ export default function ReviewDetailDialog({
|
||||
|
||||
let concerns = "";
|
||||
switch (aiAnalysis.potential_threat_level) {
|
||||
case ThreatLevel.UNUSUAL:
|
||||
concerns = "• Unusual Activity\n";
|
||||
break;
|
||||
case ThreatLevel.SUSPICIOUS:
|
||||
concerns = "• Suspicious Activity\n";
|
||||
break;
|
||||
|
||||
@@ -81,7 +81,6 @@ export type ConsolidatedSegmentData = {
|
||||
export type TimelineZoomDirection = "in" | "out" | null;
|
||||
|
||||
export enum ThreatLevel {
|
||||
UNUSUAL = 1,
|
||||
SUSPICIOUS = 2,
|
||||
DANGER = 3,
|
||||
SUSPICIOUS = 1,
|
||||
DANGER = 2,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user