Updated readme [skip ci]

This commit is contained in:
Andrew Kane
2023-04-01 20:04:47 -07:00
parent 6ede7681a5
commit dd92d0ece3

View File

@@ -97,7 +97,7 @@ Get the nearest neighbors to a vector
SELECT * FROM items ORDER BY embedding <-> '[3,1,2]' LIMIT 5;
```
Get the nearest neighbors to another row
Get the nearest neighbors to a row
```sql
SELECT * FROM items WHERE id != 1 ORDER BY embedding <-> (SELECT embedding FROM items WHERE id = 1) LIMIT 5;