Skip to content

Is it possible to use the sqlite as a vector database with this ? #91

Answered by zombiezen
RocketRene asked this question in Q&A
Discussion options

You must be logged in to vote

I am new to go and sqlite, and I want to build a small project that uses LLMs, embeddings and so on. I would be very happy if I would not have to run a real vector db because that's an overkill for my use case. Can I use https://github.com/asg017/sqlite-vss and this library in combination ?

Not directly, sadly, since this library does not support dynamic loading C extensions. You might be able to use modernc.org/ccgo/v4 to translate the extension into Go and then hook it up with the virtual table API.

And is it possible to generate type safe code with https://github.com/sqlc-dev/sqlc ?

Again, I'm not aware of an ability to do that directly right now. According to the sqlc docs, the co…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@RocketRene
Comment options

Answer selected by RocketRene
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants