mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-11 23:26:55 +08:00
Updated readme [skip ci]
This commit is contained in:
@@ -43,7 +43,7 @@ CREATE TABLE items (embedding vector(3));
|
|||||||
Insert values
|
Insert values
|
||||||
|
|
||||||
```sql
|
```sql
|
||||||
INSERT INTO items VALUES ('[1,2,3]'), ('[4,5,6]');
|
INSERT INTO items (embedding) VALUES ('[1,2,3]'), ('[4,5,6]');
|
||||||
```
|
```
|
||||||
|
|
||||||
Get the nearest neighbor by L2 distance
|
Get the nearest neighbor by L2 distance
|
||||||
|
|||||||
Reference in New Issue
Block a user