News for hackers. Stuff that matters.
Re:Faiss: A library for efficient similarity search by txtai on Thursday March 30, 2023 @10:28PM (#35381703)
txtai combines Faiss and SQLite to support similarity search with SQL.

For example: SELECT id, text, date FROM txtai WHERE similar('machine learning') AND date >= '2023-03-30'

GitHub: https://github.com/neuml/txtai

This article is a deep dive on how the index format works: https://neuml.hashnode.dev/anatomy-of-a-txtai-index

Re:Faiss: A library for efficient similarity search by txtai on Friday March 31, 2023 @06:57AM (#35385133)
txtai also supports Hnswlib, Annoy and external vector databases (i.e. Weaviate) as index backends.