From a345d87fa2f928d4399fa319ad02b2b3bedfb5a1 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Sun, 18 Feb 2024 12:22:38 -0800 Subject: [PATCH] Updated readme [skip ci] --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f2c6d7f..e7bf466 100644 --- a/README.md +++ b/README.md @@ -52,9 +52,9 @@ columntable(result) Add an approximate index ```julia -execute(conn, "CREATE INDEX ON items USING ivfflat (embedding vector_l2_ops) WITH (lists = 100)") -# or execute(conn, "CREATE INDEX ON items USING hnsw (embedding vector_l2_ops)") +# or +execute(conn, "CREATE INDEX ON items USING ivfflat (embedding vector_l2_ops) WITH (lists = 100)") ``` Use `vector_ip_ops` for inner product and `vector_cosine_ops` for cosine distance