identity:
  author: Dify
  name: bing
  label:
    en_US: Bing
    zh_Hans: Bing
    pt_BR: Bing
  description:
    en_US: Bing Search
    zh_Hans: Bing 搜索
    pt_BR: Bing Search
  icon: icon.svg
credentials_for_provider:
  subscription_key:
    type: secret-input
    required: true
    label:
      en_US: Bing subscription key
      zh_Hans: Bing subscription key
      pt_BR: Bing subscription key
    placeholder:
      en_US: Please input your Bing subscription key
      zh_Hans: 请输入你的 Bing subscription key
      pt_BR: Please input your Bing subscription key
    help:
      en_US: Get your Bing subscription key from Bing
      zh_Hans: 从 Bing 获取您的 Bing subscription key
      pt_BR: Get your Bing subscription key from Bing
    url: https://www.microsoft.com/cognitive-services/en-us/bing-web-search-api
  server_url:
    type: text-input
    required: false
    label:
      en_US: Bing endpoint
      zh_Hans: Bing endpoint
      pt_BR: Bing endpoint
    placeholder:
      en_US: Please input your Bing endpoint
      zh_Hans: 请输入你的 Bing 端点
      pt_BR: Please input your Bing endpoint
    help:
      en_US: An endpoint is like "https://api.bing.microsoft.com/v7.0/search"
      zh_Hans: 例如 "https://api.bing.microsoft.com/v7.0/search"
      pt_BR: An endpoint is like "https://api.bing.microsoft.com/v7.0/search"
    default: https://api.bing.microsoft.com/v7.0/search
  allow_entities:
    type: boolean
    required: false
    label:
      en_US: Allow Entities Search
      zh_Hans: 支持实体搜索
      pt_BR: Allow Entities Search
    help:
      en_US: Does your subscription plan allow entity search
      zh_Hans: 您的订阅计划是否支持实体搜索
      pt_BR: Does your subscription plan allow entity search
    default: true
  allow_web_pages:
    type: boolean
    required: false
    label:
      en_US: Allow Web Pages Search
      zh_Hans: 支持网页搜索
      pt_BR: Allow Web Pages Search
    help:
      en_US: Does your subscription plan allow web pages search
      zh_Hans: 您的订阅计划是否支持网页搜索
      pt_BR: Does your subscription plan allow web pages search
    default: true
  allow_computation:
    type: boolean
    required: false
    label:
      en_US: Allow Computation Search
      zh_Hans: 支持计算搜索
      pt_BR: Allow Computation Search
    help:
      en_US: Does your subscription plan allow computation search
      zh_Hans: 您的订阅计划是否支持计算搜索
      pt_BR: Does your subscription plan allow computation search
    default: false
  allow_news:
    type: boolean
    required: false
    label:
      en_US: Allow News Search
      zh_Hans: 支持新闻搜索
      pt_BR: Allow News Search
    help:
      en_US: Does your subscription plan allow news search
      zh_Hans: 您的订阅计划是否支持新闻搜索
      pt_BR: Does your subscription plan allow news search
    default: false
  allow_related_searches:
    type: boolean
    required: false
    label:
      en_US: Allow Related Searches
      zh_Hans: 支持相关搜索
      pt_BR: Allow Related Searches
    help:
      en_US: Does your subscription plan allow related searches
      zh_Hans: 您的订阅计划是否支持相关搜索
      pt_BR: Does your subscription plan allow related searches
    default: false
