Introduction - This article will help you to understand the advanced features of action binding in Microsoft Cognitive Services and work on it.
Pre - requisites
- An updated Google Chrome or Internet Explorer Web Browser.
- Microsoft Account (Outlook/Hotmail).
Note - Go through the below link to get some knowledge about Microsoft Bot Framework,
- Kickstart To Microsoft Bot And Build Your First Bot Application On Local Host
- Run Your Bot Application In Bot Framework Channel Emulator
- Publishing Your Bot Application to Azure
- Registering Your Bot Application And Testing Your Connection At Bot FrameWork
- Using Microsoft Cognitive Services With LUIS API
- Using Composite Entities in LUIS API for Microsoft Cognitive Services.
Follow the below steps now,
Step 1 - Log into LUIS API web page from your web browser – www.luis.ai and click on Edit for the Application that we have developed already.

You will be getting the below screen now.

Step 2 - Let's work with Action Binding, this is an important feature of LUIS. LUIS supports only one action per intent and this action can include a group of parameters derived from entities.
Defining an action - Click on “BookFlight” intent at the left pane under Intents.

Select “+Add Action”

Click on “Add Parameter”

Now, fill the below details for the parameter. You should add three parameters here as “FromLocation”, “ToLocation” and “Date”.
Check in the Required button – Name as FromLocation – Type as Location::FromLocation and click on Save.

Repeat the same for other two parameters of ToLocation and Date followed by a click on Save button. You can use the trash button to delete a parameter.

Now, at the previous screen, you can find multiple action parameters have been added for the intent named “BookFlight”.
Follow my next article to use Microsoft Azure Subscription for Microsoft Cognitive Services.

Sai RajuPosted Apr 2, 2017, 11:32 AM
Can you help with the new LUIS application. I dont see action parameters and dialog support anywhere. can you help me with that
Manav PandyaPosted Sep 26, 2016, 1:15 PM
Well explained sir ...