This commit is contained in:
hailin 2025-05-29 17:43:10 +08:00
parent 3f2f319e3b
commit b0bdbf633e
1 changed files with 3 additions and 2 deletions

View File

@ -124,11 +124,12 @@ export const handleRetrieval = async (
console.log("🔍 筛选后结果:", {
total: results.length,
>=80: highSimilarity.length,
>=50: results.filter(r => r.similarity >= LOW_THRESHOLD).length,
">=80": highSimilarity.length,
">=50": results.filter(r => r.similarity >= LOW_THRESHOLD).length,
finalReturned: filteredResults.length,
topMatchScore: filteredResults[0]?.similarity
})
return filteredResults