'Suggested-question' doesn't respond with Chinese while chatting with Chinese
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.9.1
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
Create a simple LLM chatbot with Chatflow Enable follow-ups Publish the app Chat with Chinese and see the suggested questions
✔️ Expected Behavior
"In Chinese conversations, 'Suggested-question' always gives answers in Chinese."
❌ Actual Behavior
"In Chinese conversations, 'Suggested-question' rarely gives answers in Chinese."
@wy96f Hello there! I'm here to help you with bug reports, questions, and becoming a contributor. Let's solve this issue together!
I found some relevant discussions and an issue related to your problem:
-
How to set the next question into Chinese? - This discussion addresses similar concerns about language settings for suggested questions [1].
-
The “suggested” interface defaults to returning questions in English. - Another discussion on the default language for suggested questions [2].
-
An issue titled next suggest question need support chinese was closed after a pull request fixed the logic problem, ensuring the output matches the language of the Assistant's latest response [3].
The logic for determining the language of 'Suggested-question' responses is to match the language of the Assistant's latest response [4]. If you're still experiencing issues, it might be worth checking if your setup aligns with the latest updates or if there are any configuration settings that need adjustment.
To continue talking to Dosu, mention @dosu.
It seems that the modification of this prompt has affected the language of the output.
Duplicated
Duplicated @crazywoolala Will the next release, such as version 0.9.2, include fixes?
this problem is still here