From: jkatz (@jkatz) <noreply+jkatz@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #640: Late interaction embedding support
Date: Fri, 09 Aug 2024 03:37:07 +0000
Message-ID: <gh-pgvector-pgvector-640-c2277079420@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-640@github.com>
References: <gh-pgvector-pgvector-640@github.com>
@az-arteria You can have an array of vectors (similar to a PostgreSQL [multi-dimensional array[(https://www.postgresql.org/docs/current/arrays.html)) e.g.
```sql
SELECT ARRAY[
[
'[-0.013, 0.020, -0.007, -0.111]'::vector,
'[-0.030, -0.055, 0.001, 0.072]'::vector,
'[-0.041, 0.014, -0.032, -0.062]'::vector
]
```
where `embedding` would be a `vector[]` type.
but I'm curious how you would intend to use / search over this data.