Why Citation and Attribution toggle does not appear in my Add Feature panel?

Hi, I have a question about the Citation & Attribution feature.

According to the documentation, it should appear under:

Workspace → Add Feature → Citations and Attributions

But in my self-hosted Dify, this option does not appear at all.

I’m building a custom Workflow app (not the RAG Chatbot template) and I want the same citation output (segment, score, link to knowledge).

Why is the citation feature missing?

简单来说,这是 chatflow 应用的功能,而不是 workflow 应用的功能。

解决方法:
知识检索节点的结果只是一个类型为 Array[object] 的变量,因此您可以将其传递给模板节点或代码节点以提取其内容。
在下面的截图中,变量只是原样输出,但稍加创意,您可以在将其通过输出节点呈现给用户之前,将其格式化为更易读的形式。

image