Skip to main content

VECTORIZE_MIN_DIMENSIONS

Constant VECTORIZE_MIN_DIMENSIONS 

Source
pub const VECTORIZE_MIN_DIMENSIONS: i64 = 32;
Expand description

The fewest dimensions a Cloudflare Vectorize index accepts: creating one with fewer fails with Dimensions must be in range: [32, 1536]. @dimensions below it is refused at compile time, so the failure is not left for a deploy.