mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-15 07:35:27 +03:00
search with Event type for similarity
This commit is contained in:
parent
1b7f469daf
commit
fc242e2001
@ -495,7 +495,7 @@ def events_search(request: Request, params: EventsSearchQueryParams = Depends())
|
|||||||
),
|
),
|
||||||
status_code=404,
|
status_code=404,
|
||||||
)
|
)
|
||||||
thumb_results = context.embeddings.search_thumbnail(search_event.id, limit)
|
thumb_results = context.embeddings.search_thumbnail(search_event, limit)
|
||||||
else:
|
else:
|
||||||
search_types = search_type.split(",")
|
search_types = search_type.split(",")
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user