Sometimes users use similar but inexact phrases to express the same query, but the system cannot recognize them, for example
Entity
can easily solve this problemEntity
is used to define and describe the types and contents of slot words
When the users set the slot, in addition to filling in the slot name, they also need to select the entity on which the slot is based on
Click Add Entity
to add customized entity
Users can add a series of customized entities to the entity page. They can also edit and delete entities
Now go back to the Intent screen and use it. The user-defined entity will appear under the Userdef list in the slot type when the user adds a slot
Label the slots
Click on Train after modification. Then test it in the dialog window
Entity | Category | Description | Example |
---|---|---|---|
ensystem_zip_caZip | ensystem_zip | Postal code of Canada | M1N 1A1 |
ensystem_math_Number | ensystem_Mathematical Expression | Number could either be a mathematical number or numeric string | 68 |
ensystem_dates_datetime | ensystem_dates | Single date with time | 1/1/2020 12:12:00 PM |
ensystem_dates_yearnum | ensystem_dates | Year with number | 2020 |
ensystem_dates_dates | ensystem_dates | Single date | 1/1/2020 |
ensystem_otherLocation | ensystem_Locations | Locations outside of China | New York |
ensystem_cnLocation | ensystem_Locations | Chineses locations | Beijing |
ensystem_times_timeRange | ensystem_time | Time range | 5 hours |
ensystem_times_time | ensystem_time | Time | 23:30 |
ensystem_DeviceAttribute_BcEnglishname | undefined |