You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using fastlite for my FastHTML app. I am using the sqlite-vec extension installed via its sqlite-utils plugin. When I access the database via sqlite-utils' Database object, I can access the sqlite-vec functionality without any issues. If I access the same database via fastlite's Database object, I get the following error:
sqlite no such module: vec0
Given that fastlite is described as a "thin wrapper around sqlite-utils", I expected the sqlite-vec extension to work seamlessly here as well. Is there a known configuration step I might be missing, or does fastlite handle extensions differently?
I'd appreciate any guidance or suggestions on how to resolve this.
Thanks in advance for your help!
Best regards,
Frederik
The text was updated successfully, but these errors were encountered:
@FrLars21 it's undocumented, but try passing in execute_plugins to the sqlite-utils Database class. Plugins (like sqlite-utils-sqlite-vec) don't automatically enable in the Python API unless execute_plugins=True in the constructor.
@FrLars21 it's undocumented, but try passing in execute_plugins to the sqlite-utils Database class. Plugins (like sqlite-utils-sqlite-vec) don't automatically enable in the Python API unless execute_plugins=True in the constructor.
By reading the release it was when fastlite passed from sqlite-utils to sqlite-minutils. I wonder if it's possible to just add the possibility to add plugins such as sqlite-vec (of which I'm a big fan) and not add all the other cli options (redundant for a Python library).
Hi there,
I am using
fastlite
for my FastHTML app. I am using the sqlite-vec extension installed via its sqlite-utils plugin. When I access the database via sqlite-utils' Database object, I can access thesqlite-vec
functionality without any issues. If I access the same database via fastlite's Database object, I get the following error:Given that
fastlite
is described as a "thin wrapper aroundsqlite-utils
", I expected thesqlite-vec
extension to work seamlessly here as well. Is there a known configuration step I might be missing, or doesfastlite
handle extensions differently?I'd appreciate any guidance or suggestions on how to resolve this.
Thanks in advance for your help!
Best regards,
Frederik
The text was updated successfully, but these errors were encountered: