Fixed example [skip ci]

This commit is contained in:
Andrew Kane
2024-09-22 22:28:39 -07:00
parent f3de487da2
commit 91541fece6

View File

@@ -499,7 +499,7 @@ With streaming queries, its possible for rows to be slightly out of order by
```sql
WITH approx_order AS MATERIALIZED (
SELECT *, embedding <-> '[1,2,3]' AS distance FROM items WHERE ... ORDER BY distance LIMIT 5
) SELECT * FROM query ORDER BY distance;
) SELECT * FROM approx_order ORDER BY distance;
```
## Half-Precision Vectors