Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I found Chroma to be really slow. I recently switched to pgvector and I'm really happy with it.

This is an example of using pgvector that might be relevant for your use case:

SELECT d.id, d.doc, 1 - (embedding <=> (SELECT embedding FROM documentation_embedding WHERE id = 1)) AS similarity FROM documentation_embedding de join documentation d on de.documentation_id = d.id ORDER BY similarity desc;



chroma is getting much faster on Monday.

be cautious with pgvector - the recall can be extremely bad (% retrieved nearest neighbors vs ground truth)




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: