From 9a997debe5ef0e1d4bf81fb2ddc26d3667e3b98e Mon Sep 17 00:00:00 2001 From: Ben Ye Date: Fri, 11 Aug 2023 17:42:17 -0700 Subject: [PATCH] update sql in readme (#45) Signed-off-by: Ben Ye --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1a6d23cae..b5bbb1d9a 100644 --- a/README.md +++ b/README.md @@ -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; ```