diff --git a/src/content/docs/vectorize/best-practices/insert-vectors.mdx b/src/content/docs/vectorize/best-practices/insert-vectors.mdx index f7c54182f5b5d7..50a70c885da734 100644 --- a/src/content/docs/vectorize/best-practices/insert-vectors.mdx +++ b/src/content/docs/vectorize/best-practices/insert-vectors.mdx @@ -21,7 +21,7 @@ Use the upsert operation if you want to overwrite the vector value for a vector ## Supported vector formats -Vectorize supports vectors in three formats: +Vectorize supports the insert/upsert of vectors in three formats: - An array of floating point numbers (converted into a JavaScript `number[]` array). - A [Float32Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float32Array) @@ -29,6 +29,8 @@ Vectorize supports vectors in three formats: In most cases, a `number[]` array is the easiest when dealing with other APIs, and is the return type of most machine-learning APIs. +Vectorize stores and restitutes vector dimensions as Float32; vector dimensions provided as Float64 will be converted to Float32 before being stored. + ## Metadata Metadata is an optional set of key-value pairs that can be attached to a vector on insert or upsert, and allows you to embed or co-locate data about the vector itself. diff --git a/src/content/docs/vectorize/platform/limits.mdx b/src/content/docs/vectorize/platform/limits.mdx index 1e68772ee3567d..71cea04e7182a2 100644 --- a/src/content/docs/vectorize/platform/limits.mdx +++ b/src/content/docs/vectorize/platform/limits.mdx @@ -10,7 +10,8 @@ The following limits apply to accounts, indexes and vectors (as specified): | Feature | Current Limit | | ------------------------------------------------------------- | ----------------------------------- | | Indexes per account | 50,000 (Workers Paid) / 100 (Free) | -| Maximum dimensions per vector | 1536 dimensions | +| Maximum dimensions per vector | 1536 dimensions, 32 bits precision | +| Precision per vector dimension | 32 bits (float32) | | Maximum vector ID length | 64 bytes | | Metadata per vector | 10KiB | | Maximum returned results (`topK`) with values or metadata | 20 |