Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 2.16 KB

File metadata and controls

35 lines (27 loc) · 2.16 KB

Simple vector database

This is a simple vector database. Not for use in production.

Originally this was a basic vector database that uses k-means to reduce the number of vector lookups. It has since become more a playground for also other algorithms used in vector databases.

See examples for some code examples.

Thanks

Pinecone has some great articles ("vector indexes") and especially some of the videos from James Briggs on the subject ("Faiss - Introduction to Similarity Search") made things easier to grasp.

These are also good resources

Other good blog posts

Other algorithms

There are many other algorithms, check the ann-benchmark

Install (Ubuntu)

apt install llvm-dev libclang-dev clang
pip install maturin
cd vec-db && make install