From 7be40036f48fac77d24f95538950a2dd8c9e01e5 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Fri, 3 Nov 2023 23:46:23 -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 26fcab0..c608312 100644 --- a/README.md +++ b/README.md @@ -416,7 +416,7 @@ You’ll need to use [dimensionality reduction](https://en.wikipedia.org/wiki/Di You can use `vector` as the type (instead of `vector(3)`). ```sql -CREATE TABLE embeddings (item_id bigint, model_id bigint, embedding vector); +CREATE TABLE embeddings (model_id bigint, item_id bigint, embedding vector); ``` However, you can only create indexes on rows with the same number of dimensions (using [expression](https://www.postgresql.org/docs/current/indexes-expressional.html) and [partial](https://www.postgresql.org/docs/current/indexes-partial.html) indexing):