24

Александр Краковецкий "Разработка интеллектуальных ботов с помощью Microsoft Bot Framework, LUIS и Azure Cognitive Services"

Embed Size (px)

Citation preview

Page 1: Александр Краковецкий "Разработка интеллектуальных ботов с помощью Microsoft Bot Framework, LUIS и Azure Cognitive Services"
Page 2: Александр Краковецкий "Разработка интеллектуальных ботов с помощью Microsoft Bot Framework, LUIS и Azure Cognitive Services"

About• CEO DevRain Solutions• CTO Udonors• PhD in Computer Science• Microsoft Regional Director• Microsoft Most Valuable

Professional• The Best Software Architecture

(Ukrainian IT Award)

Page 3: Александр Краковецкий "Разработка интеллектуальных ботов с помощью Microsoft Bot Framework, LUIS и Azure Cognitive Services"

Apps vs. Messengers

• 3+ million apps in Apple Store and Google Play

• Most smartphone users download zero apps per month http://qz.com/253618/most-smartphone-users-download-zero-apps-per-month/

• 80% of time users spend in 3 apps

• Top is a place for “big players”

• < 2% in top – new publishers• WhatsApp 1 billion users,• Facebook Messenger – 900

million• WeChat – 700 mln• Messaging apps are now bigger

than social networks http://www.businessinsider.com/the-messaging-app-report-2015-11?IR=T

Page 4: Александр Краковецкий "Разработка интеллектуальных ботов с помощью Microsoft Bot Framework, LUIS и Azure Cognitive Services"

Bots in real lifeX2AI from Silicon Valley created a bot for helping Syrian refugees in Lebanon http://www.techinsider.io/psychotherapy-bot-in-middle-east-2016-3

A 19-year-old made a free robot lawyer that has appealed $3 million in parking tickets http://www.techinsider.io/joshua-browder-bot-for-parking-tickets-2016-2

Page 5: Александр Краковецкий "Разработка интеллектуальных ботов с помощью Microsoft Bot Framework, LUIS и Azure Cognitive Services"

AI dialogs

• Using Natural Language Processing for understanding human language

Page 6: Александр Краковецкий "Разработка интеллектуальных ботов с помощью Microsoft Bot Framework, LUIS и Azure Cognitive Services"

Why bots?

1. Existing infrastructure

2. Cheap solution3. Easy to develop4. Familiar UX/UI

Page 7: Александр Краковецкий "Разработка интеллектуальных ботов с помощью Microsoft Bot Framework, LUIS и Azure Cognitive Services"

Basic usage

Predefined set of commands, forms and flows.

Page 8: Александр Краковецкий "Разработка интеллектуальных ботов с помощью Microsoft Bot Framework, LUIS и Azure Cognitive Services"

Advanced usage

Page 9: Александр Краковецкий "Разработка интеллектуальных ботов с помощью Microsoft Bot Framework, LUIS и Azure Cognitive Services"
Page 10: Александр Краковецкий "Разработка интеллектуальных ботов с помощью Microsoft Bot Framework, LUIS и Azure Cognitive Services"

Bot Framework is a Microsoft-operated service and an SDK.

Bot Framework

Bot Framework is one of many tools Microsoft offers for building a complete bot.

www.botframework.com

Others include: LUIS, Speech APIs, Azure, more

Page 11: Александр Краковецкий "Разработка интеллектуальных ботов с помощью Microsoft Bot Framework, LUIS и Azure Cognitive Services"

Microsoft Bot Framework

Page 12: Александр Краковецкий "Разработка интеллектуальных ботов с помощью Microsoft Bot Framework, LUIS и Azure Cognitive Services"

Microsoft Bot Framework1. Download and install the

Bot Application template2. Building your Bot3. Use the Bot Framework

Emulator to test your Bot application

Page 13: Александр Краковецкий "Разработка интеллектуальных ботов с помощью Microsoft Bot Framework, LUIS и Azure Cognitive Services"

Bot registration

Page 14: Александр Краковецкий "Разработка интеллектуальных ботов с помощью Microsoft Bot Framework, LUIS и Azure Cognitive Services"

Configuring Channels

Page 15: Александр Краковецкий "Разработка интеллектуальных ботов с помощью Microsoft Bot Framework, LUIS и Azure Cognitive Services"

Intelligence

Page 16: Александр Краковецкий "Разработка интеллектуальных ботов с помощью Microsoft Bot Framework, LUIS и Azure Cognitive Services"

Natural Language ProcessingNatural language processing is a field of computer science, artificial intelligence, and computational linguistics concerned with the interactions between computers and human (natural) languages. As such, NLP is related to the area of human–computer interaction.

• Parsing• Text segmentation• Part-of-speech tagging• Text chunking• Compound term

processing• Collocation extraction• Stemming• Lemmatisation• Named-entity recognition

Page 17: Александр Краковецкий "Разработка интеллектуальных ботов с помощью Microsoft Bot Framework, LUIS и Azure Cognitive Services"

Named Entity Recognition

Page 18: Александр Краковецкий "Разработка интеллектуальных ботов с помощью Microsoft Bot Framework, LUIS и Azure Cognitive Services"

NER/NLP1. OpenCalais

https://www.opencalais.com/opencalais-demo/

2. Dbpedia Spotlight3. AlchemyAPI 4. BitextAPI

https://www.bitext.com/text-analysis-api/

5. CogitoAPI http://www.cogitoapi.com/ 6. Entitizer (Romanian, Russian, Bulgarian,

Hungarian) http://klangoo.com/search.aspx

7. Magnet by Klangoo (40+ languages, including Klingon ...) http://klangoo.com/search.aspx

8. MeaningCloud http://www.meaningcloud.com/

9. Ingen.io https://www.quora.com/topic/Ingen-io

10. Rosette (many European, Middle Eastern and Asian languages) https://developer.rosette.com/

11. Saplo https://www.quora.com/topic/Saplo-company

12. Semantria https://www.quora.com/topic/Semantria

13. Aylien.com http://aylien.com/ 14. TextRazor https://www.textrazor.com/ 15. Wolfram Alpha

https://www.wolframalpha.com/16. Microsoft Cognitive Services & Azure ML

https://www.microsoft.com/cognitive-services/en-us/apis

17. https://github.com/search?utf8=%E2%9C%93&q=Named+Entity+Recognition

18. https://cloud.google.com/Natural_Language

Page 19: Александр Краковецкий "Разработка интеллектуальных ботов с помощью Microsoft Bot Framework, LUIS и Azure Cognitive Services"

OpenCalais & Dbpedia

Page 20: Александр Краковецкий "Разработка интеллектуальных ботов с помощью Microsoft Bot Framework, LUIS и Azure Cognitive Services"

Wit.ai•Language Understanding Intelligent Service (beta)

Page 21: Александр Краковецкий "Разработка интеллектуальных ботов с помощью Microsoft Bot Framework, LUIS и Azure Cognitive Services"

LuisLanguage Understanding Intelligent Service (beta) https://www.luis.ai

•Language Understanding Intelligent Service (beta)

Page 22: Александр Краковецкий "Разработка интеллектуальных ботов с помощью Microsoft Bot Framework, LUIS и Azure Cognitive Services"

Cognitive Services•Language Understanding Intelligent Service (beta)

Page 23: Александр Краковецкий "Разработка интеллектуальных ботов с помощью Microsoft Bot Framework, LUIS и Azure Cognitive Services"

Azure Machine Learning (NER)Microsoft Azure Machine Learning Studio is a collaborative, drag-and-drop tool you can use to build, test, and deploy predictive analytics solutions on your data.

•Language Understanding Intelligent Service (beta)

Page 24: Александр Краковецкий "Разработка интеллектуальных ботов с помощью Microsoft Bot Framework, LUIS и Azure Cognitive Services"

Oleksandr KrakovetskyiCEO, DevRain Solutions

[email protected] https://www.facebook.com/alex.krakovetskiy @msugvnua

Questions?