I want to add support for embeddings to my open source LLM module (AIKit). This would make it easier for Xojo programmers to use RAG (retrieval augmented generation) with LLMs.
To do this, I need a database that supports vector searching. For maximum simplicity of use, it would be awesome if I could use SQLite.
From my research, it looks like SQLite doesn’t natively support vector search but there are many extensions to SQLite that do, for example:
Is there a way to enable third party extensions to SQLite?
Seems likely. You can load extensions into the SQLite libary at runtime, but there is no Xojo method to do that (AFAIK), and also missing would be the required interface to the extension, callable from Xojo.