Skip to content

2xic-speedrun/vec-db

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

vector database to be written

Resources

Stars

Watchers

Forks

Contributors