mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-09-24 18:26:51 +03:00
* Add script for testing genai review prompts * Add option for prompt styling * Add tests * Update docs
GenAI Review Examples
Local example data for testing-scripts/genai_review_tester.py.
Each subfolder here should be a copy of a debug output folder saved by
Frigate when review.genai.debug_save_thumbnails: True is enabled. Those
folders are written to clips/genai-requests/<review_id>/ and contain:
- Numbered frame images (
0.jpg,1.jpg, ... or.webp) as sent to the GenAI provider prompt.txtwith the exact prompt Frigate built for the requestresponse.txtwith the provider's response (not used by the tester)
Copy folders in, optionally rename them to something memorable (for example
driveway-night-delivery), then run the tester from the repo root:
python3 testing-scripts/genai_review_tester.py
Everything in this folder except this README is gitignored, since the frames
come from real cameras. Provider settings for the tester are stored here in
.settings.json.