mirror of
https://github.com/ZTatman/Nadir.git
synced 2026-11-22 12:57:58 +00:00
Filter null embeddings in match_entries docs
This commit is contained in:
parent
3ecb95caea
commit
360cde9aef
1 changed files with 1 additions and 0 deletions
|
|
@ -315,6 +315,7 @@ as $$
|
||||||
from public.entries e
|
from public.entries e
|
||||||
left join public.entry_analysis a on a.entry_id = e.id
|
left join public.entry_analysis a on a.entry_id = e.id
|
||||||
where e.user_id = match_user_id
|
where e.user_id = match_user_id
|
||||||
|
and e.embedding is not null
|
||||||
order by e.embedding <=> query_embedding
|
order by e.embedding <=> query_embedding
|
||||||
limit match_count;
|
limit match_count;
|
||||||
$$;
|
$$;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue