Entity

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 types and examples

EntityCategoryDescriptionExample
ensystem_zip_caZipensystem_zipPostal code of CanadaM1N 1A1
ensystem_math_Numberensystem_Mathematical ExpressionNumber could either be a mathematical number or numeric string68
ensystem_dates_datetimeensystem_datesSingle date with time1/1/2020 12:12:00 PM
ensystem_dates_yearnumensystem_datesYear with number2020
ensystem_dates_datesensystem_datesSingle date1/1/2020
ensystem_otherLocationensystem_LocationsLocations outside of ChinaNew York
ensystem_cnLocationensystem_LocationsChineses locationsBeijing
ensystem_times_timeRangeensystem_timeTime range5 hours
ensystem_times_timeensystem_timeTime23:30
ensystem_DeviceAttribute_BcEnglishnameundefined