Embeddings UI updates (#14378)

* Handle Frigate+ submitted case

* Add search settings and rename general to ui settings

* Add platform aware sheet component

* use two columns on mobile view

* Add cameras page to more filters

* clean up search settings view

* Add time range to side filter

* better match with ui settings

* fix icon size

* use two columns on mobile view

* clean up search settings view

* Add zones and saving logic

* Add all filters to side panel

* better match with ui settings

* fix icon size

* Fix mobile fitler page

* Fix embeddings access

* Cleanup

* Fix scroll

* fix double scrollbars and add separators on mobile too

* two columns on mobile

* italics for emphasis

---------

Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
This commit is contained in:
Nicolas Mowen
2024-10-15 18:25:59 -06:00
committed by GitHub
parent b75efcbca2
commit 3f1ab66899
11 changed files with 919 additions and 798 deletions

View File

@@ -178,7 +178,7 @@ class Embeddings:
embeddings = []
for desc in event_descriptions.values():
embeddings.append(self.text_embedding([desc]))
embeddings.append(self.text_embedding([desc])[0])
ids = list(event_descriptions.keys())