Updated readme [skip ci]

This commit is contained in:
Andrew Kane
2023-03-31 19:34:39 -07:00
parent 138d9be616
commit f0f7ffca41

View File

@@ -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
[![Build Status](https://github.com/pgvector/pgvector/workflows/build/badge.svg?branch=master)](https://github.com/pgvector/pgvector/actions)