Now, we shall create an intent that takes input from the user and determines the user's name. Then, the intent extracts the value of the name and stores it in an entity, which will be passed to the webhook later for processing. Follow these steps to do so:
- Click on Create Intent button on the top right of the screen. The Intent creation form opens up.
- We must provide a name for the intent, say, luckyNum. Then, scroll down to the Training phrases section and add a training phrase: name is John.
- Grab the required entity and select the word John. A drop-down list will appear that matches the word with any predefined entity. We shall use the @sys.person entity to grab the name and store it as the ...