tursodatabase / libsql

libSQL is a fork of SQLite that is both Open Source, and Open Contributions.

Home Page:https://turso.tech/libsql

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No such function: vector

filipjnc opened this issue · comments

commented

According to this post, libsql should have native support for vectors. However, when I try to insert a vector like described in the post via libsql client I get LibsqlError: SQLITE_ERROR: no such function: vector. Any advice?

Version: "@libsql/client": "^0.6.2"

I am facing the same issue with Typescript. Were you able to find a solution?

commented

I am facing the same issue with Typescript. Were you able to find a solution?

Not yet, hoping for a hint from the community or the turso team.

Did you create your db using:

turso group create default --version vector

or updated existing group using:

turso group update default --version vector

?

commented

@haaawk I didn't create it on turso but locally. Does this command apply locally as well?

@haaawk I didn't create it on turso but locally. Does this command apply locally as well?

Not at the moment.

The vector() function is now part of the Rust, JavaScript, and Python SDKs.