Create a system-derived entity
Create a custom entity that's derived from a default system entity such as date, time, duration, or location.
始める前に
- 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.
このタスクについて
System entities are pre-built in your ServiceNow instance by default, and appear on the Entities section of the Model screen. These entities, such as DATE, TIME, and DATE_TIME, are enabled by default. You can disable and re-enable them if needed by clicking Enable.
System-derived entities extend your system entities, providing more context. For example, your model already understands date formats thanks to the system entity DATE. However, you can create system-derived entities, such as startdate and enddate, to extract more information from user utterances regarding dates.
For the following example scenario, you're creating a model for booking flights, cars, hotels, and events. You want your intent #FlightBooking to interpret utterances with your users flight requests. Your model contains the system entity LOCATION, but flight plans usually involve two locations.
In this example procedure, you create two system-derived entities to gather the departure and arrival locations of the flight.
手順
次のタスク
Train your model to save the entities. You can try your model to see if it recognizes and interprets variations of the entities that you created.
- Select Try model.
- Enter book a flight from Dallas to San Jose.
- Select Go.