Updated readme [skip ci]

This commit is contained in:
Andrew Kane
2023-11-03 23:46:23 -07:00
parent 9b5a1a69db
commit 7be40036f4

View File

@@ -416,7 +416,7 @@ Youll 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):