Bing Knowledge Widget: Installation and configuration
InicioBlogAugmented readingBing Knowledge Widget: Installation and configuration
|

Bing Knowledge Widget: Installation and configuration

Here we copy the instructions from Bing Knowledge Widget to install your tool:

This article describes how you can install the embed code for the Bing Knowledge Widget, a lightweight and robust JavaScript module that can detect features on your webpage and link them to the feature graph in the Bing Knowledge Repository. In doing so, it makes detailed information about the entity available to your users within the context of your website, which increases engagement, time on site, and user satisfaction. This article also explains the options and settings you can adjust to make the Bing Knowledge Widget work optimally with your site, both by using the settings interface and by manually changing the attributes in the code snippet.

Installation and configuration

NoteNOTE
Bing Knowledge Widget iscurrently in beta. During this stage, the results are optimized for English (United States) entities. You can share your feedback with the team by sending an email to bingknow@microsoft.com .

How to get the code

To get the Bing Knowledge Widget code, go to bing.com/widget/knowledge . Locate the “Copy Code” button and click it to copy the code to your clipboard.

Get the Code for Bing Knowledge Widget

Next, simply paste the code you just copied into the page feed of your website or blog, for example, just before the body closure tag (</body>). Do this on every page you want to enhance with the Bing Knowledge Widget or alternatively add it to your site or blog template so that the embed code is automatically included on each page.

Configuration

If you want to customize how the Bing Knowledge Widget works, go to the Settings section and make the selections you want. The embed code will automatically change as you make adjustments, so be sure to copy the code again once you’re done.

Customize settings for the Bing Knowledge Widget

You can access more settings using the right arrow and the Bing Knowledge Widget offers settings for the following:

Customizing visual entities

You can easily configure how you want the Bing Knowledge Widget to display detected entities on a page. There are 3 predefined options:

  1. Feature Images: When you select this option, detected features will appear only as images in a vertical carousel next to the page.
  2. Images of Entities & Links: When you select this option, the detected entities will appear as images in a vertical carousel next to the page and also as links within the text of the page. This is the most popular option.
  3. Entity Links: When you select this option, detected entities will appear as links within the text of the page.

You can select one of these three options by clicking the “Use this option” button. The button of the currently selected option will say “Current”.

Link styles

Once you’ve chosen a display option that includes entity links, you can configure the link style associated with these links. You can select from several predefined options or, alternatively, provide a CSS class name that you have already defined on your website.

Entity Images

Once you’ve chosen a display option that includes feature images, you can choose how the feature image carousel is displayed when a page loads. You can choose from the following options:

  1. Auto: This is the default and recommended option because it automatically expands or collapses the carousel of feature images based on the width of the page and the number of features detected on the page.
  2. Collapsed: This always hides the carousel when the page loads, showing only one Bing tab.
  3. Expanded: This always shows the carousel when the page loads, regardless of the width of the page and the number of entities detected.

Shadow

If the “Enabled” check box is selected, the widget will use a shadow to outline the feature carousel and feature results page.

Detection force

The Detection Force options allow you to adjust how aggressive feature detection should be. You can choose from three default force levels: moderate (default), aggressive (more features, less accuracy/relevance), and conservative (fewer features, higher accuracy, and relevance). You can change these settings by moving the slider left or right.

This section also allows you to determine exactly how many entities are flagged once they have been detected:

  • Maximum Links: Sets the maximum number of links created on the page.
  • Maximum Entity Links: Sets the maximum number of links for entity mentions per unique entity.
  • Maximum Links Per Paragraph: Sets the maximum number of entity links created within a single paragraph or block of text.

Selection

The Selection options allow you to adjust two things:

  1. From which parts of the page do not detect entities.
  2. From which parts of the page do not improve with entity links.

Option 1 can be used to instruct the Bing Knowledge Widget to ignore any text in sections of the page that are not specific to the topic of the page. For example, a related links section, a top-level navigation that is common across all pages, or a footer. None of the text in areas you’ve blocked in this way will be used to detect features on the page. You can do this by entering one or more CSS class names (separated by spaces) from these sections in the input box.

Option 2 can be used to tell the Bing Knowledge Widget in which section not to flag mentions of detected entities. As in option 1, you can do this by entering one or more CSS class names (separated by spaces) from these sections in the input box.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *