Embedding database in pure Rust
Top 71.5% on sourcepulse
Tinyvector is a lightweight, pure Rust embedding database designed for users who find existing vector databases overly complex for their needs, such as document chat applications or small-scale e-commerce search. It offers a simple, customizable, and fast solution for managing and querying vector embeddings.
How It Works
Tinyvector utilizes an in-memory storage approach for its indexes, enabling fast querying on small to medium datasets. It is built as a minimal Axum server, allowing for easy customization with approximately 600 lines of code. The project aims to provide comparable speed to more advanced databases for smaller datasets and slightly better accuracy, with future plans for integrated model support and metadata filtering.
Quick Start & Requirements
docker run -p 8000:8000 ghcr.io/m1guelpf/tinyvector:edge
cargo install tinyvector
or cargo build --release
after cloning./tinyvector/storage
when using Docker Compose or Kubernetes.Highlighted Details
Maintenance & Community
The project is actively maintained by m1guelpf. Further community and roadmap details are not explicitly provided in the README.
Licensing & Compatibility
Limitations & Caveats
The project is still under active development, with features like powerful queries and integrated models planned for future releases. Current performance claims are based on expectations for small to medium datasets.
1 year ago
1 day