Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggested questions always return empty #11818

Open
5 tasks done
KroMiose opened this issue Dec 19, 2024 · 2 comments
Open
5 tasks done

Suggested questions always return empty #11818

KroMiose opened this issue Dec 19, 2024 · 2 comments
Labels
🐞 bug Something isn't working 👭 duplicate This issue or pull request already exists

Comments

@KroMiose
Copy link

KroMiose commented Dec 19, 2024

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

Dify version

0.14.1

Cloud or Self Hosted

Cloud, Self Hosted (Docker)

Steps to reproduce

  1. Create a simple response flow using the Dify cloud service.
  2. Enable "Next Step Question Suggestions" in the "Features" section.
  3. Ask any question and check the browser's network console, where the returned suggested questions list is empty.

image

For comparison, I have previously set up two Dify applications locally (both docker deployment). I found that the earlier deployed version (0.13.2) still provides question suggestions after upgrading to the latest version (0.14.1), while the later deployed version behaves the same as the cloud service (both fail to provide question suggestions). In all three test cases, "Next Step Question Suggestions" was enabled in the "Features" section.

Normal working version
image

Abnormal version
image

✔️ Expected Behavior

provide some suggested question

❌ Actual Behavior

provides not suggested question

@dosubot dosubot bot added the 🐞 bug Something isn't working label Dec 19, 2024
Copy link

dosubot bot commented Dec 19, 2024

@KroMiose Hello there! I'm Dosu, a bot that can help you solve bugs, answer questions, and become a contributor. I'm here to help you while waiting for a human maintainer.

I found a similar unsolved discussion titled Why the suggested-questions always return empty? [1]. This might be related to the issue you're experiencing.

For your specific case, since the issue occurs in both cloud and self-hosted environments with version 0.14.1, but not in the earlier version 0.13.2, it could be related to changes introduced in the newer version. You might want to check the configuration settings related to the 'Next Step Question Suggestions' feature, such as suggestedQuestions and suggestedQuestionsAfterAnswerConfig, to ensure they are correctly set up [2].

Additionally, the MessageSuggestedQuestionApi class includes error handling that might log relevant errors if the feature is returning empty results. Checking the logs for any exceptions or errors could provide more insights into the issue [3].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

@crazywoola crazywoola added the 👭 duplicate This issue or pull request already exists label Dec 23, 2024
@KroMiose
Copy link
Author

I have read the duplicate issues provided by dosu and made sure that the corresponding switch has been turned on on the page. The problem has not been solved. I have also tried it in the latest updated version, and the result is the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working 👭 duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants