You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@lianwenke Hello there! 👋 I'm here to help you with bug fixes, questions, and becoming a contributor. I'm looking forward to assisting you!
The "division by zero" error when binding the LLM used by RAPTOR in RAGFlow image version v15.0 could be caused by identical relevance scores in the res["results"] array. This results in max_rank being equal to min_rank, making the denominator in the normalization step zero. The code should handle this by setting rank to np.zeros_like(rank) when max_rank - min_rank is zero, so the error should not occur unless there is an issue elsewhere in the code or data [1].
Self Checks
RAGFlow workspace code commit ID
empty
RAGFlow image version
v15.0
Other environment information
Actual behavior
parse fail
Expected behavior
No response
Steps to reproduce
Additional information
No response
The text was updated successfully, but these errors were encountered: