RAG on SQLite without external vector databases
Top 93.9% on sourcepulse
This library provides Retrieval-Augmented Generation (RAG) capabilities using only SQLite, eliminating the need for separate vector databases. It targets developers and researchers building AI applications that require efficient, local document querying and question answering, offering a self-contained and versatile solution.
How It Works
The core innovation lies in leveraging sqlite-vec
to store and query vector embeddings directly within SQLite. It supports hybrid search by combining vector similarity with full-text search, using Reciprocal Rank Fusion (RRF) for ranking results. This approach simplifies deployment and reduces infrastructure overhead compared to solutions requiring external vector databases.
Quick Start & Requirements
pip install haiku.rag
haiku-rag add "Your content here"
, haiku-rag search "query"
, haiku-rag ask "question"
Highlighted Details
Maintenance & Community
The project is maintained by ggozad. Community and support channels are not explicitly mentioned in the README.
Licensing & Compatibility
The README does not specify a license. Compatibility for commercial use or closed-source linking is not detailed.
Limitations & Caveats
The README does not mention any specific limitations, known bugs, or deprecation warnings. The absence of a specified license may pose a caveat for commercial adoption.
1 day ago
Inactive