SlideShare a Scribd company logo
Serverless Machine
Learning
Luis Beltrán
Luis Beltrán
• Microsoft MVP in AI and Developer
Technologies
• Researcher at Tomas Bata University in
Zlín, Czech Republic
• Lecturer at Tecnológico Nacional de
México en Celaya
@darkicebea
m
luis@luisbeltran.mx
luisbeltran.mx
Agenda
• Intro
• Machine Learning
• Cognitive Services (LUIS, Computer Vision)
• Twilio (WhatsApp API)
• Serverless (Azure Functions)
• Integration (Demo)
Intro
.NET
Your platform for building anything
Desktop Web Cloud Mobile Gaming IoT AI/ML
COMPILERS LANGUAGES
RUNTIME COMPONENTS
LIBRARIES
INFRASTRUCTURE
.NET
TOOLS
VISUAL STUDIO CODE
CLI
VISUAL STUDIO
VISUAL STUDIO FOR MAC
WEB CLOUD MOBILE GAMING IoT AI/ML
DESKTOP
Machine Learning
Historic data
New data
Machine Learning
Algorithm
ML model
Data
Prediction
Training
Prediction
Machine Learning
Machine learning is a branch of AI that focuses on building
apps that learn from data and improve their accuracy over the
time without being explicitly programmed to do so.
Learning Tasks
Regression
Class A
Class B
Classification Clustering
Chatbots
How does a chatbot work?
Chatbot: What is a Chatbot? Why are Chatbots Important?
https://expertsystem.com/chatbot/
Computer Vision
Object detection Brand identification
Face detection
OCR – Optical Character Recognition
Image Analysis
Cognitive Services
LUIS + Computer Vision
Azure Cognitive Services
Computer Vision
Face API
Custom Vision
Text-to-Speech
Speech-to-Text
Speech Translator
Speaker Recognition
Language Understanding
Text Translator
Text Analytics
QnA Maker
Anomaly Detector
Content Moderator
Personalizer
microsoft.com/cognitive
Vision Speech Language Decision
Computer Vision API
LUIS: Language Understanding
Intelligent Service
• NLP-as-a-service.
• A cloud-based service for
understanding text.
• Simple to use and
integrate into your
software developments.
• No prior AI experience is
required.
https://www.luis.ai/
Real NET Docs Show - Serverless Machine Learning v3.pptx
Demo
Cognitive Services
LUIS
LUIS
LUIS
LUIS
Real NET Docs Show - Serverless Machine Learning v3.pptx
Real NET Docs Show - Serverless Machine Learning v3.pptx
Computer Vision
Twilio
WhatsApp Business API
• Boost communication with your
customers around the world so that
you can contact them through
WhatsApp in a simple, safe and
reliable way.
• It requires contracting with a global
business solutions provider, available
on Facebook's partner directory.
https://www.whatsapp.com/business/api
https://www.facebook.com/business/partner-directory/search?platforms=whatsapp&solution_type=messaging
Twilio
• Communication Platform-as-a-Service
• Access to WhatsApp Business API.
• Simple to use and implement.
• Test and design your app in a sandbox
environment.
• Available on several platforms and
programming languages
https://www.twilio.com/whatsapp
https://www.twilio.com/docs/whatsapp/api
Demo
Twilio
Real NET Docs Show - Serverless Machine Learning v3.pptx
Real NET Docs Show - Serverless Machine Learning v3.pptx
Real NET Docs Show - Serverless Machine Learning v3.pptx
Serverless
Azure Functions
Real NET Docs Show - Serverless Machine Learning v3.pptx
What is Serverless?
Serverless application platform
components
Azure Functions
Your code runs when a
(previously-specified)
event occurs
Blob Storage
Cosmos DB
Event Hub
HTTP
Queues
Service Bus
Timer
Webhook
Photo taken and sent r
Upload it to
blob storage
PP
r
Produce scalated images
File
Table
Excel
OneDrive
Email
Mobile app
Notification
Más…
Use Bindings in Your Code
public static void Run(byte[] image, string filename,
Stream outputBlob, TraceWriter log)
{
log.Info($"Processing image: {filename}");
var imageBuilder = ImageResizer.ImageBuilder.Current;
imageBuilder.Build(
image, outputBlob,
new ResizeSettings(640, 400, FitMode.Max, null), false);
}
{
"bindings": [
{
"name": "image",
"type": "blobTrigger",
"direction": "in",
"path": "card-input/{filename}.jpg",
"connection": "AzureWebJobsStorage"
},
{
"type": "blob",
"name": "outputBlob",
"path": "card-output/{filename}.jpg",
"connection": "AzureWebJobsStorage",
"direction": "out"
}
]
}
Demo
Azure Functions
Real NET Docs Show - Serverless Machine Learning v3.pptx
Real NET Docs Show - Serverless Machine Learning v3.pptx
Real NET Docs Show - Serverless Machine Learning v3.pptx
Real NET Docs Show - Serverless Machine Learning v3.pptx
Final Demo
Integration of Technologies
Real NET Docs Show - Serverless Machine Learning v3.pptx
1
2
3
4a
6
4b
5a
5b
7
Call to Action
Developing a serverless WhatsApp chatbot
https://dev.to/icebeam7/developing-a-serverless-whatsapp-chatbot-4o72
Enviando mensajes de WhatsApp con Xamarin y Twilio
https://www.luisbeltran.mx/2018/10/15/enviando-mensajes-de-whatsapp-con-
xamarin-y-twilio/
How to Use Image Recognition on Twilio WhatsApp API
https://www.twilio.com/blog/image-recognition-clarifai-twilio-whatsapp-api
Sending and Receiving Media with WhatsApp Messaging on Twilio
https://support.twilio.com/hc/en-us/articles/360017961894-Sending-and-
Receiving-Media-with-WhatsApp-Messaging-on-Twilio
Towards a responsible AI
• Transparency
• Clarity
• Transfer to a human
• Cultural norms
• Trustworthy
• Privacy
• Data security
• Accessibility
• Responsibility
Q & A
Thanks for joining!
Luis Beltrán
about.me/luis-beltran

More Related Content

PPTX
GitHub Copilot.pptx
PPTX
PDCConf2021 - Serverless WhatsApp Chatbot with Azure AI.pptx
PPTX
NET Conf Bhubaneswar - Migrating your Xamarin.Forms app to .NET MAUI.pptx
PPTX
SharePoint Mobile App Development with Xmarin
PPTX
Microsoft chatbots - Conversations as a Platform
PDF
Docker containers en cross platform development
PPTX
Visual Studio Code
PPTX
GDG DevFest Istanbul - Mobile DevOps - Build, Test and Deploy Your Android Ap...
GitHub Copilot.pptx
PDCConf2021 - Serverless WhatsApp Chatbot with Azure AI.pptx
NET Conf Bhubaneswar - Migrating your Xamarin.Forms app to .NET MAUI.pptx
SharePoint Mobile App Development with Xmarin
Microsoft chatbots - Conversations as a Platform
Docker containers en cross platform development
Visual Studio Code
GDG DevFest Istanbul - Mobile DevOps - Build, Test and Deploy Your Android Ap...

What's hot (20)

PPTX
DevOpsConf2021_CICD for Xamarin developers with GitHub Actions and AppCenter....
PDF
Bringing AI to the edge: On-premise Azure Cognitive Services
PPTX
Image Recognition in WhatsApp chatbots.pptx
PDF
Microsoft Speech Technologies for Developers
PPTX
ArcReady - Architecting For The Client Tier
PPTX
Whats New in Visual Studio 2019
PPT
ArcReady - Scalable And Usable Web Applications
PPTX
GAIBT NewYork - Serverless Machine Learning.pptx
PPTX
Innovation on the web with Silverlight
PPTX
Distributed systems witth Service Bus and Workflow Manager
PPTX
Dockerize your ML Models Data Science Summit.pptx
PPT
ArcReady - Architecting Modern Distributed Applications
PDF
2018-10-17 J1 7A - Microsoft Flow advanced - Serge Luca
PDF
Clever data: building a chatbot from your database
PPT
The Age Of User Experience
PPTX
Cross platform app development with xamarin.forms
PPTX
virtual-2021-data.sql_.saturday.la-Building database interactions with users ...
PDF
State of Union: Xamarin & Cross-Platform .NET in 2016 and Beyond
PPT
Blank Slate Css Meetup
PPTX
From MVC to Xamarin
DevOpsConf2021_CICD for Xamarin developers with GitHub Actions and AppCenter....
Bringing AI to the edge: On-premise Azure Cognitive Services
Image Recognition in WhatsApp chatbots.pptx
Microsoft Speech Technologies for Developers
ArcReady - Architecting For The Client Tier
Whats New in Visual Studio 2019
ArcReady - Scalable And Usable Web Applications
GAIBT NewYork - Serverless Machine Learning.pptx
Innovation on the web with Silverlight
Distributed systems witth Service Bus and Workflow Manager
Dockerize your ML Models Data Science Summit.pptx
ArcReady - Architecting Modern Distributed Applications
2018-10-17 J1 7A - Microsoft Flow advanced - Serge Luca
Clever data: building a chatbot from your database
The Age Of User Experience
Cross platform app development with xamarin.forms
virtual-2021-data.sql_.saturday.la-Building database interactions with users ...
State of Union: Xamarin & Cross-Platform .NET in 2016 and Beyond
Blank Slate Css Meetup
From MVC to Xamarin
Ad

Similar to Real NET Docs Show - Serverless Machine Learning v3.pptx (20)

PPTX
Global Azure2021 Verona.pptx
PPTX
Azure Community Conference - Image Recognition in WhatsApp chatbot with Azure...
PDF
Chatbot development workshop with the Microsoft Bot Framework
PDF
Developing .NET apps for Microsoft Teams
PPTX
Build efficient and scalable applications using azure functions
PPTX
Enterprise Content Sharing Bots & AI
PDF
Future Technology Trends in Progress
PDF
AI: Together We Make World Smarter With LUIS
PDF
PDF
IIBA® Brisbane - The Rise of ChatGPT, Chatbots and AI
PDF
Want to integrate your business phone system or contact center with your CRM?
PPTX
AI Microservices APIs and Business Automation as a Service Denis Gagne
PDF
UiPath Community Day Amsterdam presentations
PPTX
Clever data building a chatbot from your database
PDF
Smart Web Apps with Azure and AI as a Service
PPTX
Bdug introduction to azure machine learning
PDF
Leveraging Applied AI to Accelerate Digital Transformation and Maximize Busin...
PPT
Why You Shouldn't Worry About Artificial Intelligence...Until You Have To
 
PPTX
How Can Generative AI Applications Boost Business Efficiency_.pptx
PDF
UiPath Community Day Amsterdam: Code, Collaborate, Connect
Global Azure2021 Verona.pptx
Azure Community Conference - Image Recognition in WhatsApp chatbot with Azure...
Chatbot development workshop with the Microsoft Bot Framework
Developing .NET apps for Microsoft Teams
Build efficient and scalable applications using azure functions
Enterprise Content Sharing Bots & AI
Future Technology Trends in Progress
AI: Together We Make World Smarter With LUIS
IIBA® Brisbane - The Rise of ChatGPT, Chatbots and AI
Want to integrate your business phone system or contact center with your CRM?
AI Microservices APIs and Business Automation as a Service Denis Gagne
UiPath Community Day Amsterdam presentations
Clever data building a chatbot from your database
Smart Web Apps with Azure and AI as a Service
Bdug introduction to azure machine learning
Leveraging Applied AI to Accelerate Digital Transformation and Maximize Busin...
Why You Shouldn't Worry About Artificial Intelligence...Until You Have To
 
How Can Generative AI Applications Boost Business Efficiency_.pptx
UiPath Community Day Amsterdam: Code, Collaborate, Connect
Ad

More from Luis Beltran (20)

PPTX
AI for Accessibility.pptx
PPTX
03 GlobalAIBootcamp2020Lisboa-Rock, Paper, Scissors.pptx
PPTX
BI LATAM Summit 2022 - Creación de soluciones de automatización serverless-...
PDF
CEIAAIT - Fundamentos y Aplicaciones de Deep Learning.pdf
PPTX
Computo en la Nube con Azure - AI Gaming Panama.pptx
PPTX
5StarsConf - Serverless Machine Learning con Azure Functions y ML.NET .pptx
PPTX
ACW - Azure Speaker Recognition Biometria de Voz.pptx
PPTX
UNICABA - Azure Machine Learning.pptx
PPTX
Azure Talks Bolivia - Aumente la confiabilidad de su negocio con Azure Anomal...
PPTX
Latino NET - Integrando WhatsApp en nuestras apps .NET con Twilio.pptx
PPTX
NOVA - Enriquecimiento de IA con Azure Cognitive Search.pptx
PPTX
Netcoreconf 2021 Realidad mixta en apps móviles con Azure Spatial Anchors y ...
PPTX
ATG Puebla - El cementerio de Microsoft.pptx
PPTX
Data-Saturday-10-Sofia-2021 Azure Video Indexer- Advanced data extraction fro...
PPTX
Sesion 5 - Eficiencia del Rendimiento - Well Architected Backstage Tour.pptx
PPTX
XamarinExpertDay - Creating PDF files in mobile apps with PdfSharpCore and Mi...
PPTX
Latam Space Week - Clasificación de rocas espaciales por medio de IA.pptx
PPTX
GAIBT Pune - Future of AI.pptx
PPTX
Evento Bolivia - Fundamentos de Xamarin - Desarrollo de apps moviles multipla...
PPTX
GAIBT Cleveland - Personalizer.pptx
AI for Accessibility.pptx
03 GlobalAIBootcamp2020Lisboa-Rock, Paper, Scissors.pptx
BI LATAM Summit 2022 - Creación de soluciones de automatización serverless-...
CEIAAIT - Fundamentos y Aplicaciones de Deep Learning.pdf
Computo en la Nube con Azure - AI Gaming Panama.pptx
5StarsConf - Serverless Machine Learning con Azure Functions y ML.NET .pptx
ACW - Azure Speaker Recognition Biometria de Voz.pptx
UNICABA - Azure Machine Learning.pptx
Azure Talks Bolivia - Aumente la confiabilidad de su negocio con Azure Anomal...
Latino NET - Integrando WhatsApp en nuestras apps .NET con Twilio.pptx
NOVA - Enriquecimiento de IA con Azure Cognitive Search.pptx
Netcoreconf 2021 Realidad mixta en apps móviles con Azure Spatial Anchors y ...
ATG Puebla - El cementerio de Microsoft.pptx
Data-Saturday-10-Sofia-2021 Azure Video Indexer- Advanced data extraction fro...
Sesion 5 - Eficiencia del Rendimiento - Well Architected Backstage Tour.pptx
XamarinExpertDay - Creating PDF files in mobile apps with PdfSharpCore and Mi...
Latam Space Week - Clasificación de rocas espaciales por medio de IA.pptx
GAIBT Pune - Future of AI.pptx
Evento Bolivia - Fundamentos de Xamarin - Desarrollo de apps moviles multipla...
GAIBT Cleveland - Personalizer.pptx

Recently uploaded (20)

PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
cuic standard and advanced reporting.pdf
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Machine learning based COVID-19 study performance prediction
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Electronic commerce courselecture one. Pdf
PDF
Empathic Computing: Creating Shared Understanding
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Modernizing your data center with Dell and AMD
20250228 LYD VKU AI Blended-Learning.pptx
CIFDAQ's Market Insight: SEC Turns Pro Crypto
“AI and Expert System Decision Support & Business Intelligence Systems”
The Rise and Fall of 3GPP – Time for a Sabbatical?
cuic standard and advanced reporting.pdf
NewMind AI Weekly Chronicles - August'25 Week I
Machine learning based COVID-19 study performance prediction
Per capita expenditure prediction using model stacking based on satellite ima...
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Electronic commerce courselecture one. Pdf
Empathic Computing: Creating Shared Understanding
MYSQL Presentation for SQL database connectivity
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Modernizing your data center with Dell and AMD

Real NET Docs Show - Serverless Machine Learning v3.pptx

Editor's Notes

  • #9: ML: Uses mathematical algorithms that can teach itself to evolve while data changes. Supervised  Labeled data. Non-supervised  Pattern discovery using non-labeled datasets.
  • #11: An AI-based software de IA that establishes a conversation with a human using natural language. It is considered as one of the most advanced human-machine interactions. Advantages: Chatbots can combine millions of data from different sources. Chatbots can be available 24/7/365. Chatbots can be integrated into (almost) any platform. Chatbots can improve the user experience and keep human effort to a minimum.
  • #13: Computer vision is one of the core areas in Artificial Intelligence. It focuses on creating solutions that allow apps to "see" the world and make sense of it through AI capabilities.
  • #15: Azure Cognitive Services is a suite of services and APIs backed by machine learning that enables developers to incorporate intelligent features such as facial recognition in photos and videos, sentiment analysis in text, and language understanding into their applications.
  • #30: Twilio is a cloud Communications Platform as a Service (CPaaS) that allows you to build applications through APIs and SDKs available for several languages and platforms (PHP, Ruby, C # /. NET). Some features that developers can integrate into their apps with Twilio include: Text messages Voice messages Video calls WhatsApp messages
  • #36: On-premises What media should I use to keep backup? What is the right size of servers for my business needs? How do I deploy new code to my server? Whay happens in case of server hardware failure? Who monitors my app? What about server security? Which OS do I need? Fortunately virtualization came to the rescue. One great thing about the cloud evolution is that each phase leads to less waste. Infrastructure as a Service leverages hardware in a way that you can stop worrying about the hardware and focus on the operating system and your virtual machines. You can get better utilization of your resources and it’s faster and easier to provision new instances. IaaS addresses many of the questions we dealt with on-premises, and more importantly paves the way to the cloud. Platform-as-a-Service is the next evolution: host a runtime, so we stop worrying about hardware and operating system and even dependencies and just focus on our project. We’re no longer in the business of constantly patching an OS or even making sure dependencies are installed to run a web server or host a process. PaaS simplifies the process even more and provides a mature platform for code that must run at scale because you can still size (scale up) and specify instances (scale out) to manage your workloads. Serverless takes us to the ultimate cloud native experience: we simply focus on code. It doesn’t mean there is no server, because we still need to run on infrastructure, but the infrastructure is further abstracted so there is less server in our scope of responsibility and more code. We focus on what is unique for our business and spend more time on innovation, less time on answering the myriad questions that exist with the previous phases. Serverless is cloud native. But what does that really mean?
  • #39: Write your code in C#, nodeJS, Python, F#, PHP, PowerShell, Bash or Batch You can extend your functionality by using NuGet or Node PM You can even include DLLs to be called from your code or EXEs and execute them
  • #40: Other scenarios Devices feed data such as temperature, into Stream Analytics, then AF or Logic Apps cleans, processes and transforms this raw data into structured data that is stored into a database. Create a Timer Trigger function in order to schedule a function that runs at a specified frequency, for example every 15 minutes or exactly at 9 am in Europe every Monday to connect to a database and clean it, for instance to remove non-valid data