From 30f2893aeb3d84ca2345eb1716755fc74c7be93e Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Fri, 31 Mar 2023 16:30:42 -0700 Subject: [PATCH] Updated readme [skip ci] --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e1c7eee..20ecef2 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;