rig icon indicating copy to clipboard operation
rig copied to clipboard

feat: postgresql store

Open milancermak opened this issue 2 months ago • 4 comments

Resolves #5

I've modeled the crate on the SQLite one.

On the DB side, the crate is relying on the pgvector extension. It creates an HSNW index and uses the cosine distane operator to compare embeddings.

Please let me know it this looks ok or if there are any parts of the code that should be changed.

milancermak avatar Dec 18 '24 14:12 milancermak