GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Inserting binary vectors using SQLalchemy · Issue #84 · pgvector/pgvector-python Closed DescriptionHello, Thanks for the work on this, @ankane and team! It's amazing to see more vector types and distance metrics being added continuously :) I am trying to insert a binary vector using SQLalchemy and my code looks like this: from pgvector.sqlalchemy import BIT from sqlalchemy.orm import DeclarativeBase, Mapped, mapped_column class Entity(DeclarativeBase): [...] embedding: Mapped[np.array] = mapped_column(BIT(2048)) I am then trying to insert A similar approach works fine using a My question is: which Python type do I need to cast Thanks for the help in advance! Activity
MetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |