0.15.3 After upgrading, the segmented keywords in the knowledge base cannot be displayed #8491

Closed
opened 2026-02-21 18:25:58 -05:00 by yindo · 7 comments
Owner

Originally created by @knowyi on GitHub (Feb 21, 2025).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

0..15.3

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

My DIY knowledge base is all based on the universal segmentation mode
After upgrading to 0.15.3
Some document keywords cannot be displayed or edited
The newly added document keywords are displayed and edited normally
Image
Image

✔️ Expected Behavior

The knowledge base segmentation can display and edit keywords normally

Actual Behavior

Some document keywords cannot be displayed or edited
The newly added document keywords are displayed and edited normally

Originally created by @knowyi on GitHub (Feb 21, 2025). ### Self Checks - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 0..15.3 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce My DIY knowledge base is all based on the universal segmentation mode After upgrading to 0.15.3 Some document keywords cannot be displayed or edited The newly added document keywords are displayed and edited normally ![Image](https://github.com/user-attachments/assets/f4532453-842a-4414-84b3-93dc73f76398) ![Image](https://github.com/user-attachments/assets/20d60c72-d091-4372-a439-d6a5d3ee100f) ### ✔️ Expected Behavior The knowledge base segmentation can display and edit keywords normally ### ❌ Actual Behavior Some document keywords cannot be displayed or edited The newly added document keywords are displayed and edited normally
yindo added the 🐞 buggood first issueoutdated labels 2026-02-21 18:25:58 -05:00
yindo closed this issue 2026-02-21 18:25:58 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Feb 21, 2025):

Hello @knowyi! I'm here to help you with any bugs, questions, or contributions you may have for Dify. I'm a bot designed to assist you while waiting for a human maintainer.

In version 0.15.3 of Dify, the keyword function in the knowledge base is not displayed and cannot be modified unless you are using the general mode. It is not available in parent-child mode or Q&A mode. To access the keyword editing functionality, you need to ensure that you are using the general mode in your knowledge base [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[bot] commented on GitHub (Feb 21, 2025): <!-- Greeting --> Hello @knowyi! I'm here to help you with any bugs, questions, or contributions you may have for Dify. I'm a bot designed to assist you while waiting for a human maintainer. <!-- Answer --> In version 0.15.3 of Dify, the keyword function in the knowledge base is not displayed and cannot be modified unless you are using the general mode. It is not available in parent-child mode or Q&A mode. To access the keyword editing functionality, you need to ensure that you are using the general mode in your knowledge base <sup>[[1]](https://github.com/langgenius/dify/issues/13400)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/f4c8f049-726c-49d9-81ec-893fe11b54c4?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/f4c8f049-726c-49d9-81ec-893fe11b54c4?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/f4c8f049-726c-49d9-81ec-893fe11b54c4?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/f4c8f049-726c-49d9-81ec-893fe11b54c4?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/f4c8f049-726c-49d9-81ec-893fe11b54c4?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/f4c8f049-726c-49d9-81ec-893fe11b54c4?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/f4c8f049-726c-49d9-81ec-893fe11b54c4?feedback_type=other)</sup>
Author
Owner

@knowyi commented on GitHub (Feb 21, 2025):

My knowledge base documents are all in generic mode, but the keywords are not displayed
Image

@knowyi commented on GitHub (Feb 21, 2025): My knowledge base documents are all in generic mode, but the keywords are not displayed ![Image](https://github.com/user-attachments/assets/ecfa1087-9c5e-4995-a153-e4b1523d828a)
Author
Owner

@wilsonfe commented on GitHub (Feb 27, 2025):

The problem in my case is that even with documents in General mode, the keywords do not appear. I noticed that this problem happens when I include chunks via API. If I upload a text file, the keywords appear, but if I insert the words using API (POST), even if I pass the keyword using keywords, they do not appear.

curl --location --request POST 'https://dify.dominio.com.br/v1/datasets/{dataset_id}/documents/{document_id}/segments'

{
"data": [{
"id": "",
"position": 1,
"document_id": "",
"content": "1",
"answer": "1",
"word_count": 25,
"tokens": 0,
"keywords": [
"a"
],

....

I'm using version 15.3

@wilsonfe commented on GitHub (Feb 27, 2025): The problem in my case is that even with documents in General mode, the keywords do not appear. I noticed that this problem happens when I include chunks via API. If I upload a text file, the keywords appear, but if I insert the words using API (POST), even if I pass the keyword using keywords, they do not appear. curl --location --request POST 'https://dify.dominio.com.br/v1/datasets/{dataset_id}/documents/{document_id}/segments' { "data": [{ "id": "", "position": 1, "document_id": "", "content": "1", "answer": "1", "word_count": 25, "tokens": 0, **"keywords": [ "a" ],** .... I'm using version 15.3
Author
Owner

@dosubot[bot] commented on GitHub (Mar 31, 2025):

Hi, @knowyi. I'm Dosu, and I'm helping the Dify team manage their backlog. I'm marking this issue as stale.

Issue Summary:

  • Bug reported in Dify version 0.15.3 regarding segmented keywords not displaying or being editable.
  • Issue occurs in self-hosted knowledge base using universal segmentation mode.
  • Problem persists even in generic mode, as confirmed by your image.
  • @wilsonfe notes the issue arises when chunks are added via API, but not when a text file is uploaded.
  • Initial suggestion to use general mode did not resolve the issue.

Next Steps:

  • Please confirm if this issue is still relevant in the latest version of Dify. If so, you can keep the discussion open by commenting here.
  • If there is no further activity, this issue will be automatically closed in 15 days.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (Mar 31, 2025): Hi, @knowyi. I'm [Dosu](https://dosu.dev), and I'm helping the Dify team manage their backlog. I'm marking this issue as stale. **Issue Summary:** - Bug reported in Dify version 0.15.3 regarding segmented keywords not displaying or being editable. - Issue occurs in self-hosted knowledge base using universal segmentation mode. - Problem persists even in generic mode, as confirmed by your image. - @wilsonfe notes the issue arises when chunks are added via API, but not when a text file is uploaded. - Initial suggestion to use general mode did not resolve the issue. **Next Steps:** - Please confirm if this issue is still relevant in the latest version of Dify. If so, you can keep the discussion open by commenting here. - If there is no further activity, this issue will be automatically closed in 15 days. Thank you for your understanding and contribution!
Author
Owner

@knowyi commented on GitHub (Apr 2, 2025):

My knowledge base is all text uploaded, and the problem with historical documents still exists when using version 1.1.0

@knowyi commented on GitHub (Apr 2, 2025): My knowledge base is all text uploaded, and the problem with historical documents still exists when using version 1.1.0
Author
Owner

@JamisonXing commented on GitHub (Apr 20, 2025):

Has this issue been fixed in version 1.x?

@JamisonXing commented on GitHub (Apr 20, 2025): Has this issue been fixed in version 1.x?
Author
Owner

@alterxyz commented on GitHub (Jun 16, 2025):

Please try 0.15.5 - the latest version before 1.x , or remove and upload the doc to refresh it as a workaround

@alterxyz commented on GitHub (Jun 16, 2025): Please try 0.15.5 - the latest version before 1.x , or remove and upload the doc to refresh it as a workaround
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#8491