---
sourceDocument: Yokohama Conversational Interfaces
sourceDocumentLink: https://www.servicenow.com/docs/r/yokohama/conversational-interfaces

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama Conversational Interfaces

ft:clusterId :

    - convint

bundleId :

    - convint

workflow :

    - Platform


---

# Natural Language Understanding (NLU) topic discovery in Virtual Agent

# Natural Language Understanding (NLU) topic discovery in Virtual Agent {#ariaid-title1}

* Release version: Yokohama
* 
* Updated June 6, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 7 minutes to read

Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) 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 Natural Language Understanding (NLU) topic discovery in Virtual Agent

Natural Language Understanding (NLU) models enable ServiceNow Virtual Agent to interpret user statements in automated conversations, improving user engagement by understanding intent and extracting relevant information.
NLU uses company-specific language data to learn syntax, semantics, and vocabulary, allowing Virtual Agent to deliver more natural and effective interactions.
Show full answer Show less  

## Key Features

* **NLU Components:**
  * **Model Groups:** Support applications, user roles, and languages, containing multiple intents.
  * **Intents:** Represent user actions or goals (e.g., password reset, ordering items) and map to a single conversation topic.
  * **Utterances:** Natural language examples that help the model understand user expressions beyond keywords.
  * **Entities:** Define important context or objects within user input, supporting slot-filling to streamline conversations. Entities can be common (dates, locations), ServiceNow-specific (case numbers), or company/domain-specific.
* **Topic Discovery:** Virtual Agent matches user utterances to intents and launches the appropriate conversation topic. It handles:
  * Single matches, automatically starting the topic.
  * Multiple matches, by presenting a choice list for user selection.
  * No matches, by falling back to AI Search results or displaying fallback messages.
* **Backup Keywords:** Optionally specify keywords for topic determination when NLU fails or language support is limited; fallback to AI Search if both methods fail.
* **Entity Extraction:** Virtual Agent uses entities to identify key information in conversations, automatically filling input values and optionally confirming with users.
* **Conversation Switching:** Users can switch topics mid-conversation; Virtual Agent detects changes and resumes or launches the appropriate topic, including handling unrelated queries or small talk.
* **Multi-language Support:** ServiceNow NLU supports primary and secondary languages within model groups. Virtual Agent Designer allows managing, training, testing, and localizing NLU models and topics in multiple languages without leaving the interface.
* **Integration with External NLU Providers:** Virtual Agent supports one NLU provider per instance, including ServiceNow NLU, IBM Watson Assistant, Microsoft LUIS, and Google Dialogflow ES, enabling flexibility in NLU model management.

## Key Outcomes

* Enables Virtual Agent to accurately understand user intents and extract necessary data for task fulfillment.
* Improves conversational flow by reducing unnecessary questions through slot-filling.
* Supports seamless topic switching, enhancing user experience during complex or multi-goal conversations.
* Provides fallback mechanisms ensuring users receive relevant information even when intents are not matched.
* Facilitates multilingual support and easy NLU model management within the Virtual Agent Designer interface, streamlining development and localization efforts.  
Apply Natural Language Understanding (NLU) models that enable Virtual Agent to process user statements in automated conversations. An NLU model provides information that your virtual agent uses to determine what users want to do and to extract relevant values from their input.
With NLU, Virtual Agent can offer a more natural and engaging conversational experience.

## NLU components {#va-NLU__section_afs_1h5_2rb}

ServiceNow NLU can learn the syntax, semantics, and vocabulary of your company using the data in your ServiceNow instance. Use NLU Workbench, the NLU model builder, and the NLU inference service to enable the system to learn and respond to user intent.  
The following elements work together to identify what the user wants to do so that a solution can be found:

* Model groups

  A model group supports a given application, user roles, and languages. For example, you may have a model that supports the Search feature and another model that supports . Typically,
  a model group contains multiple intents. For more information, see [Model management](https://www.servicenow.com/docs/access?context=model-management-phases&version=yokohama&pubname=yokohama-intelligent-experiences&ft:locale=en-US).
* Intents  
  Intents represent actions. They describe what the user wants to do or what your application can handle. Intents can pertain to any of the following:
  * Functions, such as resetting a password or ordering an item.
  * Domains, such as healthcare, financial, or government.
  * Customers, such as the US Army, Wells Fargo, or Boeing.
  {#va-NLU__ul_y4v_gp4_frb}

  In Virtual Agent, a single intent is mapped to one conversation topic.

  For more information, see [NLU intents](https://www.servicenow.com/docs/access?context=intents&version=yokohama&pubname=yokohama-intelligent-experiences&ft:locale=en-US).
* Utterances  
  Instead of keywords, you enter natural language examples, called utterances. Utterances help NLU to evaluate word meanings and contexts so it can infer user or system actions. Example utterances might include the following:
  * Reset my password.
  * Change password.
  * I don't remember my password.
  * Forgot my password.
  * My password needs to be reset.
  {#va-NLU__ul_uyj_pkp_frb}
* Entities  
  Entities represent the object of (or context for) the action. You can define them for individual intents. NLU can match defined entities with user input to slot-fill the values. Slot-filling can eliminate the need to ask some questions within a topic flow. There are three basic types of entities that you can define:
  * Common or system entities, such as date, time, currency, location, quantity, people, or organization.
  * Entities based on ServiceNow records, such as a case number.
  * Company- or domain-specific entities, such as meeting rooms, company policies, and so forth.
  {#va-NLU__ul_ssg_5q4_frb}

  For more information, see [NLU entities](https://www.servicenow.com/docs/access?context=entities&version=yokohama&pubname=yokohama-intelligent-experiences&ft:locale=en-US).
{#va-NLU__ul_ayf_3sn_4fc}  
Figure 1. Example intent definition in an NLU model group

## How NLU models work in Virtual Agent {#va-NLU__section_psy_bkf_bhb}

When you create or update topics in Virtual Agent Designer, you specify the
NLU model and intent that Virtual Agent uses to find the appropriate
conversation topic for fulfilling the intent.  
Virtual Agent supports models from different services. You can use the following providers:

* ServiceNow NLU models that you create using NLU Workbench.

  ServiceNow provides pre-built (read-only) NLU models and topics for various ServiceNow business applications, such as Customer Service Management, HR Service Delivery, and ITSM. You can use the intents defined in these pre-built models and reuse them when you create your own models.
* If you're using IBM Watson Assistant as your NLU service provider, NLU intents and entities are created in IBM Watson Assistant.
* If you're using Microsoft LUIS as your NLU service provider, NLU intents and entities are defined in the Microsoft Language Understanding Intelligent Service (LUIS).
* If you're using Google Dialogflow ES as your NLU service provider, NLU intents and entities are defined in the Google Cloud platform.

{#va-NLU__ul_t35_g3g_rhb}  
Note:  
Virtual Agent supports only one NLU service provider per instance.

With NLU models, your virtual agent can do the following:  
* Perform topic discovery.
* Designate backup keywords in case an intent is not matched.
* Extract entity values.
* Handle conversation switching in a conversation session.
{#va-NLU__ul_ky4_mgm_13b}

These capabilities are explained in the following sections.

## Topic discovery {#va-NLU__section_sl2_1gm_13b}

When users provide an utterance, the utterance is a statement that is associated with a
specific intent. Virtual Agent processes these utterances to launch the
appropriate conversation topic. Each topic has a single intent that you specify in Virtual Agent Designer.  
During the topic discovery process, intents are matched to topics. Virtual Agent returns the most relevant topics for a user's request. The topic discovery process returns the following results to a user:

* Single match: When a user utterance directly matches an intent (topic), the topic runs automatically.  
  Figure 2. A user request matches an utterance in an intent
* Multiple matches: When a user utterance matches more than one intent, Virtual Agent returns a choice list of the relevant matches so that the user can choose the appropriate topic.  
  Figure 3. A user request matches utterances in multiple intents  
  Note:  
  If there are multiple matches, Virtual Agent returns three intents by default. You can change the number of topics returned by using the com.glide.cs.max_number_display_topics system property.
* No matches: When Virtual Agent can't find a matching intent, it uses AI Search to generate search results that display relevant links to Q\&A knowledge articles, Service Catalog items, or person (user) records.

  This feature is controlled by the AI Search Fallback setup topic and the Virtual Agent search configurations, which are enabled by default in [chat experiences](https://www.servicenow.com/docs/PZtZdH0sCnoPnRgUx6lX2A "Create different chat experiences for your end users based on the context in which they initiate a conversation with Virtual Agent."). To learn more about the AI Search results generated, see [Virtual Agent integration with AI Search](https://www.servicenow.com/docs/x~YNIooc6hVuWyEARqixDA "Virtual Agent uses the ServiceNow AI Platform AI Search application to return search results in bot conversations as a fallback when there are no relevant topics to display to end users. Virtual Agent also provides a Run AI Search topic block that topic authors can use to generate search results in a topic.").

  If you disable the AI Search Fallback setup topic, Virtual Agent automatically displays a fallback error message that enables the user to select a topic or enter a different request.  
  Figure 4. Example fallback message

  For details about how the AI Search Fallback setup topic and the fallback response (the fallback setup topic) work, see [Setting up chat experiences for Virtual Agent users](https://www.servicenow.com/docs/PZtZdH0sCnoPnRgUx6lX2A "Create different chat experiences for your end users based on the context in which they initiate a conversation with Virtual Agent.").
{#va-NLU__ul_gqv_dhr_b3b}

For detailed information about NLU topic discovery, see [Natural Language Understanding topic discovery logic in Virtual Agent](https://www.servicenow.com/docs/7Wn_r3LbyFwwJYr5VmGNlg "Understand how Virtual Agent returns intents and how it selects which intents to show to the user.").

## Topic discovery with backup keywords {#va-NLU__section_prp_vkt_hnb}

When you create or update topics, you can also optionally specify keywords that Virtual Agent uses to determine the topic if NLU doesn't return a matching intent and topic. Virtual Agent uses keywords in the following situations:

* No topics (intents) are discovered.
* The appropriate topic (intent) can't be determined because too many topics (intents) are discovered.
* The language of the topic and intent is not currently supported in NLU.

{#va-NLU__ul_c5s_rry_dnb}  
Note:  
If Virtual Agent can't determine the topic based on NLU or the keyword, it falls back on the AI Search capability to deliver relevant results. The AI Search capability must be enabled.

## Entity extraction {#va-NLU__section_wtl_lgp_13b}

With NLU models, Virtual Agent can determine when user statements in a
conversation contain important information to fulfill a task or goal. Entities identify the
information that Virtual Agent can extract from the conversation, such as an
object or a person's name. To extract the appropriate values, Virtual Agent
uses the entity information that is associated with an intent that is defined in the NLU
model.  
When designing your topic, you can use entities as follows:

* [Associate an entity with a user input
  node](https://www.servicenow.com/docs/eQGVrD~7FoujIzQs94XCiQ "Use the collection of input controls provided by Virtual Agent Designer to prompt and capture information from the user in a conversation.") on the Flow tab. You can specify whether Virtual Agent asks the user to confirm the slot-filled entity value or to skip the node.
* [Add nodeless NLU entities
  as input variables to a topic](https://www.servicenow.com/docs/Ek2R5WBZMD~rnR9VC5gTXA "You can add nodeless NLU entities as input variables to a topic if NLU is enabled for Virtual Agent. These variables can be slot-filled from NLU service provider predictions or provided outside of the scope of the topic."). These variables can be slot-filled from NLU service provider predictions or provided outside of the scope of the topic.
{#va-NLU__ul_ymq_mzc_grb}

## Conversation switching {#va-NLU__section_f3n_nhp_13b}

Users engaged in a Virtual Agent conversation can switch topics anytime
during the conversation. For example, a user might be updating an item in the user's
employee profile. But before completing the update, that user might ask to order an item
instead. Virtual Agent can find and run the appropriate topic based on the
user's request. You can enable users who switched topics to resume the original
conversation.

Another example is when a user might ask a casual question or engage in small talk. The
question might be unrelated to the original request. By reviewing the intents defined in the
NLU model, Virtual Agent can match and launch the appropriate conversation
for the switched topic.

## ServiceNow
NLU multi-language support and integration with Virtual Agent Designer {#va-NLU__section_vph_qwk_wlb}

If you're using ServiceNow
NLU, you can map an NLU model group and an associated intent to a
topic. You can also update, train, and test the associated NLU model from within Virtual Agent Designer. As you work on a topic, you can also improve or modify
the utterances and the associated entities for an intent without leaving the interface.

ServiceNow
NLU model groups contain a primary language and secondary
languages. Use the primary language to author your topic, which can then be translated into
the secondary languages within the group. For more information, see [Multilingual model
management](https://www.servicenow.com/docs/access?context=multilingual-model-managent&version=yokohama&pubname=yokohama-intelligent-experiences&ft:locale=en-US).

As you work on your topics, Virtual Agent Designer provides language-mapping
views for previewing and testing topics with their associated language-specific models. For
more information, see [Localizing Virtual Agent conversations](https://www.servicenow.com/docs/jxlvhrkNiSMWC1iYlFcJpg "The ServiceNow platform provides several methods for localizing Virtual Agent conversations, depending on your needs. Use the Localization Framework to manage all aspects of the translation process, whether you are using machine translation, a third-party provider, or both.").

