pgvector.git / summary / log / commit / refs
commit f0f7ffca41cc91f620cb8a9077e0f3919eaf2a8a
Author: Andrew Kane <andrew@ankane.org>
Date: Sat Apr 01 02:34:39 2023 +0000
Updated readme [skip ci]
README.md | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/README.md b/README.md
index 84223ed6..1a18e0a7 100644
--- a/README.md
+++ b/README.md
@@ -2,13 +2,7 @@
Open-source vector similarity search for Postgres
-```sql
-CREATE TABLE items (embedding vector(3));
-CREATE INDEX ON items USING ivfflat (embedding vector_l2_ops);
-SELECT * FROM items ORDER BY embedding <-> '[1,2,3]' LIMIT 5;
-```
-
-Supports L2 distance, inner product, and cosine distance
+Supports exact and approximate nearest neighbor search for L2 distance, inner product, and cosine distance
[](https://github.com/pgvector/pgvector/actions)
[parent: 138d9be616d1]