Hacker News new | ask | show | jobs
by zcbenz 1137 days ago
Suppose one is writing a desktop app doing searches of embeddings, is there a lightweight vector database that runs on all major desktop platforms? I'm aware of redis and sqlite-vss, but none runs natively on Windows.
3 comments

You can use libraries like faiss or ann for the search, you don't need a vector database when you work at small-to-medium scale.
I would run postgres with pgvector https://github.com/pgvector/pgvector.

I wouldn't call postgres lightweight of course, but it's definitely lightweight in the sense that it doesn't add a whole bunch of new garbage to an otherwise traditional application.

Chroma runs on Windows since I believe it's just a python package: https://github.com/chroma-core/chroma