Dictionary and AI Search Dictionary forms

  • Release version: Xanadu
  • Updated March 28, 2025
  • 2 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 Dictionary and AI Search Dictionary forms

    The Dictionary and AI Search Dictionary forms in ServiceNow allow you to manage dictionaries used for AI Search functionality, including typo handling, stop words, and synonyms. These forms enable you to create or modify dictionaries that improve search accuracy and relevance by controlling how AI Search interprets user queries.

    Show full answer Show less

    Key Features

    • Label and Dictionary Name: Unique identifiers for each dictionary, with the name auto-generated from the label.
    • Language: Specifies the language of terms in stop word and synonym dictionaries; AI Search sets this automatically for typo handling dictionaries.
    • Type: Defines the dictionary category (Spell Check, Stop Word, or Synonym) automatically based on its purpose.
    • State: Indicates the dictionary’s lifecycle status—New, Draft, or Published.
    • Case and Punctuation Sensitivity: Options to enable sensitivity to case and punctuation for dictionary terms, enhancing search precision.
    • Derived Entries (Typo Handling dictionaries only): Ability to automatically generate correction terms from indexed content, with settings to specify indexed sources, refresh intervals (minimum 24 hours), and fields to exclude.
    • Blocked Fields: Allows exclusion of terms from specified fields or entire tables during derivation, using flexible formats (e.g., asterisk for all fields, specific field names, or table.field combinations).

    Practical Use for ServiceNow Customers

    By utilizing these dictionary forms, you can tailor AI Search to better handle typographical errors, ignore irrelevant stop words, and recognize synonyms specific to your organization’s terminology. This customization enhances search results accuracy and user experience. The ability to derive typo corrections from your indexed content automates dictionary maintenance while blocked fields ensure unwanted terms do not affect search behavior.

    The Dictionary and AI Search Dictionary forms contain information about your AI Search typo handling, stop word, and synonym dictionaries. Use these forms when creating or modifying a typo handling, stop word, or synonym dictionary for use with AI Search.

    For details on creating and modifying dictionaries, see Modify settings for a typo handling dictionary, Create a stop word dictionary linked to a search profile, and Create a synonym dictionary linked to a search profile.

    Table 1. Dictionary and AI Search Dictionary forms
    Field Description
    Label Unique label for the dictionary.
    Dictionary name Name for the dictionary. This field is automatically set based on the Label field value.
    Language Language for all terms defined in the dictionary. This field only displays when editing a stop word or synonym dictionary. AI Search automatically sets the language for typo handling dictionaries.
    Note:
    You can only link one stop word dictionary with a given language to a search profile.
    Type Dictionary type. This field is automatically set to Spell Check, Stop Word, or Synonym.
    State Current state of the dictionary.
    • New: The dictionary has never been published.
    • Draft: The dictionary is saved with unpublished changes.
    • Published: The dictionary is saved with all changes published.
    Case sensitive Option to enable case sensitivity for all terms in the dictionary.

    For more details on case sensitivity, see Typo handling, Stop words, or Synonyms.

    Punctuation sensitive Option to enable punctuation sensitivity for all terms in the dictionary.

    For more details on punctuation sensitivity, see Typo handling, Stop words, or Synonyms.

    Derived Option to derive dictionary entries from indexed content. This field and the Derive Settings section only display when editing a typo handling dictionary.
    Derive Settings
    Indexed sources List of indexed sources. The dictionary derives auto-correction terms from content indexed for these sources. This field only displays when editing a typo handling dictionary.

    For more information on indexed sources, see Indexed sources in AI Search.

    Auto refresh Interval, in hours, after which derived typo handling entries automatically refresh. The minimum value is 24 hours. This field only displays when editing a typo handling dictionary.
    Blocked Fields Comma-separated list of fields. The dictionary excludes terms found in these fields when deriving typo handling auto-correction terms from indexed source records. This field only displays when editing a typo handling dictionary.
    You can specify fields using the following formats:
    • * (asterisk): Exclude terms found in all fields. This value disables derivation of typo-handling auto-corrections for the dictionary.
    • fieldname: Exclude terms found in the specified AI Search index field, such as title or text. For details on AI Search index fields, see AI Search index fields.
    • tablename.fieldname: Exclude terms found in the specified field on the specified ServiceNow AI Platform® table.
    • tablename.*: Exclude terms found in all fields in the specified ServiceNow AI Platform table.