langgenius / dify

Dify is an open-source LLM app development platform. Dify's intuitive interface combines AI workflow, RAG pipeline, agent capabilities, model management, observability features and more, letting you quickly go from prototype to production.

Home Page:https://dify.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The direct reply block disappeared from the workflow.

fre2d0m opened this issue · comments

commented

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).
  • 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

0.6.12

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

  1. Create a new workflow

  2. Add Block

  3. Directly Reply has disappeared, and I can't show the reply of LLM to users.

You can still see the blocks of Answer in the documents of Github and Dify.ai.

image

✔️ Expected Behavior

I can use Direct Reply to output the large language model to the user.

❌ Actual Behavior

Only the End block can be used, and the user only sees a JSON string.

Yes, this is 'by design'.

Only the End block can be used, and the user only sees a JSON string.

You need to set a string typed result in End node, then the user should be able to see the text result. If you have some json result, you just need to use jinja to extract something from this result.

commented

Sorry, I found Answer Block. When creating a new Bot, choose chatflow instead of workflow.