ragflow
ragflow copied to clipboard
[Bug]: boost should be 0.5 other than 0.05?
Is there an existing issue for the same bug?
- [X] I have checked the existing issues.
Branch name
main
Commit ID
main
Other environment information
No response
Actual behavior
can you please explain the boost set in query? https://github.com/infiniflow/ragflow/blob/58e95f76c1054c9e4003d7b267b33cd8be870fc0/rag/nlp/search.py#L85
Expected behavior
No response
Steps to reproduce
I am not sure: https://github.com/infiniflow/ragflow/blob/58e95f76c1054c9e4003d7b267b33cd8be870fc0/rag/nlp/search.py#L85
should `bqry.boost` be 0.5 as query(for bm25) and knn are both set to `bqry.boost`.
if it's not 0.5, why set 0.05 here? can you guys explain this? Thanks.
Additional information
No response