Sean Aguinaga
Sean Aguinaga
CCConvex Community
Created by Sean Aguinaga on 5/29/2025 in #support-community
@convex-dev/agent Vector Embedding Size Limitations
export const VectorDimensions = [
128, 256, 512, 768, 1024, 1536, 2048, 3072, 4096,
] as const;
export function validateVectorDimension(
dimension: number
): asserts dimension is VectorDimension {
if (!VectorDimensions.includes(dimension as VectorDimension)) {
throw new Error(
`Unsupported vector dimension${dimension}. Supported: ${VectorDimensions.join(", ")}`
);
}
}
export const VectorDimensions = [
128, 256, 512, 768, 1024, 1536, 2048, 3072, 4096,
] as const;
export function validateVectorDimension(
dimension: number
): asserts dimension is VectorDimension {
if (!VectorDimensions.includes(dimension as VectorDimension)) {
throw new Error(
`Unsupported vector dimension${dimension}. Supported: ${VectorDimensions.join(", ")}`
);
}
}
If I use google's multimodalEmbedding001, which outputs 1408 dimensions, won't it break with existing code above?
11 replies
CCConvex Community
Created by Sean Aguinaga on 5/25/2025 in #support-community
Can I fetch then render/navigate?
iOS uses this pattern a lot I click an item, it shows a spinner in the item, then I can navigate once it’s been loaded (see video) If I fetch data one off with convex.query, will useQuery have that data preloaded on the next page upon navigating to it?
7 replies
CCConvex Community
Created by Sean Aguinaga on 5/21/2025 in #support-community
@convex-dev/agent Playground setup fails
No description
13 replies