asg017 / sqlite-vss

A SQLite extension for efficient vector search, based on Faiss!
MIT License
1.59k stars 59 forks source link

Wrong version reported v0.0.4 instead of v0.1.0 #78

Open teowave opened 11 months ago

teowave commented 11 months ago

I am running this introductory/test code from the docs:

import sqlite_vss print(sqlite_vss.vss_loadable_path())

'/.../venv/lib/python3.9/site-packages/sqlite_vss/vss0'

import sqlite3 conn = sqlite3.connect(':memory:') conn.enable_load_extension(True) sqlite_vss.load(conn)

print(conn.execute('select vss_version()').fetchone()[0])

'v0.1.0'

I am getting the right path, but the wrong vss version, I am getting v0.0.4 instead of v0.1.0

Do I have an installation bug or is the v0.0.4 a survivor of some version mismatches?

pip reported installing v0.1.0

asg017 commented 11 months ago

Can you try with pip install -U sqlite-vss==0.1.1a21?

I think there was a bug in an older version that had that v0.1.0/v0.0.4 mismatch, but should be fixed in v0.1.1-alpha.21. Will be releasing v0.1.1 soon

teowave commented 11 months ago

Thanks for the tip, it still reports v0.0.4. But no worries, now I know I got the installation right