AI: Together We Make World Smarter With LUIS
-
Upload
hiang-meng-heng-marvin -
Category
Technology
-
view
98 -
download
1
Transcript of AI: Together We Make World Smarter With LUIS
{ } LUIS
Together We Make World Smarter with LUISMarvin HengTwitter : @hmhengBlog : http://hmheng.azurewebsites.netGithub: https://github.com/hmheng
What’s LUIS?LUIS stands for
Language Understanding Intelligent ServiceIt is so smart that can take your sentences and interpret it in
terms of intentions they convey and even the entities that are included in the sentences.
Why LUIS?
FAST SELF-LEARNING
PRE-BUILT DOMAINS
MULTI-LINGUAL
Let’s Build Smarter AI with LUIS1. Logon to https://www.luis.ai and click Sign In on the top right corner.
1
Let’s Build Smarter AI with LUIS2. Sign in with your Microsoft Account. If you do not have one, learn how to create one with Azure here.
2
Let’s Build Smarter AI with LUIS5. Enter Your Favourite App Name and Language/Culture. Then click Create.
5
Let’s Build Smarter AI with LUIS7. For your ease, there are plenty of default templates which can serve your apps’ intentions. However, we learn to create one manually today.
7
Let’s Build Smarter AI with LUIS8. To begin, click Create an intent which will tell your app to serve some intentions.
8
Let’s Build Smarter AI with LUIS10. Let’s check all Calendar.Add, Calendar.CheckAvailability, Calendar.Delete, Calendar.Edit and Calendar.Find, then Save.
10
Let’s Build Smarter AI with LUIS11. Now you should see list of intents being added. 12. Click Entities so we can add some entities that possibly involved in the message.
11
12
Let’s Build Smarter AI with LUIS13. Check both Calendar.Location and Calendar.Subject. Then Save.
13
Let’s Build Smarter AI with LUIS15. Also, we should add datetime since it is possibly part of the Calendar message.
15
Let’s Build Smarter AI with LUIS16. We can map part of the message with the custom entities that we created just now, then Save it.
16b
16a
16c
Let’s Build Smarter AI with LUIS19. When done, you should now can try out with some messages. However, you may notice the result is not capturing all the entities, such as Name & DateTime.
19b
19a
Let’s Build Smarter AI with LUIS20. You may go to Entities -> Suggested utterances. The message may need your help to make it even accurate & smarter! Map Name & datetime, then Save & Re-Train.
20
Let’s Build Smarter AI with LUIS22. Let’s copy the endpoint URL and try with some query message with browser/Postman tool.
22b
22a
Let’s Build Smarter AI with LUIS23. Paste the link with your message behind:
a: EndPoint we copied from the LUIS.AI portal
b: Your possible query message.
4
4
23a23a
Let’s Build Smarter AI with LUIS24. The result should be returned and telling you about:
a: The Top Scoring Intention – eg. Calendar.Add
b: The possible involved Entities – eg. Name, Date, Location
4
4
24a24b
Let’s Build Smarter AI with LUIS25. Now you can create an App with Model class and deserializing the JSON data string to further your development!
4
4
Awesome! Start Building Your AI Now!Are you interested to know how to build Smart AI App? Let me know!
{ } LUIS
Together We Make World Smarter with LUISMarvin HengTwitter : @hmhengBlog : http://hmheng.azurewebsites.netGithub: https://github.com/hmheng