Semantic vector search in AI Search
Summarize
Summary of Semantic vector search in AI Search
Semantic vector search in AI Search enhances the Now LLM Service’s ability to find results based on the meaning and context of search queries rather than just matching keywords. This method enables more natural language interpretation and improves recall by identifying results with similar meanings to the search terms, even if exact keywords do not match.
Show less
Key Features
- Meaning-based search: Unlike traditional keyword search, semantic vector search analyzes the intent and context behind queries to find relevant results.
- Automatic similarity detection: AI Search automatically identifies term similarities during indexing without relying on synonym dictionaries.
- Improved relevancy ranking: Results are ordered by calculated similarity to the search query, ensuring the most contextually relevant results appear first.
- Seamless integration: This search mode is enabled by default in AI Search features that use the Now LLM Service, including ServiceNow Otto® for Virtual Agent chats, Genius Results for knowledge articles and actions, and external content connectors.
Benefits
- Enhances recall for knowledge articles, catalog items, and topic retrieval by focusing on underlying meanings rather than just keywords.
- Delivers a more consistent and natural search experience by returning relevant results for varied queries with similar intent.
- Reduces the need to maintain extensive synonym dictionaries, simplifying search configuration and maintenance.
Practical Impact for ServiceNow Customers
With semantic vector search enabled, ServiceNow customers can expect more accurate and relevant search results in virtual agent interactions, knowledge base lookups, catalog item retrievals, and external content searches. This leads to faster issue resolution and improved user satisfaction by understanding user intent beyond exact keyword matches.
Availability
- ServiceNow Otto® for Virtual Agent uses semantic vector search for catalog item and live agent topic retrieval.
- Genius Results for knowledge base articles use semantic vector search alongside keyword search to improve answer accuracy.
- Actions Genius Results incorporate semantic vector search for catalog item matching.
- External Content Connectors support semantic vector indexing for document retrieval when integrated with the Now LLM Service.
Semantic vector search allows the Now LLM Service to find results based on how similar they are in meaning to your search terms. Knowledge base articles Genius Results and ServiceNow Otto® for Virtual Agent use semantic vector search to improve recall with natural language interpretation of search queries.
By default, AI Search uses keyword search, meaning that it finds results for records that contain the best matches for the keywords (terms) in your search query. Term matching doesn't take into account the context or meaning of your search terms.
Starting in the Vancouver Patch 4 release, AI Search includes an alternate search mode called semantic vector search that's used in features which work with the Now LLM Service. Examples of such features include ServiceNow Otto® for Virtual Agent chats, ServiceNow Otto Summary Genius Results, and Actions Genius Results.
Semantic vector search analyzes the meanings and context of your search terms and uses that information to find results with similar meanings. It improves search recall by interpreting natural language to more accurately reflect your search's intent.
- In keyword search mode, AI Search returns no result for this record because your search query terms aren't literal matches for the terms included in the indexed content.
- In semantic vector search mode, however, AI Search might return a result for the record based on the following context-aware analysis:
- Your search term avoiding is contextually similar in meaning to prevent
- Your search term scams has meaning that overlaps with the meaning of phishing
AI Search orders results from semantic vector search based on how similar they are to your search. In the example, if you had a second indexed record including text how to prevent scams, it would be more similar to the avoiding scams search and its search result would appear before the how to prevent phishing result.
Unlike the default keyword-based search mode, semantic vector search does not rely on your synonym dictionaries to find term equivalences. AI Search identifies term similarities automatically when indexing source content and metadata for semantic vector search.
Semantic vector search is automatically enabled and doesn’t include any configurable settings.
Benefits of semantic vector search
- Helps improve recall for knowledge article, Catalog Item, and topic retrieval searches by matching results based on the underlying meaning of your search rather than matching on keywords.
- Provides a more natural and consistent search experience by returning similar results for varied search queries with the same underlying meaning.
- Reduces the necessity to create and maintain synonym dictionaries to anticipate similarities in searches.
Semantic vector search output
Semantic vector search overrides the normal AI Search term matching and relevancy ranking mechanisms. Results are ordered based on their computed similarity to your search query terms, with the most similar results appearing first.
Availability of semantic vector search
- ServiceNow Otto for Virtual Agent uses semantic vector search for Catalog Item retrieval and live agent topic retrieval. For more details, see ServiceNow Otto for Virtual Agent.
- Knowledge base articles Genius Results use semantic vector search along with legacy keyword search when looking for knowledge articles that match your search query. They also use semantic vector search when looking for cached answers that match your query in the second-level cache. For more details, see Knowledge base articles Genius Results and Caching for Now Assist Q&A Genius Results.
- Actions Genius Results use semantic vector search along with legacy keyword search when looking for Catalog Items that match your search query. For more details, see Actions Genius Results.
- All connectors from the External Content Connectors application support semantic vector indexing when retrieving document content from external source systems. Only features which use semantic vector search with the Now LLM Service can take advantage of this support. For more information on external content connector configuration and usage, see External Content Connectors.