dify icon indicating copy to clipboard operation
dify copied to clipboard

Multi-lingual build-in prompts

Open chenlujia888 opened this issue 6 months ago • 1 comments

Self Checks

  • [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.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

When I connect with some Chinese based LLMs, such like ZhipuAI glm-4, the build-in prompts ( located in api/core/llm_generator/prompts.py ) is in English, the llm will response in English. even the context is in Chinese. It's better to have multi-lingual prompts, especially in Chinese.

2. Additional context or comments

No response

3. Can you help us with this feature?

  • [X] I am interested in contributing to this feature.

chenlujia888 avatar Aug 18 '24 14:08 chenlujia888