Open st-pasha opened 1 year ago
Can’t the existing array type be used for that?
You'd want an array of fixed size, kind of like a mathematical vector
. It might be pretty similar to the existing array type in terms of implementation, though.
Yeah, but it probably could be array[float, N]
type for fixed lengths vectors and just array[float]
for arbitrary length.
I'm not an expert on LLMs, could you please point me to some information on the data types that they're using?
At the most basic level, an embedding is just a vector of floats of a fixed length. For example, see here: https://www.pinecone.io/learn/vector-database/
float32[N]
, and possiblyfloat16[N]
. The data type is a plain array ofN
floats.The LLMs are in fashion now, so why not add a support for them?