mirror of
https://github.com/immich-app/immich
synced 2026-08-29 13:15:45 +00:00
feat: view similar photos (#21108)
* Enable filteing by example * Drop `@GenerateSql` for `getEmbedding`? * Improve error message * PR Feedback * Sort en.json * Add SQL * Fix lint * Drop test that is no longer valid * Fix i18n file sorting * Fix TS error * Add a `requireAccess` before pulling the embedding * Fix decorators * Run `make open-api` --------- Co-authored-by: Alex <alex.tran1502@gmail.com>
This commit is contained in:
parent
bf6211776f
commit
37a79292c0
12 changed files with 105 additions and 29 deletions
|
|
@ -123,6 +123,14 @@ offset
|
|||
$8
|
||||
commit
|
||||
|
||||
-- SearchRepository.getEmbedding
|
||||
select
|
||||
*
|
||||
from
|
||||
"smart_search"
|
||||
where
|
||||
"assetId" = $1
|
||||
|
||||
-- SearchRepository.searchFaces
|
||||
begin
|
||||
set
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue