Skip to content

2xic-speedrun/vec-db

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic vector database in Rust

Just for fun, and not for production!

Idea is that https://github.com/2xic-speedrun/latios might use this as a way to quickly find similar latent embeddings.

TODO

Api (todo)

db.save(vec)

  • Save the vector to database

db.query(vec, n=5)

  • Gives you n (5) most similar vectors to the query vector in the database