Skip to content

Commit

Permalink
update sql in readme (#45)
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Ye <[email protected]>
  • Loading branch information
yeya24 authored Aug 12, 2023
1 parent 1b368c1 commit 9a997de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ $$);
Now you can perform a KNN search with the following SQL simply.

```sql
SELECT *, emb <-> '[0, 0, 0]' AS score
SELECT *, embedding <-> '[0, 0, 0]' AS score
FROM items
ORDER BY embedding <-> '[0, 0, 0]' LIMIT 10;
```
Expand Down

0 comments on commit 9a997de

Please sign in to comment.