|
|
|
|
|
by TachyonicBytes
772 days ago
|
|
Really nice to see Wasm there, usually vector search in sqlite wasn't available in the browser. Did you ever consider making it syntax compatible with pgvector, in order to have a common SQL vector DSL? I am sure the benefits are much smaller than the disadvantages, but I'm curious if it's possible. |
|
I instead tried to match SQLite's FTS5 full text search[1] extension where possible. It solves a similar problem: storing data in its own optimized format with a virtual table, so offering a similar API seemed appropriate.
Plus, there's a few quirks with the pgvector API that I don't quite like (like vector column definitions), so starting from scratch is nice!
[0] https://www.sqlite.org/vtab.html
[1] https://www.sqlite.org/fts5.html