ServiceNow Otto for 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 ServiceNow Otto for AI Search properties

    This documentation outlines key system properties for configuring and modifying the behavior of ServiceNow Otto for AI Search Genius Results, specifically for Now Assist Q&A functionality. These properties allow ServiceNow customers to control AI Search’s use of caching, query eligibility, timeout settings, and content sanitization when generating answers from Knowledge base articles using the Now LLM Service.

    Show full answer Show less

    Key Properties and Their Practical Use

    • snaisassist.semanticcachemode: Controls the operational mode for caching and AI service usage in Now Assist Q&A Genius Results. It has three modes:
      • off: Uses only the first-level cache and the Now LLM Service to generate answers. Dynamic Translation bypasses caches and queries the LLM directly.
      • offline: Uses first- and second-level caches exclusively, without querying the LLM Service. Suitable when offline operation is needed, but no new answers are generated if not found in cache.
      • online: Combines first- and second-level caches with the Now LLM Service to generate answers if caches miss. This provides the most comprehensive answer retrieval.
      This property is not preset and must be added manually to override defaults.
    • snaisassist.ullmapitimeout: Defines the maximum wait time (in seconds) for the LLM Service to generate Knowledge base article answers. Default is 120 seconds. This helps manage performance expectations and system responsiveness.
    • snaisassist.uquestionregex: A case-insensitive Java regular expression that restricts which search queries are eligible for Now Assist Q&A answer generation. For example, limiting queries to those starting with specific interrogative words. If unset, all supported searches are eligible. Helps refine and optimize AI answer generation by query type.
    • snaisassist.usanitizehtml: Boolean option to remove HTML tags from knowledge article content before sending to the LLM for answer generation. Default is false. Enabling this can improve answer clarity by sending cleaner text to the LLM.

    Practical Implications for ServiceNow Customers

    • By configuring these properties, customers can tailor AI Search behavior to balance performance, accuracy, and operational constraints such as offline availability or translation needs.
    • Adding or modifying these system properties requires manual entry in the System Property [sysproperties] table, as most are not present by default.
    • Understanding and using the semanticcachemode property is critical for optimizing answer retrieval strategies, especially in environments with varying connectivity or translation scenarios.
    • Using the uquestionregex property enables customers to limit AI answer generation to relevant queries, improving system efficiency and user experience.
    • The HTML sanitization option helps ensure that the LLM receives clean input, potentially enhancing answer quality.

    System properties that you can use to modify behavior for ServiceNow® Otto for AI Search Genius Results.

    These properties are available for ServiceNow Otto for 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 ServiceNow Otto for 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 Knowledge base articles 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.

        Knowledge base articles 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 Knowledge base articles Genius Result.

      • offline: Use the first-level and second-level caches to find Knowledge base articles Genius Result answers. Don't submit queries to the Now LLM Service.

        AI Search looks in the first-level cache for Knowledge base articles 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 Knowledge base articles Genius Result.

        Knowledge base articles 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 Knowledge base articles Genius Result.

      • online: Use the first-level and second-level caches and the Now LLM Service to find Knowledge base articles Genius Result answers.

        AI Search looks in the first-level cache for Knowledge base articles 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.

        Knowledge base articles 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 Knowledge base articles 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 Knowledge base articles Genius Result answer generation results from the LLM.
    • 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 LLM for Knowledge base articles Genius Result 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.