Troubleshoot issues with Topic Recommendations

  • Release version: Washingtondc
  • Updated February 1, 2024
  • 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 Troubleshoot issues with Topic Recommendations

    This guide assists ServiceNow customers in troubleshooting issues related to Topic Recommendations, a feature that enhances the Virtual Agent by providing contextual suggestions based on topics. It outlines common problems, their solutions, and key considerations to ensure effective use of the feature.

    Show full answer Show less

    Key Features

    • Model Training: Topic Recommendations attempts to train when new topics are added. Errors during training result in topics being added but kept in a draft state.
    • Error Logging: Detailed error logs can be accessed to diagnose issues when adding topics.
    • Analysis Reports: These are essential for understanding the performance of Topic Recommendations, but they must be configured to display correctly.
    • Performance Thresholds: Reports require at least 10,000 records and can handle a maximum of 300,000 records for optimal performance.

    Key Outcomes

    • To resolve a blank Topic Recommendations page, configure an analysis report or install ITSM Virtual Agent Conversations.
    • For errors while adding topics, check the error log for specific messages related to the issue.
    • Ensure ITSM Virtual Agent Conversations is active if reports show intent matches without pre-built topic matches.
    • Understand that analysis reports do not transfer between production instances.
    • If reports are stuck in progress, check the Discovery Report Definitions for status updates.
    • Monitor topic generation status and event logs for delays in adding new topics.
    • Adjust system properties if certain tabs are not visible in the application interface.

    Investigate and resolve unexpected behavior with Topic Recommendations, or find answers to common questions.

    For information about using Topic Recommendations, see Quick start for Topic Recommendations.

    Note:
    Topic Recommendations tries to train the model when you add new topics to Virtual Agent. If an error occurs during training, the topic is still added, but the model remains in a draft state.
    Issue Solution

    Topic Recommendations page is blank

    No analysis reports have been configured.

    Configure an analysis report. You can also install or activate ITSM Virtual Agent Conversations, which will add default configurations to Topic Recommendations. For more information, see Set up ITSM Virtual Agent.

    Error when adding topics to Virtual Agent

    Check the error log for details:
    1. Navigate to All > System Logs > System Log > Errors.
    2. Find the entry that has a value of sn_topic_recommend in the Source column.

      The Message field displays the error.

      Note:
      If model training fails while adding topics, Topic Recommendations will ignore those errors and continue to add your recommendations. In this case, you will be notified that the models are in draft state.
    Reports have intent matches, but no pre-built topic matches

    Make sure ITSM Virtual Agent Conversations is installed and activated for the instance. If the app is installed, then none of the pre-built topics address the issues found in your reports. For more information, see Set up ITSM Virtual Agent.

    Analysis reports are not available in production instances

    This is the expected behavior. Analysis reports and Intent Discovery are designed to live in one instance only. Added topics and NLU models are made available in a "new" instance, but the Topic Recommendations reports do not move between instances.

    Analysis report is stuck and says "Analysis in progress" Check the status in the Discovery Report Definitions table:
    1. Navigate to All > sn_nlu_discovery_report_definition.list.
    2. Sort the table on the Created column, and then find the name of the affected analysis definition.
    3. If the Status column is empty, the analysis failed. Try running it again.

    You can also navigate to NLU Workbench > Intent Discovery to see if something went wrong in the intent discovery process. For more information, see Intent Discovery.

    Adding new topics takes longer than expected Try the following:
    • Navigate to All > sn_topic_recommend_topic_staging.list and view the Status column to see what stage topic generation is in. Training models can take some time.
    • Navigate to All > System Logs > Events to see which event ran last or if the event is queued.
    • If the reason for failure is not clear, navigate to All > sn_topic_recommend_topic_staging.list and change the value of the Status field to Error. You can then try to add the recommendation again.
    Can't generate a report with less than 10,000 or more than 300,000 records

    Topic Recommendations currently supports a minimum of 10,000 records and a maximum of 300,000 records. This is done for performance and to ensure a statistically significant data set.

    Model is not preselected in the app

    If you are upgrading from Quebec and this is your use of the Topic Recommendations app, you must select a model. Once you select a model, Topic Recommendations preserves the selection.

    Unmigrated model support

    While you are encouraged to migrate your models to groups, Topic Recommendations does not require models to be grouped.

    Unlinked topics You don't have to link all recommendations. Topic linking is a way to "acknowledge" a recommendation if you have an existing topic.
    The Topics/Requests VA Can Handle tab is not displayed

    System property glide.ui.escape_all_script is not set to True.

    Navigate to ALL > sys_properties.list (or ALL sys_properties_list.do). Search for and select glide.ui.escape_all_script, then set its Value to True.