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?
Simply, that’s the feature for chatflow app, not for workflow app.
Workaround:
The result from the Knowledge Retrieval node is simply a variable of type Array[object], so you can pass it to a Template node or Code node to retrieve its contents.
In the screenshot below, the variable is just being dumped as is, but with a bit of ingenuity, you can format it in a more readable way before presenting it to the user in the Output node.