From 5415c6c9994070fa2ace8b3c2b952c368d000376 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Thu, 26 Sep 2024 10:25:10 -0500 Subject: [PATCH] add event id back to chroma metadata --- frigate/embeddings/embeddings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/embeddings/embeddings.py b/frigate/embeddings/embeddings.py index ba5363cab..540764c1b 100644 --- a/frigate/embeddings/embeddings.py +++ b/frigate/embeddings/embeddings.py @@ -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)) }