AI Search Results Improvement Rule form

  • Release version: Yokohama
  • Updated March 28, 2025
  • 2 minutes to read
  • The AI Search Results Improvement Rule form enables you to create a result improvement rule in an AI Search search profile.

    For details on creating or editing result improvement rules, see Create a result improvement rule.

    Table 1. AI Search Results Improvement Rule form
    Field Description
    Label Unique label for the result improvement rule.
    Start Date System time for the first date when the result improvement rule can activate. If left empty, this field is automatically set to the current date.
    End Date System time for last date when the result improvement rule can activate. After this date, the rule state changes to Expired.

    If left empty, this field is automatically set to 30 days from the Start Date.

    Activate on all queries Option to make the result improvement rule activate for every search query.
    Language Language for the result improvement rule. AI Search only evaluates activation for result improvement rules that have the same language as the search query or that have All Languages specified for this field.
    State Current state for the result improvement rule.
    • New: The rule has never been published.
    • Draft: The rule is saved with unpublished changes.
    • Published: The rule is saved with all changes published.
    • Expired: The rule can't activate because its End Date is in the past. Publishing a search profile doesn't publish expired rules.
    Marked for Deletion Option indicating whether AI Search will delete the result improvement rule the next time you publish the search profile.
    Apply only to Genius Results Option to make the result improvement rule only operate on Genius Result answers when activated.
    Note:
    When this option is selected, the result improvement rule can only contain block actions.
    Triggers
    Expand Synonyms For Query Conditions Option for enabling synonym expansion for Query condition arguments. This field disappears if you select Activate on all queries.

    When expanding Query conditions, AI Search only considers active synonyms that are defined in the same search profile and that have a language matching the language of the result improvement rule.

    Triggers List of conditions that must be met for the result improvement rule to activate. This field disappears if you select Activate on all queries.
    Select one of the following fields as the subject for your condition:
    • Keywords: Operates on one or more keywords found in the user's search query. For example, a [Keywords] [are] [password] condition is satisfied by searches for How do I change my password or password reset.
    • Query: Operates on the user's full search query. As an example, a [Query] [is] [password reset] condition is satisfied by a search for password reset, but not by a search for password reset steps.
    • User Context: Operates on a user context element from the search user's ServiceNow AI Platform® session. The system displays the source table and field after the user context element name. As an example, a [User Context - Country (sys_user.country)] [is] [Japan] condition is satisfied when the search user's User [sys_user] record has country set to Japan.