diff --git a/src/app/utils/chunkedUpsert.ts b/src/app/utils/chunkedUpsert.ts index 060185f..f3293ce 100644 --- a/src/app/utils/chunkedUpsert.ts +++ b/src/app/utils/chunkedUpsert.ts @@ -20,7 +20,7 @@ export const chunkedUpsert = async ( await Promise.allSettled( chunks.map(async (chunk) => { try { - await index.namespace(namespace).upsert(vectors); + await index.namespace(namespace).upsert(chunk); } catch (e) { console.log('Error upserting chunk', e); }