...
In your project, go to Create > Components > Intent Library.
Click Add (+). The Create new intent dialog box appears.
Click Next and enter the name for the intent you want to create. For example, RCScheduler.
Click Add. The Intent screen appears.
Note: Intent Name should be alphabets and underscore only. The Underscores in the beginning and the end of the intent name will be removed automatically upon saving.On the right side, specify the slots you want to use in the utterances. See Using slots in intents and Creating a custom slot.
In the left side, enter an utterance, such as make an appointment on {date} at {time} with {staff}.
Click Add Utterance for each variation you think a user may use to accomplish their task.
An utterance can contain alphabets and special characters and must start with an alphabet or slot.If you want to require confirmation, move the slider button to on, and enter what you want the voice assistant to say to confirm the action before proceeding.
Info |
---|
The following image shows the intent without the custom staff slot. See Creating a custom slot for an updated intent that uses the custom staff slot. |
...
Slots are spoken utterances of the user. See How do I create lists (slots)? Phrases are spoken by the voice assistant. See also How do I create phrases for the voice assistant?
You can select an existing slot from the Slot Library that is available from the pull-down on an Intents dialog box. You can also create custom slots and map them to natural language processors (NLPs) like Amazon and Google.
...
Info |
---|
For Google Dialog flow, the maximum number of slots/entities allowed in intent is 20. |
For example, you can create a Number Intent that will take decimal numbers.
Create an intent
Add ORBITA.NUMBER to the List name.
Give a slot name to it. The ORBITA.NUMBER will change to AMAZON.NUMBER.
Refer the slot name to the utterances using curly braces {}.
When you open the curly braces, the list of available slots will be populated in the dropdown. You can select one from the dropdown.
You can create multiple utterances using the bulk upload option.
Sample for bulk upload
Code Block point {fractionPart} point {fractionPart} {integerPart} {integerPart} over {fractionPart} {integerPart} point {fractionPart} {integerPart} point {fractionPart} {integerPart} {fractionPart} {integerPart} . {fractionPart}
Choosing the NLP
You can choose to deploy the intent to the provider of your choice by selecting the NLP in the intent Edit screen.
...