Skip to content

Conversation

carlos-verdes
Copy link
Contributor

Continuation of PR #157

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.

@carlos-verdes
Copy link
Contributor Author

I'll use different approach to implement Postgres

@carlos-verdes carlos-verdes deleted the feat/psql branch January 20, 2025 06:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Add support for PostgreSQL vector store

2 participants