Now Assist in AI Search properties

  • Release version: Zurich
  • Updated July 31, 2025
  • 3 minutes to read
  • Summarize
    Summarized using AI
    This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.

    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 full answer 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.

    These properties are available for Now Assist in AI Search.
    Note:
    To open the System Property [sys_properties] table's list view, select All, enter sys_properties.list in the Filter field, and press Enter.
    Table 1. Properties for Now Assist in AI Search
    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.
    • Type: string
    • Default value: off
    • Supported values:
      • off: Use the first-level cache and the Now LLM Service to find Now Assist Q&A Genius Result answers.

        AI Search looks in the first-level cache for Now Assist Q&A Genius Result answers that exactly match your search query and knowledge article result. If it doesn't find a matching answer, it sends your query and Knowledge article sys_id to the Now LLM Service for answer generation.

        Now Assist Q&A Genius Result answers generated by the Now LLM Service populate the first-level cache.

        When using Dynamic Translation, AI Search bypasses the caches and queries the Now LLM Service to generate an answer for the Now Assist Q&A Genius Result.

      • offline: Use the first-level and second-level caches to find Now Assist Q&A Genius Result answers. Don't submit queries to the Now LLM Service.

        AI Search looks in the first-level cache for Now Assist Q&A Genius Result answers that exactly match your search query and knowledge article result. If it doesn't find a matching answer, it uses semantic vector search to look for answers that match the meaning of your query in the second-level cache. If no cached answers match your query and knowledge article result, AI Search returns no answer for the Now Assist Q&A Genius Result.

        Now Assist Q&A Genius Result answers found in the second-level cache populate the first-level cache.

        When using Dynamic Translation, AI Search bypasses the caches and returns no answer for the Now Assist Q&A Genius Result.

      • online: Use the first-level and second-level caches and the Now LLM Service to find Now Assist Q&A Genius Result answers.

        AI Search looks in the first-level cache for Now Assist Q&A Genius Result answers that exactly match your search query and knowledge article result. If it doesn't find a matching answer, it uses semantic vector search to look for answers that match the meaning of your query in the second-level cache. If no cached answers match your query and knowledge article result, AI Search submits the query and article sys_id to the Now LLM Service for answer generation.

        Now Assist Q&A Genius Result answers generated by the Now LLM Service populate the first-level and second-level caches.

        When using Dynamic Translation, AI Search bypasses the caches and queries the Now LLM Service to generate an answer for the Now Assist Q&A Genius Result.

    • Location: Not present in the System Property [sys_properties] table by default. To override the default value, add this property by following the steps in Add a system property.
    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.
    • Type: integer
    • Default value: 120
    • Location: Not present in the System Property [sys_properties] table by default. To override the default value, add this property by following the steps in Add a system property.
    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.

    • Type: string
    • Default value: none
    • Location: System Property [sys_properties] table

    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.
    • Type: true | false
    • Default value: false
    • Location: Not present in the System Property [sys_properties] table by default. To override the default value, add this property by following the steps in Add a system property.