pgvector.git / summary / log / commit / refs

commit    30f2893aeb3d84ca2345eb1716755fc74c7be93e
Author:   Andrew Kane <andrew@ankane.org>
Date:     Fri Mar 31 23:30:42 2023 +0000

    Updated readme [skip ci]


README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e1c7eeee..20ecef2c 100644 --- a/README.md +++ b/README.md @@ -187,7 +187,7 @@ To speed up queries without an index, increase `max_parallel_workers_per_gather` SET max_parallel_workers_per_gather = 4; ``` -If vectors are normalized to length 1 (like those from [OpenAI](https://platform.openai.com/docs/guides/embeddings/limitations-risks)), use inner product instead of cosine distance for best performance. +If vectors are normalized to length 1 (like those from [OpenAI](https://platform.openai.com/docs/guides/embeddings/which-distance-function-should-i-use)), use inner product for best performance. ```sql SELECT * FROM items ORDER BY embedding <#> '[3,1,2]' LIMIT 1; [parent: 5d0f88529e73]