This commit is contained in:
parent
b3c0b0d38f
commit
765f61d444
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue