News for hackers. Stuff that matters.
Re:Show HN: You need a few lines of JS, not a vector database by minimaxir on Tuesday October 01, 2024 @07:15PM (#41715370)
If you don't need a vector database, how are you storing the embeddings to compare the query against?
Re:Show HN: You need a few lines of JS, not a vector database by zcbenz on Tuesday October 01, 2024 @07:30PM (#41715505)
You can use any serialization that supports numbers, in the repo I used BSER (a binary format of JSON), you can even use raw JSON but it would be very inefficient for float numbers though.