Composite Entities
Composite Entity
Last updated
Composite Entity
Last updated
For information appearing in sentences, belonging to different types of entities, the trainer uses the Composite Entity training feature according to the following instructions:
- Step 1: Select the Entity Type tab (1) then click Create New (2) to add a new entity
- Step 2: At the display interface, select Composite (3) in the Entity Type section.
- Step 3: Name the composite entity type (4) and click Add_Pattern (5) to add a cluster of entities that need to be identified. The structure consists of many patterns
The system will check all pattern values in order of priority from top to bottom.
For example | |
Consider the sample sentence: "I want to order 5 cups of milk tea size M" The system will check with pattern options in order of priority from top to bottom of the list. Accordingly, the system will extract information in the following order: #sys.number #drink #drink_size In this example:
|
After creating the Composite Entity entity type, perform training on the sample sentence as follows:
Step 1: At the Sample Sentences Tab, select Create new sample sentence.
Step 2: At the displayed interface, select Intent (1) if you want to create a sample sentence, enter the sample sentence in the content box (2) . Highlight the information cluster that needs to be trained for the composite entity type (3).
Step 3: Click Save (4) to complete adding sample sentences.
After each step of adding new data, click the Training icon at the quick access toolbar to train new knowledge for VA.