[Question]: Why can't the chat find the content in the knowledge base?
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
The knowledge base retrieval test can find the content, but the chat cannot find the content when entering the same question.
Hello, @BogenZ! I'm here to help you with bugs, questions, and more while you wait for a human maintainer. Let's tackle this issue together!
I found a similar open issue where the knowledge base retrieval test was successful, but the chat interface failed to find the content using the same query. The suggested solutions for similar issues include:
- Disabling self-RAG, which is deprecated in the latest version.
- Switching to other large language models (LLMs) if the current one has limitations in answering retrieved chunks [1].
Additionally, there are key differences in the retrieval process between the knowledge base search test and the chat interface in RagFlow. The AI search uses a single-turn conversation with a predefined retrieval strategy, while the AI chat supports multi-turn conversations and allows for more advanced retrieval strategies, which might affect the retrieval outcomes [2][3].
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
I have the same issue. Both search and agent window can retrieve content from the knowledge base, but in the chat window, no matter what question I input, {knowledge} always returns an empty value. So I think it's not a problem about LLMs.
You could click the little lamp to see wether it's been retrieved? If it is, it goes to LLM.
@BogenZ Did you apply Table as chunking method?
The knowledge base uses General, and the files use Q&A and General respectively.
@BogenZ Have you solved it? I have the same problem. What version are you using? Mine is v0.17.2-208-g31296ad7 full. The previous v0.17.2 worked fine, but after the upgrade, it stopped working. Even when I switched back, it still didn't work. I don't know what's going on.