If you'd like an alternate approach, txtai can store content in Postgres. This approach stores metadata/fields in the database and builds a Faiss/HNSW index alongside. The idea is to lean on two mature projects vs having to rewrite a full vector index implementation.<p><a href="https://neuml.hashnode.dev/external-database-integration" rel="nofollow">https://neuml.hashnode.dev/external-database-integration</a><p><a href="https://github.com/neuml/txtai">https://github.com/neuml/txtai</a><p>Disclaimer: I'm the primary author of txtai