Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Learning Microsoft Cognitive Services

You're reading from  Learning Microsoft Cognitive Services

Product type Book
Published in Mar 2017
Publisher Packt
ISBN-13 9781786467843
Pages 372 pages
Edition 1st Edition
Languages
Author (1):
Leif Larsen Leif Larsen
Profile icon Leif Larsen

Table of Contents (20) Chapters

Learning Microsoft Cognitive Services
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
Getting Started with Microsoft Cognitive Services Analyzing Images to Recognize a Face Analyzing Videos Letting Applications Understand Commands Speak with Your Application Understanding Text Extending Knowledge Based on Context Querying Structured Data in a Natural Way Adding Specialized Searches Connecting the Pieces LUIS Entities and Intents Additional Information on Linguistic Analysis License Information

Executing operations based on commands


One of the key features of LUIS is the possibility to recognize intents. Doing so allows us to execute actions based on the intent.

Maintaining conversations from unclear utterances

If we ask the application what the temperature is, how will it respond without knowing which room to look for? As it is right now, it will not give any desired results back.

Click on the intent, GetRoomTemperature, in the Intent name field. As we are now in preview, we can add Action Parameters, as well as selecting the Fulfillment box in the Action Info section. Add a new Action Parameter, naming it Rooms. The entity type should be set to Rooms, and you should select Rooms as the phrase list.

In the Prompt field, enter a sentence that will be used as the response if this parameter is missing. For instance, we can add, What room do you want the temperature for?.

The intent dialog should look like the following screenshot:

Publish the updated application and head back to Visual...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}