0hq / tinyvector

A tiny nearest-neighbor embedding database built with SQLite and Pytorch. (In development!)
MIT License
772 stars 24 forks source link

Adding Tests and replacing internals of database.py with some new code #11

Closed ivanleomk closed 1 year ago

ivanleomk commented 1 year ago

Added some unit tests and changed internals of the database.py so that it uses pydantic v2.0 models. Also fixed up some bugs in the database logic.