dify icon indicating copy to clipboard operation
dify copied to clipboard

Dataset referencing is not working as expected

Open lancemao opened this issue 1 year ago • 3 comments

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] Pleas do not modify this template :) and fill in all the required fields.

Dify version

0.5.10

Cloud or Self Hosted

Self Hosted (Source)

Steps to reproduce

I didn't add Show dataset reference in my assistant setting, however, in my conversation answer, it still shows this 'reference' dropdown, please see attached screenshot

Screenshot 2024-03-27 022334

One more thing, as you can see in the screenshot, the name of the dataset is not matching. My filename is '公司知识库.txt', but it says '知识库'. This is another issue to investigate.

✔️ Expected Behavior

should show dataset reference when I add reference tool should hide when I didn't

❌ Actual Behavior

always shows

lancemao avatar Mar 27 '24 02:03 lancemao

Thank you for providing detailed information about the issue you're experiencing. To better assist you, I need a bit more information. Could you please provide the following:

  1. The operating system you're using.
  2. The browser and its version where you're experiencing this issue.
  3. If there are any error messages in the browser console.
  4. If possible, the steps you took before encountering this issue.

This additional information will help me understand the problem more accurately.

About Dosu

This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.

Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

If you want to continue the conversation, start your reply with @dosu-bot.

dosubot[bot] avatar Mar 27 '24 02:03 dosubot[bot]

Smart Assistant considers dataset as a tool, that's why you can see a tool invoke referencing.

Yeuoly avatar Mar 27 '24 04:03 Yeuoly

Suggest optimizing the description of the knowledge base, so that Agents can use the description of the knowledge base as a reference to decide whether to use it or not.

takatost avatar Mar 28 '24 03:03 takatost