dify icon indicating copy to clipboard operation
dify copied to clipboard

The model results in the workflow keep returning empty

Open zxzxde opened this issue 2 years ago • 2 comments

Self Checks

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

Dify version

0.6.15

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

使用worklfow执行模型返回的是内容一直是空,如果换成对话流程是可以正常返回的。 image image

✔️ Expected Behavior

No response

❌ Actual Behavior

No response

zxzxde avatar Aug 05 '24 06:08 zxzxde

@zxzxde Hello! I'm here to help you with bug fixes, questions, and contributions. Let's work together to solve the issue you're facing.

The issue you're experiencing with the workflow returning empty results in Dify version 0.6.15 (Docker) could be due to the ParameterExtractorNode failing to extract results from function calls or text responses. This is a known issue in this version, where the node can end up with empty results under certain conditions [1].

Additionally, if you are using the Ollama service, ensure that it is accessible from the Docker container. Instead of using localhost, use host.docker.internal in the service URL to expose the Ollama service to the network:

http://host.docker.internal:11434

Update the Base URL in the Dify settings accordingly:

Base URL: http://host.docker.internal:11434

For further diagnosis, enable detailed logging for the workflow execution using the "View Log—Details" and "View Log—Trace" options. This will provide comprehensive information about each step of the workflow execution [2][3][4][5][6].

By addressing these points, you should be able to resolve the issue with the workflow returning empty results.

To continue talking to Dosu, mention @dosu.

dosubot[bot] avatar Aug 05 '24 06:08 dosubot[bot]

Hi..... Seems like i am getting the same error

image

am I missing something?.. on the latest pull

EDit: up on further testing... its seems to having issues with few specific models...... Llama3.1 and 3.2 in my case.... It worked fine with LLava..

Not sure why tho... need to find it

Pranav-Official avatar Nov 06 '24 17:11 Pranav-Official