AnswerDotAI / AnswerDotAI/fastlite

How can I use SQLite extensions with fastlite?

Open
#27 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
232
Forks
19
PR merge metrics
No merged PRs in 30d

Description

Hi there,

I am using `fastlite` for my FastHTML app. I am using the [sqlite-vec extension ](https://github.com/asg017/sqlite-vec) 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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.