4478 Commits

Author SHA1 Message Date
Nicolas Mowen
374cd2bb2f Add log 2025-08-09 17:11:40 -06:00
Nicolas Mowen
8c511083ff Formatting 2025-08-09 13:39:46 -06:00
Nicolas Mowen
686fdef665 Adjust prompt 2025-08-09 13:38:41 -06:00
Nicolas Mowen
5876695aa1 Cleanup typing and UI 2025-08-09 13:34:37 -06:00
Nicolas Mowen
1452c61378 Remove message 2025-08-09 13:23:47 -06:00
Nicolas Mowen
bd08b7d0bb Add card 2025-08-09 09:09:50 -06:00
Nicolas Mowen
48ab00bd86 Add card 2025-08-09 09:09:15 -06:00
Nicolas Mowen
91947edec6 Correctly dump model 2025-08-09 07:20:57 -06:00
Nicolas Mowen
f94902a333 Fix update type 2025-08-09 06:57:35 -06:00
Nicolas Mowen
6183edad91 Fix name 2025-08-09 06:44:52 -06:00
Nicolas Mowen
fd3b69cde7 Quick fix 2025-08-09 06:41:45 -06:00
Nicolas Mowen
d36777d67a Send review notification updates 2025-08-09 06:31:59 -06:00
Nicolas Mowen
48a69c2ffb Save review metadata to DB 2025-08-09 06:29:29 -06:00
Nicolas Mowen
8d719ec9cb Send review update to dispatcher 2025-08-09 06:11:41 -06:00
Nicolas Mowen
33ae42a940 Handle metadata 2025-08-09 06:11:33 -06:00
Nicolas Mowen
29835909a6 Save genai response to metadata model 2025-08-09 06:02:00 -06:00
Nicolas Mowen
ca38705ea5 Prompt changes 2025-08-08 21:12:46 -06:00
Nicolas Mowen
32bd32cf50 Adjust prompt 2025-08-08 19:59:57 -06:00
Nicolas Mowen
d5424c0b25 Fix detections block 2025-08-08 19:03:19 -06:00
Nicolas Mowen
3feca459c7 Run genai in thread 2025-08-08 18:14:32 -06:00
Nicolas Mowen
5abef619d0 Prompt adjustment 2025-08-08 18:00:23 -06:00
Nicolas Mowen
8cf292a9c2 Adjust prompt 2025-08-08 17:54:30 -06:00
Nicolas Mowen
9a667f18ba Fix review creation 2025-08-08 17:48:15 -06:00
Nicolas Mowen
0cde4793c2 Fix 2025-08-08 17:25:16 -06:00
Nicolas Mowen
e881c8d743 Adjust debug image saving 2025-08-08 17:24:52 -06:00
Nicolas Mowen
35693e73f4 Actual config usage 2025-08-08 16:57:43 -06:00
Nicolas Mowen
82fd9d3063 Use genai review config 2025-08-08 16:53:54 -06:00
Nicolas Mowen
5cba8ea1fa Add config for review items genai 2025-08-08 16:51:21 -06:00
Nicolas Mowen
8f77aa288c Prompt improvements and image saving 2025-08-08 16:48:27 -06:00
Nicolas Mowen
9316f0ea80 testing prompt changes 2025-08-08 16:48:27 -06:00
Nicolas Mowen
22fb06ff53 Create model for review description output 2025-08-08 16:48:27 -06:00
Nicolas Mowen
584d131a7f Adjust input format 2025-08-08 16:48:26 -06:00
Nicolas Mowen
ce2e5031b8 Tinkering with genai prompt 2025-08-08 16:48:26 -06:00
Nicolas Mowen
9546e0c52f Keep track of thumbnial updates 2025-08-08 16:48:26 -06:00
Nicolas Mowen
0edbf830e5 Rename existing function 2025-08-08 16:48:25 -06:00
Nicolas Mowen
52295fcac4
Migrate object genai configuration (#19437)
* Move genAI object to objects section

* Adjust config propogation behavior

* Refactor genai config usage

* Automatic migration

* Always start the embeddings process

* Always init embeddings

* Config fixes

* Adjust reference config

* Adjust docs

* Formatting

* Fix
2025-08-08 17:33:11 -05:00
Nicolas Mowen
6d078e565a
Enable mypy for DB and fix types (#19434)
* Install peewee type hints

* Models now have proper types

* Fix iterator type

* Enable debug builds with dev reqs installed

* Install as wheel

* Fix cast type
2025-08-08 11:25:39 -06:00
Nicolas Mowen
9b2f84d3e9
Adjust loitering behavior based on object type (#19433)
* Adjust loitering behavior based on object

* Update docs

* Grammar
2025-08-08 08:14:59 -06:00
Josh Hawkins
c75d30d902
Ensure alertVideos persistence is loaded before displaying thumb or preview (#19432)
The default value of true would cause previews to be loaded in the background even if the local storage value was false
2025-08-08 07:52:58 -05:00
Nicolas Mowen
687b68246b
Improve comms typing (#18599)
* Enable mypy for comms

* Make zmq data types consistent

* Cleanup inter process typing issues

* Cleanup embeddings typing

* Cleanup config updater

* Cleanup recordings updator

* Make publisher have a generic type

* Cleanup event metadata updater

* Cleanup event metadata updater

* Cleanup detections updater

* Cleanup websocket

* Cleanup mqtt

* Cleanup webpush

* Cleanup dispatcher

* Formatting

* Remove unused

* Add return type

* Fix tests

* Fix semantic triggers config typing

* Cleanup
2025-08-08 07:08:37 -05:00
Nicolas Mowen
5d2328599f Cleanup 2025-08-07 21:06:42 -06:00
Nicolas Mowen
6db70dc101 Implement start for review item description processor (#19352)
* Add review item data transmission

* Publish review updates

* Add review item subscriber

* Basic implementation for testing review processor

* Formatting
2025-08-07 20:58:34 -06:00
Nicolas Mowen
cd97a8618c Improve the tablet layout (#19320)
* Improve the tablet layout

* Update imports sort

* Fix more imports
2025-08-07 20:58:34 -06:00
Steve Smith
44232d31d8 Add bookworm-backports to the rocm images and upgrade mesa/vaapi to support RDNA4 GPUs (#19312) 2025-08-07 20:58:34 -06:00
Nicolas Mowen
b098a5442e Require setting process priority for FrigateProcess (#19207) 2025-08-07 20:58:34 -06:00
Nicolas Mowen
71e18ae888 Object attribute classification (#19205)
* Add enum for type of classification for objects

* Update recognized license plate topic to be used as attribute updater

* Update attribute for attribute type object classification

* Cleanup
2025-08-07 20:58:34 -06:00
Nicolas Mowen
d5553edd9f Classification train updates (#19173)
* Improve model train button

* Add filters for classification

* Cleanup

* Don't run classification on false positives

* Cleanup filter

* Fix icon color
2025-08-07 20:58:34 -06:00
Josh Hawkins
a8404d6ee1 Dynamically enable/disable GenAI (#19139)
* config

* dispatcher and mqtt

* docs

* use config updater

* add switch to frontend
2025-08-07 20:58:33 -06:00
Josh Hawkins
32f547ab59 Optionally show tracked object paths in debug view (#19025) 2025-08-07 20:57:36 -06:00
Josh Hawkins
ef406ba647 Semantic Search Triggers (#18969)
* semantic trigger test

* database and model

* config

* embeddings maintainer and trigger post-processor

* api to create, edit, delete triggers

* frontend and i18n keys

* use thumbnail and description for trigger types

* image picker tweaks

* initial sync

* thumbnail file management

* clean up logs and use saved thumbnail on frontend

* publish mqtt messages

* webpush changes to enable trigger notifications

* add enabled switch

* add triggers from explore

* renaming and deletion fixes

* fix typing

* UI updates and add last triggering event time and link

* log exception instead of return in endpoint

* highlight entry in UI when triggered

* save and delete thumbnails directly

* remove alert action for now and add descriptions

* tweaks

* clean up

* fix types

* docs

* docs tweaks

* docs

* reuse enum
2025-08-07 20:57:35 -06:00