dify - 💡(How to fix) Fix Frontend description of the Retrieval node output does not match the actual output [1 pull requests]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Fix Action

Fixed

Code Example

{
  "result": [
    {
      "content": "...",
      "files": null,
      "metadata": {
        ...
      },
      "summary": null,
      "title": "..."
    },
  ]
}
RAW_BUFFERClick to expand / collapse

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • 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, otherwise it will be closed.
  • 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.14.2

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

RAG node panel output description:

  • result Array[Object] 召回的分段
  • content string 分段内容
  • title string 分段标题
  • url string 分段链接
  • icon string 分段图标
  • metadata object 其他元数据
  • files Array[File] 召回的文件

Actual output:

{
  "result": [
    {
      "content": "...",
      "files": null,
      "metadata": {
        ...
      },
      "summary": null,
      "title": "..."
    },
  ]
}

Frontend Position: https://github.com/langgenius/dify/blob/739e34d08aa8580063797954d772a12362e3cf01/web/app/components/workflow/nodes/knowledge-retrieval/panel.tsx#L153-L195

Backend Postion: https://github.com/langgenius/dify/blob/57b02e341ccbbad0d3860b24b9ed7020876c389d/api/core/workflow/nodes/knowledge_retrieval/retrieval.py#L45-L50

✔️ Expected Behavior

Frontend RAG node output description is same as actual.

❌ Actual Behavior

No response

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING