Skip to content

Commit 78e6459

Browse files
committed
Updated example [skip ci]
1 parent 441b26e commit 78e6459

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
@@ -140,7 +140,7 @@ Index vectors at half-precision
140140
```python
141141
from django.contrib.postgres.indexes import OpClass
142142
from django.db.models.functions import Cast
143-
from pgvector.django import HalfVectorField
143+
from pgvector.django import HnswIndex, HalfVectorField
144144

145145
class Item(models.Model):
146146
class Meta:

0 commit comments

Comments
 (0)