Commit Graph

3282 Commits

Author SHA1 Message Date
Josh Hawkins
18e1eca914 fix query 2024-10-05 06:46:34 -05:00
Josh Hawkins
6bfee9993e revert explore query 2024-10-05 06:07:33 -05:00
Josh Hawkins
fa6fda4295 optimize queries 2024-10-05 05:45:25 -05:00
Josh Hawkins
92298e6578 hard code limit 2024-10-05 05:45:06 -05:00
Josh Hawkins
d189893459 try removing custom pysqlite3 build 2024-10-05 05:44:39 -05:00
Josh Hawkins
3b78908ef3 remove chroma from UI 2024-10-04 19:19:49 -05:00
Josh Hawkins
a4d43a97c4 remove chroma from docs 2024-10-04 19:17:47 -05:00
Josh Hawkins
e28767b107 readd tokenizer parallelism env var 2024-10-04 19:15:18 -05:00
Josh Hawkins
ddfabbb78c readd uvicorn for fastapi 2024-10-04 18:14:27 -05:00
Josh Hawkins
6607ad2970 fully remove chroma and add transformers env var 2024-10-04 18:03:40 -05:00
Josh Hawkins
ac9f904221 clean up 2024-10-04 17:23:39 -05:00
Josh Hawkins
e74d35a17c clean up 2024-10-04 17:22:03 -05:00
Josh Hawkins
cdafb318fd add id filter 2024-10-04 17:18:56 -05:00
Josh Hawkins
df94a941fc fix normalization 2024-10-04 17:18:50 -05:00
Josh Hawkins
980a889001 install and add comment about transformers 2024-10-04 16:06:04 -05:00
Josh Hawkins
afb36a5ce9 fix similarity search 2024-10-04 15:59:00 -05:00
Josh Hawkins
fc242e2001 search with Event type for similarity 2024-10-04 15:44:28 -05:00
Josh Hawkins
1b7f469daf extend the SqliteQueueDatabase class and use peewee db.execute_sql 2024-10-04 15:40:53 -05:00
Josh Hawkins
5181ea7b3d load sqlite_vec in main thread db 2024-10-04 13:23:46 -05:00
Josh Hawkins
b31216da74 genai description for sqlite_vec 2024-10-04 13:23:26 -05:00
Josh Hawkins
cb5b982b61 migrate embedding maintainer from chroma to sqlite_vec 2024-10-04 13:23:06 -05:00
Josh Hawkins
f5aceece73 migrate event cleanup from chroma to sqlite_vec 2024-10-04 13:22:32 -05:00
Josh Hawkins
3e5420c410 migrate api from chroma to sqlite_vec 2024-10-04 13:22:01 -05:00
Josh Hawkins
3c334175c7 remove chroma in clip model 2024-10-04 13:21:29 -05:00
Josh Hawkins
4444d82089 manual minilm onnx inference 2024-10-04 13:21:14 -05:00
Josh Hawkins
654efe6be1 remove chroma and revamp Embeddings class for sqlite_vec 2024-10-04 13:20:24 -05:00
Josh Hawkins
139c8652a9 load sqlite_vec in embeddings manager 2024-10-04 13:20:02 -05:00
Josh Hawkins
affa7bdc77 swap sqlite_vec for chroma in requirements 2024-10-04 13:18:44 -05:00
gtsiam
54900ae318
Properly call super() in subclasses (#14124) 2024-10-02 19:35:46 -06:00
gtsiam
3c015bf822
Do not migrate db to new config path (#14123)
I just saw this, and I would be very surprised by that behaviour as a
user. Changing the db path would randomly move the database, and
changing it back (or to anything, really) would not. These kinds of
advanced settings are generally expected to do one thing: Change the
path frigate opens the database from. The end.
2024-10-02 19:34:14 -06:00
Josh Hawkins
a1efcfb2d0
Fix alert thumbnails on iOS and safari desktop (#14121) 2024-10-02 13:49:52 -06:00
Nicolas Mowen
75d531285a
Don't consider segments containing unprocessed frames in segment count (#14120) 2024-10-02 12:55:55 -05:00
Nicolas Mowen
0aad7db2d2
UI tweaks (#14118)
* Reset snapshot state when event is moved

* Add page listener for review page

* Add same listener for search page

* Use content height
2024-10-02 09:32:12 -05:00
Nicolas Mowen
20c3b890ae
Clean up hwaccel docs (#14117) 2024-10-02 08:58:53 -05:00
Josh Hawkins
0126960d79
UI improvements and fixes (#14116)
* Add slider to adjust number of columns in search view

* Work around safari bug with alert thumbnails

* adjust gap
2024-10-02 07:59:53 -05:00
Josh Hawkins
849d441c5c
Azure genai fixes (#14103)
* Azure fixes

* clarify docs

* sublabels fix
2024-10-01 16:05:16 -06:00
Josh Hawkins
b5f5627ca6
Add Azure OpenAI as genai provider (#14102)
* add azure openai genai client

* docs
2024-10-01 13:57:40 -06:00
Nicolas Mowen
5b0c1e5b9e
Fix event entries (#14093) 2024-10-01 11:07:13 -05:00
Nicolas Mowen
3cff0df0ce
Bug fixes (#14092)
* Fix path of selected GPU

* Fix selection bug

* Simplify
2024-10-01 07:54:27 -06:00
Nicolas Mowen
15fa55c223
Refactor attribute saving (#14090)
* Refactor attribute saving

* Ensure sub label is not overwritten

* Formatting

* Fix unused
2024-10-01 07:31:03 -06:00
Nicolas Mowen
594ca3a04b
Don't assume single render device is D128 (#14091) 2024-10-01 07:27:41 -06:00
Josh Hawkins
fafe5623d1
UI tweaks (#14088)
* fix squashed alert thumbnails in filmstrip

* add genai debug logs

* consistent themed image loading indicator background color

* improve image loading skeleton in object lifecycle pane

* less rounding when screen is smaller

* use browser back button to dismiss review pane

* initial state
2024-10-01 07:01:45 -06:00
dependabot[bot]
141cf39368
Bump docker/login-action from 3.2.0 to 3.3.0 (#12555)
Bumps [docker/login-action](https://github.com/docker/login-action) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](0d4c9c5ea7...9780b0c442)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-01 06:03:55 -06:00
Josh Hawkins
1fa050fd7a
Add genai use_snapshot to reference config (#14078) 2024-09-30 17:46:09 -05:00
Nicolas Mowen
f36e7430ae
Fix logging (#14079)
* Fix log level setting

* fix app.py mypy issues
2024-09-30 17:45:22 -05:00
Nicolas Mowen
94fd75e014
Misc Improvements (#14076)
* Return ID of export in http response

* Ignore keyboard listener when typing in text field

* Add other keyboard listeners
2024-09-30 16:55:44 -05:00
Josh Hawkins
95d6da3111
Add ability to configure genai to use snapshot instead of thumbnails (#14077)
* Allow embedding of snapshot for description via config option

* docs

* frontend button

* Backend

* crop snapshot to region

* only show dropdown when event has snapshot

* fix cursor on dropdown

* crop on initial generation as well

* use enum for type

* fix type
2024-09-30 15:54:53 -06:00
Nicolas Mowen
4dc4704bb4
Improve Intel GPU stats (#14073)
* Fix formatting

* Fix test
2024-09-30 16:41:14 -05:00
Nicolas Mowen
18bf7f93fa
Improve rocm handling of different models (#14072)
* Improve rocm handling of different models

* Formatting

* Fix type check
2024-09-30 16:40:46 -05:00
Nicolas Mowen
c73f694c63
Improve gamma filter (#14065)
* Improve gamma filter

* Fix tests
2024-09-30 11:42:51 -06:00