AI Search auto-suggestions

Eswar13
Tera Contributor

I configured AI Search custom application, enabled AI Search for custom portal, able to get AI Search results. But unable to get auto-suggestions.

 

Can anyone please help me with this?

 

Thanks in advance!

3 REPLIES 3

Community Alums
Not applicable

Hi @Eswar13 ,

Issues with Auto-completion not working as expected is usually because the custom widget is missing required AI search code. The [sp_widget] for your Service Portal should contain code such as -

if (aisEnabled)
    data.typeAheadSearch = $sp.getWidget('typeahead-search', options);

If the issue persists, please raise a case with ServiceNow Technical Support who can provide further assistance.

 

Community Alums
Not applicable

Hi Sandeep,

 

Thank you for answering!

 

I tried the above piece of code that you provided already also cross-checked the auto-suggestion in the Service Portal by enabling AI Search with the AI Search application that I created.

 

Over there suggestions were coming, but the issue is in only with Custom portal.

 

Do you have any other way to achieve this?

 

Thanks in advance!