Leveraging Prebuilt AI Models in SQL Server 2019 · Support for 6 key AI capabilities: Key Phrase...

35
Leveraging Prebuilt AI Models in SQL Server 2019 Anna Thomas, Data & Applied Scientist SQL Server Engineering, Microsoft

Transcript of Leveraging Prebuilt AI Models in SQL Server 2019 · Support for 6 key AI capabilities: Key Phrase...

Page 1: Leveraging Prebuilt AI Models in SQL Server 2019 · Support for 6 key AI capabilities: Key Phrase Extraction Language Detection Sentiment Analysis Face & Emotion Detection OCR / Text

Leveraging Prebuilt

AI Models in SQL

Server 2019

Anna Thomas, Data & Applied Scientist

SQL Server Engineering, Microsoft

Page 2: Leveraging Prebuilt AI Models in SQL Server 2019 · Support for 6 key AI capabilities: Key Phrase Extraction Language Detection Sentiment Analysis Face & Emotion Detection OCR / Text

Introduction

Page 3: Leveraging Prebuilt AI Models in SQL Server 2019 · Support for 6 key AI capabilities: Key Phrase Extraction Language Detection Sentiment Analysis Face & Emotion Detection OCR / Text
Page 4: Leveraging Prebuilt AI Models in SQL Server 2019 · Support for 6 key AI capabilities: Key Phrase Extraction Language Detection Sentiment Analysis Face & Emotion Detection OCR / Text
Page 5: Leveraging Prebuilt AI Models in SQL Server 2019 · Support for 6 key AI capabilities: Key Phrase Extraction Language Detection Sentiment Analysis Face & Emotion Detection OCR / Text

SQL Server ML Services

+ Extensibility

Page 6: Leveraging Prebuilt AI Models in SQL Server 2019 · Support for 6 key AI capabilities: Key Phrase Extraction Language Detection Sentiment Analysis Face & Emotion Detection OCR / Text

2015

Microsoft acquires Revolution Analytics

R Server →ML Server

2016

SQL Server ML Services for R

2017

SQL Server ML Services for Python

2019

SQL Server Java Extensibility

Page 7: Leveraging Prebuilt AI Models in SQL Server 2019 · Support for 6 key AI capabilities: Key Phrase Extraction Language Detection Sentiment Analysis Face & Emotion Detection OCR / Text

SQL

Server

R

Page 8: Leveraging Prebuilt AI Models in SQL Server 2019 · Support for 6 key AI capabilities: Key Phrase Extraction Language Detection Sentiment Analysis Face & Emotion Detection OCR / Text

SQL

Server

2019

Page 9: Leveraging Prebuilt AI Models in SQL Server 2019 · Support for 6 key AI capabilities: Key Phrase Extraction Language Detection Sentiment Analysis Face & Emotion Detection OCR / Text
Page 10: Leveraging Prebuilt AI Models in SQL Server 2019 · Support for 6 key AI capabilities: Key Phrase Extraction Language Detection Sentiment Analysis Face & Emotion Detection OCR / Text

• Open source, cross-platform

• Graphical management tool

• Code editor

• Notebook interface

Page 11: Leveraging Prebuilt AI Models in SQL Server 2019 · Support for 6 key AI capabilities: Key Phrase Extraction Language Detection Sentiment Analysis Face & Emotion Detection OCR / Text

Azure Data Studio + Java

Demo

Page 12: Leveraging Prebuilt AI Models in SQL Server 2019 · Support for 6 key AI capabilities: Key Phrase Extraction Language Detection Sentiment Analysis Face & Emotion Detection OCR / Text

Prebuilt AI

Page 13: Leveraging Prebuilt AI Models in SQL Server 2019 · Support for 6 key AI capabilities: Key Phrase Extraction Language Detection Sentiment Analysis Face & Emotion Detection OCR / Text

https://www.analyticsindiamag.com/wp-content/uploads/2017/06/1o40ej.jpg

Page 14: Leveraging Prebuilt AI Models in SQL Server 2019 · Support for 6 key AI capabilities: Key Phrase Extraction Language Detection Sentiment Analysis Face & Emotion Detection OCR / Text
Page 15: Leveraging Prebuilt AI Models in SQL Server 2019 · Support for 6 key AI capabilities: Key Phrase Extraction Language Detection Sentiment Analysis Face & Emotion Detection OCR / Text

Cognitive Services

https://media.tenor.com/images/2322d33b51af745c13e7e397bc9b14c0/tenor.gif

Page 16: Leveraging Prebuilt AI Models in SQL Server 2019 · Support for 6 key AI capabilities: Key Phrase Extraction Language Detection Sentiment Analysis Face & Emotion Detection OCR / Text
Page 17: Leveraging Prebuilt AI Models in SQL Server 2019 · Support for 6 key AI capabilities: Key Phrase Extraction Language Detection Sentiment Analysis Face & Emotion Detection OCR / Text

Cognitive Services capabilities

Infuse your apps, websites, and bots with human-like intelligence

Page 18: Leveraging Prebuilt AI Models in SQL Server 2019 · Support for 6 key AI capabilities: Key Phrase Extraction Language Detection Sentiment Analysis Face & Emotion Detection OCR / Text

Intelligent Kiosk

Demo

Page 19: Leveraging Prebuilt AI Models in SQL Server 2019 · Support for 6 key AI capabilities: Key Phrase Extraction Language Detection Sentiment Analysis Face & Emotion Detection OCR / Text

SQL Server +

Cognitive Services

https://www.bing.com/images/search?view=detailV2&ccid=Rj03o6HB&id=6F0628643401715660CA923AFBF66CBB87E710B3&thid=OIP.Rj03o6HBVF3L7ioCd7VhTQHaD0&mediaur

l=https%3a%2f%2fmedia.giphy.com%2fmedia%2fwe3xXKFa8Afi8%2fgiphy.gif&exph=258&expw=500&q=get+to+the+point+meme+gatsby&simid=607996891923942532&selec

tedIndex=38&ajaxhist=0

Page 20: Leveraging Prebuilt AI Models in SQL Server 2019 · Support for 6 key AI capabilities: Key Phrase Extraction Language Detection Sentiment Analysis Face & Emotion Detection OCR / Text

https://i.imgflip.com/6996y.jpg

Page 21: Leveraging Prebuilt AI Models in SQL Server 2019 · Support for 6 key AI capabilities: Key Phrase Extraction Language Detection Sentiment Analysis Face & Emotion Detection OCR / Text

Face detectionDetect faces and their attributes within an image

Face verificationCheck if two faces belong to the same person

Similar face searchingFind similar faces within a set of images

Face groupingOrganize many faces into groups

Face identificationSearch which person a face belongs to

Face Recognition

Page 22: Leveraging Prebuilt AI Models in SQL Server 2019 · Support for 6 key AI capabilities: Key Phrase Extraction Language Detection Sentiment Analysis Face & Emotion Detection OCR / Text

Analyze an imageUnderstand content within an image

OCRDetect and recognize words within an image

Recognize celebritiesThanks to domain-specific models, ability to recognize 200K celebrities from business, politics, sports, and entertainment around the world

Computer Vision

Page 23: Leveraging Prebuilt AI Models in SQL Server 2019 · Support for 6 key AI capabilities: Key Phrase Extraction Language Detection Sentiment Analysis Face & Emotion Detection OCR / Text

Text Analytics

Sentiment analysisUnderstand if a record has positive or negative sentiment

Key phrase extractionExtract key phrases from a piece of text, and retrieve topics

Language detection Identify the language, 120 supported languages

Page 24: Leveraging Prebuilt AI Models in SQL Server 2019 · Support for 6 key AI capabilities: Key Phrase Extraction Language Detection Sentiment Analysis Face & Emotion Detection OCR / Text

Language

Understanding

Intelligent Service (LUIS)

Understand what your users are saying and create agents that perform custom actions

Use pre-built models or create your own

Page 25: Leveraging Prebuilt AI Models in SQL Server 2019 · Support for 6 key AI capabilities: Key Phrase Extraction Language Detection Sentiment Analysis Face & Emotion Detection OCR / Text

SQL Server + Cognitive Services

Demo

Page 26: Leveraging Prebuilt AI Models in SQL Server 2019 · Support for 6 key AI capabilities: Key Phrase Extraction Language Detection Sentiment Analysis Face & Emotion Detection OCR / Text
Page 27: Leveraging Prebuilt AI Models in SQL Server 2019 · Support for 6 key AI capabilities: Key Phrase Extraction Language Detection Sentiment Analysis Face & Emotion Detection OCR / Text
Page 28: Leveraging Prebuilt AI Models in SQL Server 2019 · Support for 6 key AI capabilities: Key Phrase Extraction Language Detection Sentiment Analysis Face & Emotion Detection OCR / Text
Page 29: Leveraging Prebuilt AI Models in SQL Server 2019 · Support for 6 key AI capabilities: Key Phrase Extraction Language Detection Sentiment Analysis Face & Emotion Detection OCR / Text
Page 30: Leveraging Prebuilt AI Models in SQL Server 2019 · Support for 6 key AI capabilities: Key Phrase Extraction Language Detection Sentiment Analysis Face & Emotion Detection OCR / Text

Azure Cognitive Services in Containers

Page 31: Leveraging Prebuilt AI Models in SQL Server 2019 · Support for 6 key AI capabilities: Key Phrase Extraction Language Detection Sentiment Analysis Face & Emotion Detection OCR / Text

No app changes & Compatible with full Cognitive Services

feature-set

Support for 6 key AI capabilities: Key Phrase Extraction

Language Detection

Sentiment Analysis

Face & Emotion Detection

OCR / Text Recognition

Language Understanding

Run & manage locally, Try for free

Connect to Billing service for report back, unified billing with

on-cloud and off-cloud transactions

Additional Capabilities coming soon (e.g. Speech)

Cognitive Services Containers

Now In Public Preview

Page 32: Leveraging Prebuilt AI Models in SQL Server 2019 · Support for 6 key AI capabilities: Key Phrase Extraction Language Detection Sentiment Analysis Face & Emotion Detection OCR / Text

SQL Server + Cognitive Services

+ Containers

Demo

Page 33: Leveraging Prebuilt AI Models in SQL Server 2019 · Support for 6 key AI capabilities: Key Phrase Extraction Language Detection Sentiment Analysis Face & Emotion Detection OCR / Text

Where to learn more

Page 34: Leveraging Prebuilt AI Models in SQL Server 2019 · Support for 6 key AI capabilities: Key Phrase Extraction Language Detection Sentiment Analysis Face & Emotion Detection OCR / Text

https://aka.ms/annalytics

https://aka.ms/sqlworkshops

• Related sessions later today – BDC, ADS

Page 35: Leveraging Prebuilt AI Models in SQL Server 2019 · Support for 6 key AI capabilities: Key Phrase Extraction Language Detection Sentiment Analysis Face & Emotion Detection OCR / Text

Questions? Product Feedback?

Ideas for AI and SQL Server?

Thank you!Twitter: @AnalyticAnna

LinkedIn: amthomas46

[email protected]