[Question]: Why are there returned chunks in the retrieval test of the knowledge base, but when asking the same question to the assistant, it shows that no relevant questions can be retrieved from the knowledge base? How to solve this problem?
Self Checks
- [x] I have searched for existing issues search for existing issues, including closed ones.
- [x] I confirm that I am using English to submit this report (Language Policy).
- [x] Non-english title submitions will be closed directly ( 非英文标题的提交将会被直接关闭 ) (Language Policy).
- [x] Please do not modify this template :) and fill in all the required fields.
Describe your problem
ragflow version: v0.17.2-186-g65a8cd17 full
Why are there returned chunks in the retrieval test of the knowledge base, but when asking the same question to the assistant, it shows that no relevant questions can be retrieved from the knowledge base? How to solve this problem?
The issue you're experiencing, where returned chunks appear in the retrieval test but not when querying the assistant, is due to a bug in the 'nightly-slim' version of the RAGFlow docker image. To resolve this, you should switch to the 'nightly' version of the docker image, as the bug has been fixed in that release [1].
To continue talking to Dosu, mention @dosu.
Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other
@dosubot I am using the full version, and the version number is v0.17.2-186-g65a8cd17 full.
The issue you're experiencing with the 'full' version v0.17.2-186-g65a8cd17 might be related to configuration settings that affect retrieval results. Ensure that the similarity threshold, keyword similarity weight, and rerank model settings are consistent between the retrieval test and the assistant. If these settings are not aligned, it could lead to discrepancies in retrieval results [1].
Additionally, consider upgrading to the latest 'nightly' version of RAGFlow, as it may contain fixes for any version-specific issues affecting retrieval [1].
To continue talking to Dosu, mention @dosu.
Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other
@dosubot I have updated to the latest version, and the version number is: v0.17.2-208-g31296ad7 full, but the problem still persists. @Kevin Hu
This is a tough nut to crack, could really use your help on this, @KevinHuSh.
To continue talking to Dosu, mention @dosu.
Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other
Click the little lamp to ensure they're all retrieved.
If it does, try another LLM.
@KevinHuSh Switching the LLM doesn't solve the problem.
The issue was resolved after I completely deleted the Ragflow image along with its associated volumes, then re-downloaded and redeployed the image, so I'm not quite sure what caused it. During usage, I pulled new nightly versions multiple times and deleted the previous nightly version images. I also had Langfuse installed on the same computer. I haven't identified the exact cause.
One more question: many issues don't have the lightbulb icon. Under what circumstances does this icon appear? Even when the knowledge base retrieves content, the lightbulb icon still doesn't show up.
Light bulb is only effective for the current assistant's answer.