Skip to content

Commit 2c8fe09

Browse files
committed
Fixed example [skip ci]
1 parent 32a8d04 commit 2c8fe09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ index = Index(
227227
func.cast(Item.embedding, HALFVEC(3)).label('embedding'),
228228
postgresql_using='hnsw',
229229
postgresql_with={'m': 16, 'ef_construction': 64},
230-
postgresql_ops={'embedding': 'vector_l2_ops'}
230+
postgresql_ops={'embedding': 'halfvec_l2_ops'}
231231
)
232232
```
233233

0 commit comments

Comments
 (0)