Hi, thank you for building turso it looks really awesome!
I'm new to turso and trying to setup sqlite-vss, but I get this error:
Error: failed to execute SQL: select rowid, distance from vss_items where vss_search(item_embedding, (select embedding from items where rowid=5));
error code 502:
create table items (
id text primary key,
title text not null,
embedding text
);
Created a virtual table with vss:
create virtual table vss_items using vss0(item_embedding(384));
Inserted items records in the virtual table:
insert into vss_items(rowid, item_embedding) values select rowid, embedding from items;
But now if I try to do a normal SELECT I get:
Error: failed to execute SQL: select * from vss_items limit 5;
SQLite error: bad parameter or other API misuse
And if I try to use the vss_search() function I get:
Error: failed to execute SQL: select rowid, distance from vss_items where vss_search(item_embedding, (select embedding from items where rowid=5));
error code 502:
Hi, thank you for building turso it looks really awesome!
I'm new to turso and trying to setup sqlite-vss, but I get this error:
Here's what I did, following the tutorial from the author of sqlite-vss:
items
table and inserted data:vss
:items
records in the virtual table:But now if I try to do a normal
SELECT
I get:And if I try to use the
vss_search()
function I get:Any clue what could be the issue?