This commit is contained in:
parent
b3c0b0d38f
commit
765f61d444
|
|
@ -165,9 +165,9 @@ export async function POST(req: Request) {
|
||||||
: null,
|
: null,
|
||||||
bge_m3_embedding:
|
bge_m3_embedding:
|
||||||
embeddingsProvider === "bge-m3"
|
embeddingsProvider === "bge-m3"
|
||||||
? (embeddings[index] || null) as any)
|
? (embeddings[index] || null) as any
|
||||||
: null
|
: null
|
||||||
})
|
}))
|
||||||
|
|
||||||
await supabaseAdmin.from("file_items").upsert(file_items)
|
await supabaseAdmin.from("file_items").upsert(file_items)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue