Live data from Hacker News

Show HN: You need a few lines of JS, not a vector database

github.com

1–4 of 4 posts

Re: Show HN: You need a few lines of JS, not a vector database

#3

If you don't need a vector database, how are you storing the embeddings to compare the query against?

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.