LUIS provides prebuilt domains, which are prebuilt sets of intents and entities that work together for domains or common categories of apps. The prebuilt domains have been pre-trained and are ready for use. The intents and entities in a prebuilt domain are fully customizable once you've added them to your app - you can train them with utterances from your system so they work for your users. You can use an entire prebuilt domain as a starting point for customization, or just borrow a few intents or entities from a domain for your application.
LUIS offers 20 prebuilt domains. They include but are not limited to:
|Camera||Taking pictures and recording videos.|
|Communication||Sending messages and making phone calls.|
|Entertainment||Handling queries related to music, movies, and TV.|
|Places||Handling queries related to places like businesses, institutions, restaurants, public spaces and addresses.|
|Utilities||Handling requests that are common in many domains, like "help", "repeat", "start over".|
Browse the Prebuilt domains tab to see other prebuilt domains you can use in your app. Click on the tile for a domain to add it to your app, or click on "learn more" in its tile to learn about its intents and entities.
Within a domain, look for individual intents and entities that you want to use.
Designing LUIS apps from prebuilt domains
When using prebuilt domains in your LUIS app, you can customize an entire prebuilt domain, or just start with a few of its intents and entities.
Customizing an entire prebuilt domain
Prebuilt domains are designed to be general and contain many intents and entities, that you can choose from to customize an app to your needs. If you start from customizing an entire prebuilt domain, delete the intents and entities that your app doesn't need to use. You can also add some intents or entities to the set that the prebuilt domain already provides. For example, if you are using the Events prebuilt domain for a sports event app, you may want to add entities for sports teams or tournaments. When you start providing utterances to LUIS, include terms that are specific to your app. LUIS learns to recognize them and tailors the prebuilt domain's intents and entities to your app's needs.
The intents and entities in a prebuilt domain work best together. It's better to combine intents and entities from the same domain when possible.
- A best practice is to use related intents from the same domain. For example, if you are customizing the
MakeReservationintent in the Places domain, then select the
Cancelintent from the Places domain instead of the Cancel intent in the Events or Utilities domains.
Changing the behavior of a prebuilt domain intent
You might find that a prebuilt domain contains an intent that is similar to an intent you want to have in your LUIS app but you want it to behave differently. For example, the Places prebuilt domain provides an
MakeReservation intent for making a restaurant reservation, but you want your app to use that intent to make hotel reservations. In that case, you can modify the behavior of that intent by providing utterances to LUIS about making hotel reservations and labeling them using the
MakeReservation intent, so then LUIS can be retrained to recognize the
MakeReservation intent in a request to book a hotel.
Check out the Utilities domain for prebuilt intents that you can customize for use in any domain.
For example, you can add
Utilities.Repeat to your app and train it recognize whatever actions user might want to repeat in your application.