dify icon indicating copy to clipboard operation
dify copied to clipboard

Bing searches for market parameters, but searches for anomalies when using Chinese

Open deific opened this issue 1 year ago • 5 comments

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: image 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" image

✔️ Expected Behavior

Perform search and obtain results

❌ Actual Behavior

No response

deific avatar Dec 19 '24 08:12 deific

same problem

lihongjie224 avatar Jan 18 '25 10:01 lihongjie224

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!

dosubot[bot] avatar Feb 18 '25 16:02 dosubot[bot]

same problem

deific avatar Feb 20 '25 12:02 deific

@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?

dosubot[bot] avatar Feb 20 '25 12:02 dosubot[bot]

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?

liudonghua123 avatar Feb 24 '25 09:02 liudonghua123