Skip to content

Commit 20e1819

Browse files
authored
Update on-device-vector-search.md (#6)
replace HnswDistanceType with VectorDistanceType
1 parent d440bce commit 20e1819

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

on-device-vector-search.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class City:
5959
name = String
6060
location = Float32Vector(index=HnswIndex(
6161
dimensions=2,
62-
distance_type=HnswDistanceType.EUCLIDEAN
62+
distance_type=VectorDistanceType.EUCLIDEAN
6363
))
6464
```
6565
{% endtab %}

0 commit comments

Comments
 (0)