diff --git a/chatdesk-ui/app/api/retrieval/process/route.ts b/chatdesk-ui/app/api/retrieval/process/route.ts index 919df8f..f90cf02 100644 --- a/chatdesk-ui/app/api/retrieval/process/route.ts +++ b/chatdesk-ui/app/api/retrieval/process/route.ts @@ -165,9 +165,9 @@ export async function POST(req: Request) { : null, bge_m3_embedding: embeddingsProvider === "bge-m3" - ? (embeddings[index] || null) as any) + ? (embeddings[index] || null) as any : null - }) + })) await supabaseAdmin.from("file_items").upsert(file_items)