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

The search of tools does not support Chinese. #12762

Closed
5 tasks done
jiandanfeng opened this issue Jan 15, 2025 · 2 comments · Fixed by #12950
Closed
5 tasks done

The search of tools does not support Chinese. #12762

jiandanfeng opened this issue Jan 15, 2025 · 2 comments · Fixed by #12950
Labels
🐞 bug Something isn't working 🔨 feat:tools Tools for agent, function call related stuff. good first issue Good first issue for newcomers

Comments

@jiandanfeng
Copy link
Contributor

jiandanfeng commented Jan 15, 2025

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.15.0

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

tools page search "邮件"

✔️ Expected Behavior

No response

❌ Actual Behavior

image
image

@dosubot dosubot bot added 🐞 bug Something isn't working 🔨 feat:tools Tools for agent, function call related stuff. labels Jan 15, 2025
Copy link

dosubot bot commented Jan 15, 2025

Dify uses the elasticsearch library for implementing search, which supports multilingual capabilities, including Chinese. Additionally, the jieba library is included in the dependencies, which is specifically used for Chinese text segmentation, suggesting that Chinese language processing should be supported [1].

If the search functionality is not supporting Chinese as expected, it might be due to configuration issues or specific implementation details that need adjustment. You might want to check the configuration settings related to language support in the search functionality, particularly in the scholar_search.yaml file, where the default language is set to English but can be configured to support other languages, including Chinese [2].

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 good first issue Good first issue for newcomers label Jan 21, 2025
@Jhvcc
Copy link
Contributor

Jhvcc commented Jan 22, 2025

It should be compared to the translated label field, not the name @crazywoola

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working 🔨 feat:tools Tools for agent, function call related stuff. good first issue Good first issue for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants