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(
259
259
' my_index' ,
260
260
func.cast(Item.embedding, HALFVEC(3 )).label(' embedding' ),
261
261
postgresql_using = ' hnsw' ,
262
- postgresql_with = {' m' : 16 , ' ef_construction' : 64 },
263
262
postgresql_ops = {' embedding' : ' halfvec_l2_ops' }
264
263
)
265
264
```
@@ -283,7 +282,6 @@ index = Index(
283
282
' my_index' ,
284
283
func.cast(func.binary_quantize(Item.embedding), BIT(3 )).label(' embedding' ),
285
284
postgresql_using = ' hnsw' ,
286
- postgresql_with = {' m' : 16 , ' ef_construction' : 64 },
287
285
postgresql_ops = {' embedding' : ' bit_hamming_ops' }
288
286
)
289
287
```
Original file line number Diff line number Diff line change @@ -103,7 +103,6 @@ class Item(Base):
103
103
'sqlalchemy_orm_half_precision_index' ,
104
104
func .cast (Item .embedding , HALFVEC (3 )).label ('embedding' ),
105
105
postgresql_using = 'hnsw' ,
106
- postgresql_with = {'m' : 16 , 'ef_construction' : 64 },
107
106
postgresql_ops = {'embedding' : 'halfvec_l2_ops' }
108
107
)
109
108
half_precision_index .create (setup_engine )
@@ -112,7 +111,6 @@ class Item(Base):
112
111
'sqlalchemy_orm_binary_quantize_index' ,
113
112
func .cast (func .binary_quantize (Item .embedding ), BIT (3 )).label ('embedding' ),
114
113
postgresql_using = 'hnsw' ,
115
- postgresql_with = {'m' : 16 , 'ef_construction' : 64 },
116
114
postgresql_ops = {'embedding' : 'bit_hamming_ops' }
117
115
)
118
116
binary_quantize_index .create (setup_engine )
You can’t perform that action at this time.
0 commit comments