Skip to main content
Version: 2.2.0-alpha.1

Hierarchical Entity Support

The Mix Testing Tool provides support for how hierarchical entities are represented.

  • If the output_full_entity_hierarchy parameter in the nlu portion of config.json is set to true, hierarchical entities (those defined via an isA or hasA relationship) will be output differently. This parameter's default value is false, in which case the format will be output according to the "Simplified Entity Hierarchy" view.
  • The tool makes a distinction between custom entities and built-in entities (such as nuance_CALENDARX and nuance_NUMBER). In general, built-in entities are displayed in the full hierarchy view and suppressed in the simplified view (unless it is neccesary to show them, such as when a built-in entity is by itself at the top level or a built-in entity is directly underneath a logical operator).
  • See the table below for examples in both the full entity hierarchy view and the simplified view.
Entity RelationshipShow or Hide Predefined Entities in Simplified ViewFull Entity HierarchySimplified Entity Hierarchy
Custom Entity isA Predefined EntityHideamount:nuance_NUMBERamount
Logical Operator over Custom EntityN/AAND:toppingAND:topping
Custom Entity over Logical Operator over Custom EntityN/Apizza:AND:toppingpizza:AND:topping
Custom Entity over Logical Operator over Predefined EntityShowwhen:OR:nuance_CALENDARXwhen:OR:nuance_CALENDARX
Logical Operator over Predefined EntityShowAND:nuance_NUMBERAND:nuance_NUMBER
Logical Operator over Custom Entity isA Predefined EntityHideAND:amount:nuance_NUMBERAND:amount
Custom Entity isA Custom EntityN/Awaypoint:destinationwaypoint:destination
Predefined Entity at Top LevelShownuance_CALENDARXnuance_CALENDARX