From fc242e200133c3450b907539fc68309ce6991e2e Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Fri, 4 Oct 2024 15:44:28 -0500 Subject: [PATCH] search with Event type for similarity --- frigate/api/event.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/api/event.py b/frigate/api/event.py index 7d4802355..f0f846b00 100644 --- a/frigate/api/event.py +++ b/frigate/api/event.py @@ -495,7 +495,7 @@ def events_search(request: Request, params: EventsSearchQueryParams = Depends()) ), status_code=404, ) - thumb_results = context.embeddings.search_thumbnail(search_event.id, limit) + thumb_results = context.embeddings.search_thumbnail(search_event, limit) else: search_types = search_type.split(",")