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.
https://dify.ai
Other
52.36k stars 7.64k forks source link

Regarding the configuration of suggested questions: How can they be tailored to drive traffic to specific business scenarios? #10964

Closed freezehe closed 14 hours ago

freezehe commented 14 hours ago

Self Checks

Dify version

0.8.10

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

As described, we currently have a scenario involving an AI chatbot on the homepage of our company’s product portal. After enabling the suggested questions feature, we found that it does not align well with our specific needs. We would like to customize the configuration of these suggested questions to better guide customers to our product browsing pages.

Could you please advise on how to handle this in Dify? Alternatively, are there any plans to optimize the settings for suggested questions in future updates? Thank you!

✔️ Expected Behavior

As described, we currently have a scenario involving an AI chatbot on the homepage of our company’s product portal. After enabling the suggested questions feature, we found that it does not align well with our specific needs. We would like to customize the configuration of these suggested questions to better guide customers to our product browsing pages.

Could you please advise on how to handle this in Dify? Alternatively, are there any plans to optimize the settings for suggested questions in future updates? Thank you!

❌ Actual Behavior

No response

dosubot[bot] commented 14 hours ago

To tailor the suggested questions in Dify to drive traffic to specific business scenarios, you can utilize the existing configuration options. Dify allows you to manage the suggested questions feature by enabling or disabling it and setting specific questions to be suggested. The key configurations include:

  1. suggestedQuestions: This is a state variable that holds an array of suggested questions.
  2. suggestedQuestionsAfterAnswerConfig: This configuration determines if suggested questions should be enabled after an answer is provided. It is a state variable of type MoreLikeThisConfig with an enabled property [1].

For more advanced customization, you might consider integrating custom logic or scripts, although specific documentation on this is not available in the repository. However, a similar issue was discussed where the solution suggested returning custom buttons in the answer with any texts you want, which could potentially be used to redirect users to specific product pages [2].

As for future updates or planned features for optimizing the suggested questions, there is no specific documentation available at the moment [1].

To continue talking to Dosu, mention @dosu.