Fix/retrieval setting weight default value (#9622)

This commit is contained in:
zxhlyh 2024-10-22 18:31:39 +08:00 • committed by GitHub
commit ff956cb546
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 86 additions and 75 deletions

View file

@ -566,14 +566,6 @@ export const DEFAULT_WEIGHTED_SCORE = {
semantic: 0,
keyword: 1.0,
},
semanticFirst: {
semantic: 0.7,
keyword: 0.3,
},
keywordFirst: {
semantic: 0.3,
keyword: 0.7,
},
other: {
semantic: 0.7,
keyword: 0.3,