Tailwind Logo

Enabling Visual Search in Content Hub DAM

Digital Asset ManagementSitecore AI

Published: 2024-10-25

The Visual Search function, which allows you to search for images, is provided for assets managed in the Sitecore Content Hub DAM. In this article, we will enable this function and check the search results.

Asset Search

The standard image search function is a search box that can be used to search for images using the metadata and tags set for them. By default, it looks like this

visualsearch01.png

Enable Visual Search

Without further ado, we will proceed with the work to enable Visual Search for the search box above. To open the settings for this page, go to the Assets page from the Pages section of the admin screen.

visualsearch02.png

Search Select the component and you can see that the Visual Search functionality is turned off in this environment under the Functionality heading.

visualsearch03.png

Check this box, then click Save and Close to save your changes. After you have finished changing the settings, if you go to the Assets page, you will see that the search box has been updated and the AI button has been added, as shown below.

visualsearch04.png

Enable Sitecore AI

Let's try the image search right away. However, an error occurred with the settings above alone.

visualsearch05.png

This is because the Sitecore AI function has not been enabled. To enable the Sitecore AI function, go to the administration screen and select Sitecore AI to configure the settings.

visualsearch06.png

When you open the screen, you will see the following Visual Search items.

visualsearch07.png

Clicking on Enable will display the following dialogue box.

visualsearch08.png

Several options are displayed. In this case, select ‘All Assets’ and click ‘Execute’. The following screen shows the situation where multiple attempts are being made on the assets.

visualsearch09.png

Once the index is complete, Visual Search will be functional.

Verification of operation

Now, let's try performing an image search using a part of an image. In this case, we will specify an image with a part of it cut out in the AI search box and perform a search. The results are

visualsearch10.png

The image displayed first is the original image. You can also search using text.

visualsearch12.png

When you open the target asset, a button for similar materials will also be added.

visualsearch11.png

Summary

This time, we have made it possible to search for images and assets using text in the Sitecore Content Hub asset search using Visual Search. The number of Sitecore AI functions will increase in the future, but this time we have introduced the functions that have been installed in Content Hub.

Tags