Search functionality and UI tweaks (#13978)

* Portal tooltips

* Add ability to time_range filter chroma searches

* centering and padding consistency

* add event id back to chroma metadata

* query sqlite first and pass those ids to chroma for embeddings search

* ensure we pass timezone to the api call

* remove object lifecycle from search details for non-object events

* simplify hour calculation

* fix query without filters

* bump chroma version

* chroma 0.5.7

* fix selecting camera group in cameras filter button
This commit is contained in:
Josh Hawkins
2024-09-26 15:30:56 -05:00
committed by GitHub
parent 20fd1db0f4
commit 40fe3b4358
13 changed files with 127 additions and 84 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ def get_metadata(event: Event) -> dict:
{
k: v
for k, v in event_dict.items()
if k not in ["id", "thumbnail"]
if k not in ["thumbnail"]
and v is not None
and isinstance(v, (str, int, float, bool))
}