Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pgvector support #362

Open
gosom opened this issue Feb 22, 2025 · 1 comment
Open

pgvector support #362

gosom opened this issue Feb 22, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@gosom
Copy link

gosom commented Feb 22, 2025

Is it possible to support a column of type vector from pgvector?

thanks

@stephenafamo stephenafamo added the enhancement New feature or request label Feb 22, 2025
@stephenafamo
Copy link
Owner

This is possible, for example, support for most types from PostGIS are supported.

You would need:

  • The column type name when the column information is read from Postgres
  • A Go type that can scan this type such as pgvector.Vector.
  • Adding the default type configuration (for randomization, comparison, e.t.c.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants