Now Assist in AI Search properties
Summarize
Summary of Now Assist in AI Search properties
These system properties allow ServiceNow customers to customize the behavior of Now Assist in AI Search, specifically for generating and caching Genius Results answers using the Now LLM Service. Adjusting these settings helps control performance, answer eligibility, and how AI Search interacts with cached data and the Now LLM Service.
Show less
Key Properties and Their Practical Use
- snaisassist.semanticcachemode: Controls how AI Search uses caches and the Now LLM Service for Now Assist Q&A Genius Results. It supports three modes:
- off (default): Uses only the first-level cache and queries the Now LLM Service if no exact cached answer exists. Dynamic Translation bypasses caches.
- offline: Uses first- and second-level caches without querying the Now LLM Service. If no cached answer exists, no result is returned. Dynamic Translation bypasses caches and returns no answer.
- online: Uses both cache levels and the Now LLM Service as needed, ensuring fresh answers. Dynamic Translation bypasses caches and queries the Now LLM Service.
This property is not present by default and must be added manually to override the default behavior.
- snaisassist.ullmapitimeout: Defines the maximum wait time (in seconds) for receiving answers from the Now LLM Service, defaulting to 120 seconds. This helps manage response time expectations for AI-generated answers. It is not present by default and must be added if customization is needed.
- snaisassist.uquestionregex: A case-insensitive Java regular expression to restrict which search queries are eligible for Now Assist Q&A answer generation. For example, limiting eligibility to queries starting with “what,” “where,” etc. If unset, all searches are eligible. This property is available in the system properties table and can be modified to fine-tune answer generation scope.
- snaisassist.usanitizehtml: Option to remove HTML tags from knowledge article content before sending it to the Now LLM Service, enhancing answer quality by cleaning input text. Defaults to false and must be added manually to enable.
Practical Impact for ServiceNow Customers
- By configuring semanticcachemode, customers can balance between answer freshness, performance, and offline capabilities based on their operational needs.
- Setting a suitable ullmapitimeout helps control latency expectations when waiting for AI-generated answers.
- Using uquestionregex allows customers to restrict AI answer generation to relevant question types, improving resource efficiency and answer relevance.
- Enabling usanitizehtml can improve the quality of AI-generated answers by ensuring cleaner input data.
These configurable properties empower customers to tailor Now Assist in AI Search’s Q&A functionality to their specific environment and use cases, improving user experience and system efficiency.
System properties that you can use to modify behavior for Now Assist in AI Search Genius Results.
| Property | Description |
|---|---|
| sn_ais_assist.semantic_cache_mode | Operational mode for the Now Assist Q&A Genius Results caches. Use this mode to control how AI Search uses the caches and the Now LLM Service when looking for Now Assist Q&A Genius Result answers.
For details about how AI Search caches Now Assist Q&A Genius Result answers, see Caching for Now Assist Q&A Genius Results.
|
| sn_ais_assist.u_llm_api_timeout | Maximum time in seconds to wait for Now Assist Q&A answer generation results from the Now LLM Service.
|
| sn_ais_assist.u_question_regex | Case-insensitive Java regular expression pattern that defines searches eligible for Now Assist Q&A answer generation. As an example, the pattern ^(what|where|when|why|who|whom|which|how)\b restricts eligibility to search queries that begin with one of the
specified keywords.
When this system property has a value defined, only searches in supported applications that match the specified pattern are eligible for Now Assist Q&A answer generation. When no value is defined, all searches in supported applications are eligible for Now Assist Q&A answer generation.
To learn about Java regular expression pattern syntax, see the Javadoc for the java.regex.util.Pattern class. |
| sn_ais_assist.u_sanitize_html | Option to remove HTML tags from knowledge article text before sending to the Now LLM Service for Now Assist Q&A answer generation.
|