Improving the user experience with AI Search
Summarize
Summary of Improving the user experience with AI Search
ServiceNow’s Virtual Agent leverages the AI Search application from the AI Platform® to enhance search capabilities within bot conversations. When no relevant topics match user queries, AI Search provides fallback results, improving user experience by delivering relevant information. Topic authors can also embed AI Search using the Run AI Search topic block to generate search results within conversations.
Show less
How AI Search Works with Virtual Agent
- AI Search uses machine learning to deliver relevant results and improve over time based on user interactions.
- It supports Genius Result cards that highlight catalog items, Q&A from knowledge bases, and people information.
- Virtual Agent includes default AI Search configurations that define data sources (index sources), search profiles, and how results are displayed (via Entity View Action Mapping - EVAM).
- The AI Search Fallback setup topic activates when Virtual Agent cannot find a matching intent or topic, showing appropriate search results to end users.
- Virtual Agent Lite admins can deactivate fallback topics but cannot modify core AI Search configurations or blocks.
- AI Search must be requested and activated for your ServiceNow instance to use these features.
When AI Search Fallback is Used
- No matching topics found for a user query during topic discovery.
- Too many topics match, making it unclear which to display.
- Users select “Ask something else” after suggested topics, triggering rerun of AI Search for relevant results.
- If fallback is deactivated, a default fallback topic runs instead.
AI Search Results Presentation
- The Virtual Agent chat experience (default or custom) controls which search sources and synonyms are included and the format of results.
- Genius Result cards highlight high-confidence matches with Q&A snippets, catalog items, or people information (people cards require the Employee Service Center search profile).
- Users can request more results, which are shown as a list including knowledge articles, catalog items, people, and other sources like SharePoint or OneDrive.
- Administrators can customize result titles and increase the number of displayed results via system properties and EVAM templates.
- Links from search results open automatically in configured portals, which can be customized with URL mappings.
Customizing and Activating AI Search
- You can create custom AI Search experiences by defining Search Application Configurations that tailor search sources and result types for specific business applications or conversation contexts.
- The Run AI Search topic block allows topic designers to embed tailored searches within Virtual Agent topics.
- Activating AI Search for Virtual Agent makes default configurations and fallback topics available, enhancing the out-of-the-box conversational search experience.
By integrating AI Search with Virtual Agent, ServiceNow customers enable richer, more relevant conversational experiences that guide users to answers, catalog items, or contacts efficiently, even when predefined topics are insufficient.
Virtual Agent uses the ServiceNow AI Platform® AI Search application to return search results in bot conversations as a fallback when there are no relevant topics to display to end users. Virtual Agent also provides a Run AI Search topic block that topic authors can use to generate search results in a topic.
How Virtual Agent uses AI Search
The AI Search application, which is included with the ServiceNow AI Platform, provides relevant search results for queries and uses Machine Learning to continuously improve search results based on end-user selections. To learn more about AI Search, see AI Search.
In addition to normal search results, AI Search can display Genius Result cards that show relevant catalog items, questions and answers (Q&A), and people (user) information. To learn more, see Genius Results.
Catalog Genius Results and Q&A Genius Results are automatically activated in the base system.
- The Run AI Search topic block, which calls the AI Search application in a conversation. Topic designers can add this block as a topic node, to generate and display search results in a conversation. For details about the Run AI Search block and other topic blocks provided with Virtual Agent, see Virtual Agent pre-built topic blocks for NLU.
- The AI Search Fallback setup topic that generates search results for end users when Virtual Agent can't determine an intent and topic or the keyword to display the appropriate conversation for user requests.
- Search application configuration that defines:
- Index sources - Data sources to be used for search, such as catalog items or knowledge base (KB) articles.
- Search profile - Index source to be used and the type of results to show in Genius Result cards.
- Entity View Action Mapping (EVAM) configuration that defines how search results and Genius Results are displayed.
The Virtual Agent search configurations are part of the default chat experience set in AI Search, through the Custom Greetings and Setup feature. Use this feature to specify the context for running Virtual Agent. The chat experience defines the setup topics used in Virtual Agent conversations and the search configuration that controls the AI Search experience. The AI Search Fallback setup topic controls the AI Search experience. For details, see Customizing a Virtual Agent chat experience.
Virtual Agent and Virtual Agent Lite use AI Search functionality. If you're a Virtual Agent Lite admin, you can deactivate setup topics such as the AI Search Fallback setup topic, but you can't change the Virtual Agent search configurations set in chat experiences, the Run AI Search topic block, nor the AI Search Fallback setup topic.
In order to use AI Search in Virtual Agent, you must request it for your instance. For more information, see Activate AI Search for Virtual Agent.
When Virtual Agent uses AI Search fallback
- Topic discovery can't find any matchinag topics for the user query.Note:If you're using pre-built NLU conversations, such as ITSM Virtual Agent conversations, topic discovery finds the topics that match the keywords or intents provided with those conversations, before falling back to AI Search. If your users select Ask something else after suggested topics are displayed, Virtual Agent takes the additional input and reruns topic discovery AI Search to return relevant search results.
- Topic discovery returns too many topics for the user query. In this case, Virtual Agent can't determine the best topic to display to the end user.
- Topic suggestions are displayed to the user, but the user selects the Ask something else option.
What the AI Search results look like
- The search application specified in the Virtual Agent default or custom chat experience defines certain aspects of the search experience, such as the search sources (searchable content) and synonyms used to improve search recall.
- The EVAM configuration for Virtual Agent controls the Genius card content presented in search results (Q&A, Catalog, and People). For information on how EVAM works, see Exploring Entity View Action Mapper.
- Genius Result cards
- When AI Search generates a match (result) with a high confidence
score, Virtual Agent displays a single Genius card with the result. The
cards display information returned from AI Search:
- Q&A - Provides an answer snippet from the Knowledge Base article determined as the top search result.
- Catalog items - Returns the most relevant catalog item with the related entities (catalog item name and catalog item category).
- People - Returns the relevant person with the related entities (name,
department, city). Note:The default search application for Virtual Agent is configured to include Q&A (Knowledge Base) and Catalog results, but not People card results. The People card is not available with the default Virtual Agent search application. People card results are available if you're using the Employee Service Center (ESC) app and the ESC search profile, which can be specified in a Virtual Agent chat experience for ESC.
Figure 1. Genius card examples - List output
- After a Genius Result is returned, users can indicate what they would like to do next. If they choose the option Show me more on <search item>, Virtual Agent displays search results as a list output, which includes:
- Knowledge articles
- Catalog items
- People
- Other - Generic results determined by EVAM, for example results from Microsoft SharePoint or Microsoft OneDrive connectors
Admins can edit the prefix of these search result titles by navigating to EVAM and searching for Virtual Agent templates. Select the template for the applicable search result type and update the value for the key attribute.
Admins can expand the number of search results displayed up to 10, using the com.glide.cs.ai_search.max_regular_result property. In order for the search results to display as expected, the search result limit in the search application configuration should be greater than or equal to the com.glide.cs.ai_search.max_regular_result system property.Note:When admins specify 10 for the maximum regular results, 12 choice options display (10 results plus the actions “I need more help” and ”Ask something else”). However, the default total number of list options allowed on the chat widget is 10. In order for all 12 choices to display, the admin must adjust the com.glide.cs.picker_page_limit system property accordingly. For optimal user experience, fewer list options are recommended.Users can select a search result from the list and continue the Virtual Agent conversation. For example, when a user selects a catalog item from the search results list, Virtual Agent provides an option to request the item directly from the chat.
- Portals that display AI Search links
- Links in the Genius card and multi-link output search results are opened automatically in a portal that you can set in various ways. For example, you can use default or custom URL mappings to specify the portal in which links are opened. To learn more, see Configure URL navigation for chat links.
Custom search experiences
You can customize the AI Search experience in a conversation, for example to run searches that return results relevant to a particular business application. To control the AI Search results returned in a conversation, you can create a search application configuration that defines the search experience used by the AI Search topic block. For details, see Create a custom AI Search experience for Virtual Agent conversations.