File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -259,7 +259,6 @@ index = Index(
259259 ' my_index' ,
260260 func.cast(Item.embedding, HALFVEC(3 )).label(' embedding' ),
261261 postgresql_using = ' hnsw' ,
262- postgresql_with = {' m' : 16 , ' ef_construction' : 64 },
263262 postgresql_ops = {' embedding' : ' halfvec_l2_ops' }
264263)
265264```
@@ -283,7 +282,6 @@ index = Index(
283282 ' my_index' ,
284283 func.cast(func.binary_quantize(Item.embedding), BIT(3 )).label(' embedding' ),
285284 postgresql_using = ' hnsw' ,
286- postgresql_with = {' m' : 16 , ' ef_construction' : 64 },
287285 postgresql_ops = {' embedding' : ' bit_hamming_ops' }
288286)
289287```
Original file line number Diff line number Diff line change @@ -103,7 +103,6 @@ class Item(Base):
103103 'sqlalchemy_orm_half_precision_index' ,
104104 func .cast (Item .embedding , HALFVEC (3 )).label ('embedding' ),
105105 postgresql_using = 'hnsw' ,
106- postgresql_with = {'m' : 16 , 'ef_construction' : 64 },
107106 postgresql_ops = {'embedding' : 'halfvec_l2_ops' }
108107)
109108half_precision_index .create (setup_engine )
@@ -112,7 +111,6 @@ class Item(Base):
112111 'sqlalchemy_orm_binary_quantize_index' ,
113112 func .cast (func .binary_quantize (Item .embedding ), BIT (3 )).label ('embedding' ),
114113 postgresql_using = 'hnsw' ,
115- postgresql_with = {'m' : 16 , 'ef_construction' : 64 },
116114 postgresql_ops = {'embedding' : 'bit_hamming_ops' }
117115)
118116binary_quantize_index .create (setup_engine )
You can’t perform that action at this time.
0 commit comments