SlideShare uma empresa Scribd logo
1 de 45
Serverless Image Recognition in
WhatsApp chatbot with Azure AI
Luis Beltrán
Microsoft MVP | Zlín, Czech Republic
https://www.linkedin.com/company/pdcconf @PDCConf https://www.facebook.com/pdcconf
Thank you to all our generous sponsors
Supported by Powered by Organized by
Sponsored by
Luis Beltrán
Serverless Image Recognition in
WhatsApp chatbot with Azure AI
@darkicebeam
/luisantoniobeltran
Powered By
September 16th & 17th
Online Event
International Conference
Speaker
Agenda
• Chatbots
• LUIS: Language Understanding Intelligent
Service
• Computer Vision
• Twilio API for WhatsApp
• Azure Functions
• Demo
What is a chatbot?
• 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.
How does a chatbot work?
Chatbot: What is a Chatbot? Why are Chatbots Important?
https://expertsystem.com/chatbot/
Advantages of chatbots
• 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.
Data
exploration /
collection
Simple and
repetitive
solutions
If it is simple and repetitive, it
can be coded. Bots can speed
up the service process
LUIS: Language Understanding Intelligent Service
• Natural Language Processing
• 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/
Demo 1 – LUIS
Computer Vision
• 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.
Object detection
Brand identification
Face detection
OCR – Optical Character Recognition
Image Analysis
• The identification of “tags”
that catalog the content of an
image.
• The generation of descriptive
subtitles that summarize the
scene shown in the image.
Computer Vision API
Demo 2 – Computer Vision
What is WhatsApp?
• A free messaging application available for
smartphones (Android / iOS), web (WhatsApp Web),
and desktop (Windows / Mac).
• Capabilities:
• Sending text messages, photos, videos, documents, voice
messages and stickers,
• Making and receiving audio and video calls.
• Allows you to manage chat groups.
• Offline messages
• Two versions are available: Messenger & Business
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
• 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
Twilio API for WhatsApp
• Access to the WhatsApp Business API.
• Simple to use and implement.
• Test and design your app in a sandbox
environment.
• Currently in Preview version
• Available on various platforms and programming
languages
https://www.twilio.com/whatsapp
https://www.twilio.com/docs/whatsapp/api
Demo 3 – Twilio Dashboard
Code Events + data
Azure Functions
Azure Functions
Serverless computing
Event-driven / Instant scale Micro-billing
Abstraction of servers
$
Focused on business logic Faster time to market
Reduced DevOps
Your code runs when a
(previously-specified)
event occurs
Blob Storage
Cosmos DB
Event Hub
HTTP
Queues
Service Bus
Timer
Webhook
File
Table
Excel
OneDrive
Email
Mobile app
Notification
Más…
Photo taken and sent r
Upload it to
blob storage
PP
r
Produce scalated images
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 4 – Azure Functions
Final Demo – Integration
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
Thank you!

Mais conteúdo relacionado

Mais procurados

Mobile SDK + Cordova
Mobile SDK + CordovaMobile SDK + Cordova
Mobile SDK + Cordova
Joshua Birk
 
Cross platform mobile application architecture for enterprise
Cross platform mobile application architecture for enterpriseCross platform mobile application architecture for enterprise
Cross platform mobile application architecture for enterprise
Venkat Alagarsamy
 
TechDays 2010 Portugal - Introduction to Silverlight 4.0 16x9
TechDays 2010 Portugal - Introduction to Silverlight 4.0 16x9TechDays 2010 Portugal - Introduction to Silverlight 4.0 16x9
TechDays 2010 Portugal - Introduction to Silverlight 4.0 16x9
Nuno Godinho
 

Mais procurados (20)

Bots presentation
Bots presentationBots presentation
Bots presentation
 
Solvion Trendwerkstatt - Microsoft Azure + Bots
Solvion Trendwerkstatt - Microsoft Azure + BotsSolvion Trendwerkstatt - Microsoft Azure + Bots
Solvion Trendwerkstatt - Microsoft Azure + Bots
 
Artificial Intelligent: Intelligent Bot With Microsoft Bot Framework & Azure
Artificial Intelligent: Intelligent Bot With Microsoft Bot Framework & AzureArtificial Intelligent: Intelligent Bot With Microsoft Bot Framework & Azure
Artificial Intelligent: Intelligent Bot With Microsoft Bot Framework & Azure
 
Clever data: building a chatbot from your database
Clever data: building a chatbot from your databaseClever data: building a chatbot from your database
Clever data: building a chatbot from your database
 
Salesforce touch
Salesforce touchSalesforce touch
Salesforce touch
 
Global ai bootcamp_codrina
Global ai bootcamp_codrinaGlobal ai bootcamp_codrina
Global ai bootcamp_codrina
 
Mobile SDK + Cordova
Mobile SDK + CordovaMobile SDK + Cordova
Mobile SDK + Cordova
 
Botgun
BotgunBotgun
Botgun
 
DevOpsConf2021_CICD for Xamarin developers with GitHub Actions and AppCenter....
DevOpsConf2021_CICD for Xamarin developers with GitHub Actions and AppCenter....DevOpsConf2021_CICD for Xamarin developers with GitHub Actions and AppCenter....
DevOpsConf2021_CICD for Xamarin developers with GitHub Actions and AppCenter....
 
Bringing AI to the edge: On-premise Azure Cognitive Services
Bringing AI to the edge: On-premise Azure Cognitive Services Bringing AI to the edge: On-premise Azure Cognitive Services
Bringing AI to the edge: On-premise Azure Cognitive Services
 
Mobile Apps Develpment - A Comparison
Mobile Apps Develpment - A ComparisonMobile Apps Develpment - A Comparison
Mobile Apps Develpment - A Comparison
 
Cross platform mobile application architecture for enterprise
Cross platform mobile application architecture for enterpriseCross platform mobile application architecture for enterprise
Cross platform mobile application architecture for enterprise
 
Chatbot Development Using Bot Framework and Xamarin
Chatbot Development Using Bot Framework and XamarinChatbot Development Using Bot Framework and Xamarin
Chatbot Development Using Bot Framework and Xamarin
 
Building a Rich Social Network Application
Building a Rich Social Network ApplicationBuilding a Rich Social Network Application
Building a Rich Social Network Application
 
New Age Applications with Kendo UI
New Age Applications with Kendo UINew Age Applications with Kendo UI
New Age Applications with Kendo UI
 
TechDays 2010 Portugal - Introduction to Silverlight 4.0 16x9
TechDays 2010 Portugal - Introduction to Silverlight 4.0 16x9TechDays 2010 Portugal - Introduction to Silverlight 4.0 16x9
TechDays 2010 Portugal - Introduction to Silverlight 4.0 16x9
 
Creating personalized cross platform mobile apps with the Sitecore Mobile SDK
Creating personalized cross platform mobile apps with the Sitecore Mobile SDKCreating personalized cross platform mobile apps with the Sitecore Mobile SDK
Creating personalized cross platform mobile apps with the Sitecore Mobile SDK
 
Hybrid Applications with WebSphere commerce and Worklight
Hybrid Applications with WebSphere commerce and WorklightHybrid Applications with WebSphere commerce and Worklight
Hybrid Applications with WebSphere commerce and Worklight
 
The lifecycle of a chatbot
The lifecycle of a chatbotThe lifecycle of a chatbot
The lifecycle of a chatbot
 
Developing Applications with Windows Phone 7
Developing Applications with Windows Phone 7Developing Applications with Windows Phone 7
Developing Applications with Windows Phone 7
 

Semelhante a PDCConf2021 - Serverless WhatsApp Chatbot with Azure AI.pptx

.NET Fest 2018. Олександр Краковецький. Microsoft AI: створюємо програмні ріш...
.NET Fest 2018. Олександр Краковецький. Microsoft AI: створюємо програмні ріш....NET Fest 2018. Олександр Краковецький. Microsoft AI: створюємо програмні ріш...
.NET Fest 2018. Олександр Краковецький. Microsoft AI: створюємо програмні ріш...
NETFest
 

Semelhante a PDCConf2021 - Serverless WhatsApp Chatbot with Azure AI.pptx (20)

Global Azure2021 Verona.pptx
Global Azure2021 Verona.pptxGlobal Azure2021 Verona.pptx
Global Azure2021 Verona.pptx
 
Microsoft teams & bot framework - A developer's perspective
Microsoft teams & bot framework - A developer's perspectiveMicrosoft teams & bot framework - A developer's perspective
Microsoft teams & bot framework - A developer's perspective
 
ESPC Teams week Microsoft Teams & Bot Framework – a Developer’s Perspective
ESPC Teams week Microsoft Teams & Bot Framework – a Developer’s PerspectiveESPC Teams week Microsoft Teams & Bot Framework – a Developer’s Perspective
ESPC Teams week Microsoft Teams & Bot Framework – a Developer’s Perspective
 
Build a Great Conversationalist
Build a Great ConversationalistBuild a Great Conversationalist
Build a Great Conversationalist
 
Tech talk - Microsoft A.I.
Tech talk - Microsoft A.I.Tech talk - Microsoft A.I.
Tech talk - Microsoft A.I.
 
Microsoft Teams Development - Conversational AI
Microsoft Teams Development - Conversational AIMicrosoft Teams Development - Conversational AI
Microsoft Teams Development - Conversational AI
 
Image Recognition in WhatsApp chatbots.pptx
Image Recognition in WhatsApp chatbots.pptxImage Recognition in WhatsApp chatbots.pptx
Image Recognition in WhatsApp chatbots.pptx
 
SharePoint Saturday Belgium 2018 A 21st century lunch bell
SharePoint Saturday Belgium 2018 A 21st century lunch bellSharePoint Saturday Belgium 2018 A 21st century lunch bell
SharePoint Saturday Belgium 2018 A 21st century lunch bell
 
SharePoint Saturday Warsaw - Conversational AI applications in Microsoft Teams
SharePoint Saturday Warsaw - Conversational AI applications in Microsoft TeamsSharePoint Saturday Warsaw - Conversational AI applications in Microsoft Teams
SharePoint Saturday Warsaw - Conversational AI applications in Microsoft Teams
 
Practical Microsoft Bot Framework for Office 365 developers
Practical Microsoft Bot Framework for Office 365 developersPractical Microsoft Bot Framework for Office 365 developers
Practical Microsoft Bot Framework for Office 365 developers
 
Intelligent Assistant with Microsoft BotFramework
Intelligent Assistant with Microsoft BotFrameworkIntelligent Assistant with Microsoft BotFramework
Intelligent Assistant with Microsoft BotFramework
 
Bots in the Enterprise
Bots in the Enterprise Bots in the Enterprise
Bots in the Enterprise
 
.NET Fest 2018. Олександр Краковецький. Microsoft AI: створюємо програмні ріш...
.NET Fest 2018. Олександр Краковецький. Microsoft AI: створюємо програмні ріш....NET Fest 2018. Олександр Краковецький. Microsoft AI: створюємо програмні ріш...
.NET Fest 2018. Олександр Краковецький. Microsoft AI: створюємо програмні ріш...
 
Build an Intelligent Bot (Node.js)
Build an Intelligent Bot (Node.js)Build an Intelligent Bot (Node.js)
Build an Intelligent Bot (Node.js)
 
Governance di una Conversational AI
Governance di una Conversational AIGovernance di una Conversational AI
Governance di una Conversational AI
 
CCI2019 - Governance di una Conversational AI
CCI2019 - Governance di una Conversational AICCI2019 - Governance di una Conversational AI
CCI2019 - Governance di una Conversational AI
 
Overview of azure microservices and the impact on integration
Overview of azure microservices and the impact on integrationOverview of azure microservices and the impact on integration
Overview of azure microservices and the impact on integration
 
OUGN 2018 - Chatbot and the need to integrate
OUGN 2018 - Chatbot and the need to integrateOUGN 2018 - Chatbot and the need to integrate
OUGN 2018 - Chatbot and the need to integrate
 
MR + AI: Machine Learning for Language in HoloLens & VR Apps
MR + AI: Machine Learning for Language in HoloLens & VR AppsMR + AI: Machine Learning for Language in HoloLens & VR Apps
MR + AI: Machine Learning for Language in HoloLens & VR Apps
 
SharePoint Saturday Belgium 2019 Unite your modern workplace with microsofst...
SharePoint Saturday Belgium 2019  Unite your modern workplace with microsofst...SharePoint Saturday Belgium 2019  Unite your modern workplace with microsofst...
SharePoint Saturday Belgium 2019 Unite your modern workplace with microsofst...
 

Mais de Luis Beltran

Mais de Luis Beltran (20)

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

Último

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Último (20)

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 

PDCConf2021 - Serverless WhatsApp Chatbot with Azure AI.pptx

  • 1. Serverless Image Recognition in WhatsApp chatbot with Azure AI Luis Beltrán Microsoft MVP | Zlín, Czech Republic https://www.linkedin.com/company/pdcconf @PDCConf https://www.facebook.com/pdcconf
  • 2. Thank you to all our generous sponsors Supported by Powered by Organized by Sponsored by
  • 3. Luis Beltrán Serverless Image Recognition in WhatsApp chatbot with Azure AI @darkicebeam /luisantoniobeltran Powered By September 16th & 17th Online Event International Conference Speaker
  • 4. Agenda • Chatbots • LUIS: Language Understanding Intelligent Service • Computer Vision • Twilio API for WhatsApp • Azure Functions • Demo
  • 5. What is a chatbot? • 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.
  • 6. How does a chatbot work? Chatbot: What is a Chatbot? Why are Chatbots Important? https://expertsystem.com/chatbot/
  • 7. Advantages of chatbots • 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.
  • 8. Data exploration / collection Simple and repetitive solutions If it is simple and repetitive, it can be coded. Bots can speed up the service process
  • 9.
  • 10. LUIS: Language Understanding Intelligent Service • Natural Language Processing • 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/
  • 11.
  • 12. Demo 1 – LUIS
  • 13.
  • 14.
  • 15.
  • 16.
  • 17. Computer Vision • 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.
  • 18. Object detection Brand identification Face detection OCR – Optical Character Recognition
  • 19. Image Analysis • The identification of “tags” that catalog the content of an image. • The generation of descriptive subtitles that summarize the scene shown in the image.
  • 21. Demo 2 – Computer Vision
  • 22. What is WhatsApp? • A free messaging application available for smartphones (Android / iOS), web (WhatsApp Web), and desktop (Windows / Mac). • Capabilities: • Sending text messages, photos, videos, documents, voice messages and stickers, • Making and receiving audio and video calls. • Allows you to manage chat groups. • Offline messages • Two versions are available: Messenger & Business
  • 23.
  • 24. 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
  • 26. Twilio • 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
  • 27. Twilio API for WhatsApp • Access to the WhatsApp Business API. • Simple to use and implement. • Test and design your app in a sandbox environment. • Currently in Preview version • Available on various platforms and programming languages https://www.twilio.com/whatsapp https://www.twilio.com/docs/whatsapp/api
  • 28.
  • 29.
  • 30.
  • 31. Demo 3 – Twilio Dashboard
  • 32. Code Events + data Azure Functions Azure Functions
  • 33. Serverless computing Event-driven / Instant scale Micro-billing Abstraction of servers $ Focused on business logic Faster time to market Reduced DevOps
  • 34. Your code runs when a (previously-specified) event occurs Blob Storage Cosmos DB Event Hub HTTP Queues Service Bus Timer Webhook File Table Excel OneDrive Email Mobile app Notification Más… Photo taken and sent r Upload it to blob storage PP r Produce scalated images
  • 35. 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" } ] }
  • 36.
  • 37.
  • 38. Demo 4 – Azure Functions
  • 39.
  • 40. Final Demo – Integration
  • 42. 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
  • 43. Towards a responsible AI • Transparency • Clarity • Transfer to a human • Cultural norms • Trustworthy • Privacy • Data security • Accessibility • Responsibility
  • 44.