sqlite-vec
sqlite-vec copied to clipboard
datasette-sqlite-vec plugin fails to register hook
The datasette-sqlite-vec plugin isn't currently registering the plugin hooks correctly. Should be a small fix.
I think the bug is over in sqlite-dist - somewhere around here: https://github.com/asg017/sqlite-dist/blob/f4e43b3a708e23fde716fc2cb04123fc1ff1f522/src/pip.rs#L316
This workaround works:
datasette --load-extension "$(python -c 'print(__import__("sqlite_vec").loadable_path())')"
@simonw Datasette and sqlite-utils bindings have been fixed in v0.1.1, let me know if it doesnt work for you! https://github.com/asg017/sqlite-vec/releases/tag/v0.1.1