How to change the icon that comes next to search result on Portal Search where AI Search is enabled.
The typeahead icons are called Typeahead glyphs and they are configured in the View Templates in the sys_ux_composite_data_template table for AI search.
In this template, the "key" property in the following section of the template is what that controls the icon:
Replace key value with the desired icon name is from the available icons list.
Please find below screenshots for example.
Before change in key value for Knowledge Search Template
After changing key value
The available icons are defined here: https://developer.servicenow.com/dev.do#!/reference/now-experience/paris/now-components/now-icon/gallery