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

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

Open
5 tasks done
deific opened this issue Dec 19, 2024 · 0 comments
Open
5 tasks done
Labels
🐞 bug Something isn't working

Comments

@deific
Copy link

deific commented Dec 19, 2024

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

@dosubot dosubot bot added the 🐞 bug Something isn't working label Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant