Skip to content

Commit dc68770

Browse files
committed
Updated readme [skip ci]
1 parent 0c18e0a commit dc68770

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ from pgvector.sqlalchemy import VECTOR
310310
from sqlalchemy import ARRAY
311311

312312
class Item(Base):
313-
embeddings = mapped_column(ARRAY(VECTOR(3)))
313+
embeddings = mapped_column(ARRAY(VECTOR(3), dimensions=1))
314314
```
315315

316316
And register the types with the underlying driver

0 commit comments

Comments
 (0)