Create a mapped entity

  • 릴리스 버전: Australia
  • 업데이트 날짜 2026년 03월 12일
  • 소요 시간: 5분
  • Create an entity mapped to a vocabulary source, or to a list of values you manually create for the entity. Mapped entities can help provide multiple values the model can use as context when interpreting utterances.

    시작하기 전에

    • Make sure that the NLU Workbench plugin, NLU Workbench - Core plugin, NLU Common Model plugin, and Predictive Intelligence plugin are all installed and activated on your instance.
    • Create or use an existing NLU model for Virtual Agent or AI Search.
    • Create or use an existing intent.
    • Role required: nlu_editor, nlu_admin, or admin. The nlu_editor must be assigned to the model.

    이 태스크 정보

    Mapped entities take the words of the utterance and extract value based on a designated source. The model uses the source when predicting the intent.

    When you create a mapped entity, you have the following three options for the source.
    • Manual list of values: Use this option to manually enter a list of values for the entity. For example, you could create a mapped entity named priority and map it to the word urgent in an utterance, then manually build a list for it with values of High, Medium, and Low.
    • Table vocabulary source: Use this option if you have a ServiceNow table that has the values you're looking for. Mapping an entity to a table vocabulary source enables the entity to reference multiple values from the table. For example, use a @Location vocabulary source, where @Location has values for cities and countries.
    • List vocabulary source: Use this option if you don't have a ServiceNow table that has the values you're looking for. For example, use a @mouse vocabulary source, where @mouse has values for various models of hand-held computer devices.

    In this example procedure, you create a mapped entity for urgency.

    프로시저

    1. Navigate to All > NLU Workbench > Models.
      The Virtual Agent tab opens by default.
    2. Select the tab for your model's application, then the name of your model.
    3. On the model details page, select the Intents tab.
    4. In the Intents section of the model, select the name of an intent.
      For this example procedure, you select #SubmitRequest.
    5. In the Utterances tab, select a word in an utterance

      In this scenario, you select the word urgent in the utterance I have an urgent request.

    6. Select Mapped entities.
    7. Select Create New Entity.

      Create new entity button in the entity window in the utterances tab.

    8. On the form, configure the fields.
      Field Description
      Entity Name

      Name for the entity.

      Type

      Type of entity.

      Model availability

      Select this option if you want this entity to be included in all intents in your model.

      Source

      Source of the entity values.

      Provide values for this entity

      Values used to provide context for the model.

      For this example procedure, use the following configurations:
      • Entity Name: priority
      • Type: Mapped
      • Model availability: Select the check box
      • Source: Use this if you have a table or list to refer to where the actual values and values they're mapped to are stored
      • Mapped value for the entity: high, medium, low.

      Create a new entity window for a mapped entity.

    9. Click Save.

      Result: Your mapped entity saves. The entity appears on the Associated entities tab. Now the model can leverage machine learning and use the values provided to identify possible values.

      Entity window with a mapped entity with multiple values.

    다음에 수행할 작업

    You can create a mapped entity using a vocabulary source to use the values in the source as the mapped entity.