1.0.0 Knowledge Base cannot use keyword recall
Self Checks
- [x] This is only for bug report, if you would like to ask a question, please head to Discussions.
- [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] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
- [x] Please do not modify this template :) and fill in all the required fields.
Dify version
1.0.0
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
- Import the file into the knowledge base, select economy mode, and use keywords.
- In the recall test of the knowledge base, data cannot be recalled.
✔️ Expected Behavior
It was possible in version 0.15, it should be an issue with version 1.0.0.
❌ Actual Behavior
No response
Hello @ahern88! I'm here to assist you with any bugs, questions, or contributions you have for the Dify project. Feel free to ask for help!
There is a known issue in Dify version 1.0.0 where the Knowledge Base cannot recall data using keywords in the self-hosted (Docker) version. This is due to a confirmed bug where agents cannot read from knowledge bases, resulting in a PluginInvokeError with a KeyError related to a missing 'name' key. The maintainers have acknowledged this issue and plan to fix it in the next version [1].
Additionally, there are similar unsolved discussions that might be of interest:
- After update to 1.0.0, my agent can't query the knowledgebase [2].
- Why cannot find required text from knowledge base in Dify? [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
Thank you, Dify's product is great. Sometimes during the processing of large documents, I don't want to spend too much on embedded costs for keywords. Keywords are sufficient in many scenarios. I hope a bugfix version can be released soon.
I may not have described it clearly above, here are my steps.
Upload the knowledge base file and select economy mode.
The following are paragraph and word segmentation information.
Recall test found that it is not possible to recall through keywords. I tried Chinese, but it didn't work. English documents are fine.
@JohnJyong Hello, Has the latest Docker image been fixed?
I believe the issue still exists and needs to be fixed as soon as possible.