dify icon indicating copy to clipboard operation
dify copied to clipboard

1.0.0 Knowledge Base cannot use keyword recall

Open ahern88 opened this issue 9 months ago • 3 comments

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

  1. Import the file into the knowledge base, select economy mode, and use keywords.
  2. 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

ahern88 avatar Mar 11 '25 02:03 ahern88

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:

  1. After update to 1.0.0, my agent can't query the knowledgebase [2].
  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

dosubot[bot] avatar Mar 11 '25 02:03 dosubot[bot]

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.

ahern88 avatar Mar 11 '25 02:03 ahern88

I may not have described it clearly above, here are my steps.

Upload the knowledge base file and select economy mode. Image

The following are paragraph and word segmentation information. Image

Recall test found that it is not possible to recall through keywords. I tried Chinese, but it didn't work. English documents are fine. Image

ahern88 avatar Mar 11 '25 06:03 ahern88

@JohnJyong Hello, Has the latest Docker image been fixed?

ahern88 avatar Mar 14 '25 06:03 ahern88

I believe the issue still exists and needs to be fixed as soon as possible.

jiajunly avatar Aug 25 '25 07:08 jiajunly