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

txtai is an alternative approach to this. It builds a FAISS (also supports HNSW) index alongside a SQLite database. It works with sentence-transformers models. For example, this model https://huggingface.co/sentence-transformers/all-MiniLM-L6-v... is 384 dimensions and works great for semantic search.

https://github.com/neuml/txtai

https://neuml.github.io/txtai/embeddings/query/



This looks awesome, thanks for sharing.


Thanks. Just want people to know there are quality FOSS alternatives available for encoding text into embeddings.




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

Search: