Bing searches for market parameters, but searches for anomalies when using 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.13.1
Cloud or Self Hosted
Cloud, Self Hosted (Docker)
Steps to reproduce
When using the Bing search tool and enable entity search, select "China" for the market and "Simplified Chinese" for the language, as shown in the following figure:
Execution error:
{"_type": "Error", "code": "InvalidRequest", "subCode": "ParameterInvalidValue", "message": "Parameter has invalid value.", "moreDetails":"Entity Search is not allowed for this market.", "parameter": "mkt", "value": "zh-hans-CN" }
The market parameters for China in Bing's API documentation should be: "zh-CN"
✔️ Expected Behavior
Perform search and obtain results
❌ Actual Behavior
No response
same problem
Hi, @deific. I'm Dosu, and I'm helping the Dify team manage their backlog. I'm marking this issue as stale.
Issue Summary:
- You reported an error with Bing's search tool when using entity search for the Chinese market.
- The parameter "zh-hans-CN" is invalid according to Bing's API documentation, which specifies "zh-CN" as correct.
- Another user, @lihongjie224, confirmed experiencing the same issue.
- The issue remains unresolved, highlighting a parameter discrepancy in Bing's API for the Chinese market.
Next Steps:
- Please confirm if this issue is still relevant with the latest version of the Dify repository by commenting here.
- If there is no further activity, this issue will be automatically closed in 15 days.
Thank you for your understanding and contribution!
same problem
@takatost, the user @deific has confirmed that the issue with Bing's search tool is still relevant, stating they are experiencing the same problem. Could you please assist them with this?
I found the main language of app is correct, but the created app is always using English instead of Simple Chinese. Is zh-Hans should updated to zh-CN?