Here we copy the instructions from Bing Knowledge Widget to install your tool:
Installation and configuration
|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 firstname.lastname@example.org .|
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.
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.
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.
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:
- Feature Images: When you select this option, detected features will appear only as images in a vertical carousel next to the page.
- 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.
- 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”.
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.
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:
- 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.
- Collapsed: This always hides the carousel when the page loads, showing only one Bing tab.
- Expanded: This always shows the carousel when the page loads, regardless of the width of the page and the number of entities detected.
If the “Enabled” check box is selected, the widget will use a shadow to outline the feature carousel and feature results page.
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.
The Selection options allow you to adjust two things:
- From which parts of the page do not detect entities.
- 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.