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

Support for pgvector.sqlalchemy.vector.VECTOR field support #806

Open
1 task done
spsoni opened this issue Aug 20, 2024 · 1 comment
Open
1 task done

Support for pgvector.sqlalchemy.vector.VECTOR field support #806

spsoni opened this issue Aug 20, 2024 · 1 comment

Comments

@spsoni
Copy link

spsoni commented Aug 20, 2024

Checklist

  • There are no similar issues or pull requests for this yet.

Is your feature related to a problem? Please describe.

sqladmin/forms.py", line 274, in get_converter
raise NoConverterFound( # pragma: nocover
sqladmin.exceptions.NoConverterFound: Could not find field converter for column embedding (<class 'pgvector.sqlalchemy.vector.VECTOR'>).

[tool.poetry.dependencies]
python = "^3.11"
pydantic = "^2.8.2"
sqlmodel = "^0.0.21"
pgvector = "^0.3.2"
psycopg2-binary = "^2.9.9"
sqladmin = {extras = ["full"], version = "^0.18.0"}
uvicorn = "^0.30.6"

Describe the solution you would like.

Need field converter for column embedding (<class 'pgvector.sqlalchemy.vector.VECTOR'>)

Describe alternatives you considered

Raised issue in pgvector git repo - pgvector/pgvector-python#88

Additional context

Your tool is a life saver. Thanks for the hard work

@aminalaee
Copy link
Owner

Thanks for reporting this.
I think this could be nice but I don't have much context. How should we go about displaying this vector data? Should we just show the whole array of floats? What is the point of seeing this data?

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

No branches or pull requests

2 participants