mirror of
https://github.com/hanzoai/sqlite-vec.git
synced 2026-10-30 20:33:15 +00:00
32 lines
735 B
SQL
32 lines
735 B
SQL
.timer on
|
|
|
|
select rowid, distance
|
|
from vec_items
|
|
where embedding match (select embedding from vec_items where rowid = 100)
|
|
and k = :k
|
|
order by distance;
|
|
|
|
select rowid, distance
|
|
from vec_items
|
|
where embedding match (select embedding from vec_items where rowid = 100)
|
|
and k = :k
|
|
order by distance;
|
|
|
|
select rowid, distance
|
|
from vec_items
|
|
where embedding match (select embedding from vec_items where rowid = 100)
|
|
and k = :k
|
|
order by distance;
|
|
|
|
select rowid, distance
|
|
from vec_items
|
|
where embedding match (select embedding from vec_items where rowid = 100)
|
|
and k = :k
|
|
order by distance;
|
|
|
|
select rowid, distance
|
|
from vec_items
|
|
where embedding match (select embedding from vec_items where rowid = 100)
|
|
and k = :k
|
|
order by distance;
|