faiss-rs
hnsqlite
faiss-rs | hnsqlite | |
---|---|---|
2 | 6 | |
185 | 143 | |
- | 1.4% | |
6.3 | 5.5 | |
about 1 month ago | 10 months ago | |
Rust | Python | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
faiss-rs
-
Do we really need a specialized vector database?
Rewriting pgvector in Rust can enable the code to be organized in a more modern and extensible way. Rust's ecosystem is also very rich, with existing Rust bindings such as faiss-rs.
-
Faiss: A library for efficient similarity search
I know rust has beings to FAISS (see https://github.com/Enet4/faiss-rs), I don't know if there's anything that would be considered comparable. Alot of work has gone into FAISS
hnsqlite
-
LangChain: The Missing Manual
For anyone thinking about applications of langchain and pinecone but who are looking for something more turn-key check out https://jiggy.ai
The core is actually open source as well, allowing you to take your data back out via sqlite and hnswlib (https://github.com/jiggy-ai/hnsqlite)
-
I built an open source website that lets you upload large files, such as in-depth novels or academic papers, and ask ChatGPT questions based on your specific knowledge base. So far, I've tested it with long books like the Odyssey and random research papers that I like, and it works shockingly well.
We are built on open core https://github.com/jiggy-ai. Our open source hnsqlite is light weight, easy to use. And best of all, we make it easy for you to get your data out of JiggyBase. You can download a sqlite file that contains your document text data, metadata, embedding vectors, and embedding index. This can be used directly in the open source hnsqlite package.
-
What Is a Vector Database
After working through several projects that utilized local hnswlib and different databases for text and vector persistence, I integrated open source hnswlib with sqlite to create an embedded vector search engine that can easily scale up to millions of embeddings. For self-hosted situations of under 10M embeddings and less than insane throughput I think this combo is hard to beat.
https://github.com/jiggy-ai/hnsqlite
- Show HN: Hnsqlite: hnswlib and SQLite integrated for text embedding search
-
Faiss: A library for efficient similarity search
Thanks Leobg!
For anyone else: you pass it directly in metadata see https://github.com/jiggy-ai/hnsqlite/blob/main/test/test_col...
What are some alternatives?
raft - RAFT contains fundamental widely-used algorithms and primitives for machine learning and information retrieval. The algorithms are CUDA-accelerated and form building blocks for more easily writing high performance applications.
langchainrb - Build LLM-powered applications in Ruby
qdrant - Qdrant - High-performance, massive-scale Vector Database for the next generation of AI. Also available in the cloud https://cloud.qdrant.io/
NeMo-Guardrails - NeMo Guardrails is an open-source toolkit for easily adding programmable guardrails to LLM-based conversational systems.
pgvecto.rs - Scalable, Low-latency and Hybrid-enabled Vector Search in Postgres. Revolutionize Vector Search, not Database.
guidance - A guidance language for controlling large language models. [Moved to: https://github.com/guidance-ai/guidance]
hnswlib - Header-only C++/python library for fast approximate nearest neighbors
annoy - Approximate Nearest Neighbors in C++/Python optimized for memory usage and loading/saving to disk
ann-benchmarks - Benchmarks of approximate nearest neighbor libraries in Python
GPT4Memory
hora - 🚀 efficient approximate nearest neighbor search algorithm collections library written in Rust 🦀 .