Skip to content
Discussion options

You must be logged in to vote

Hi @VanBap! I'm Dosu and I’m helping the ragflow team.

The 0.05 (text/BM25) and 0.95 (vector/embedding) weights in RAGFlow's hybrid search are not based on any published paper or standard—they're an empirical/default choice by the authors, likely to prioritize semantic retrieval via embeddings, which often works better for open-ended or paraphrased queries in modern RAG setups. There's no comment or documentation in the code explaining this specific split, and no evidence it follows a particular source or benchmark [source].

Changing these weights will directly affect which documents are retrieved and thus what context the chatbot sees. Increasing the text search weight will make keyword…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by VanBap
Comment options

You must be logged in to vote
1 reply
@VanBap
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants