valentinus 0.1.1

Proof-of-concept vector db built on top of LMDB
docs.rs failed to build valentinus-0.1.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: valentinus-1.1.3

.github/workflows/rust.yml

Crates.io Downloads (latest version)

valentinus

vector db built on top of lmdb

dependencies

  • lmdb-rs - database bindings
  • linfa - machine learning
  • ndarray - numpy equivalent
  • rust-bert - embeddings encoding
  • libtorch 2.1.1 - required by rust-bert
  • see rust-bert/tch-rs

getting started

git clone --recursive https://github.com/kn0sys/valentinus
git submodule --init --update
export LIBTORCH="/home/user/libtorch"
export LD_LIBRARY_PATH="$LIBTORCH/lib"
export LIBTORCH_BYPASS_VERSION_CHECK=1

examples

see examples

reference

inspired by this chromadb python tutorial