4. #AzConfDev
Luis Beltrán
Researcher at Tomas Bata University in Zlín,
Czech Republic
Lecturer at Tecnologico Nacional de Mexico en
Celaya, Mexico
Microsoft MVP in AI and Developer Technologies
10. #AzConfDev
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.
16. #AzConfDev
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/
https://aidemos.microsoft.com/luis
25. #AzConfDev
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
27. #AzConfDev
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
36. #AzConfDev
Functions
Your code runs when a
(previously-specified)
event occurs
Triggers
Blob Storage
Cosmos DB
Event Hub
HTTP
Queues
Service Bus
Timer
Webhook
Bindings
File
Table
Excel
OneDrive
Email
Mobile app
Notification
…
Photo taken and sent r
Upload it to
blob storage
Produce scalated images
44. #AzConfDev
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
45. #AzConfDev
Towards a responsible AI
Transparency
Clarity
Transfer to a human
Cultural norms
Trustworthy
Privacy
Data security
Accessibility
Responsibility
Before that, just a brief introduction about ourselves. I'm Luis, a Microsoft MVP in AI and Developer Technologies from Mexico. I work as a lecturer at Tecnologico Nacional de Mexico un Celaya although I'm currently pursuing my PhD at Tomas Bata University in Zlín, Czech Republic. I enjoy talking about cloud computing with Azure, mobile applications development with Xamarin, Artificial Intelligence with deep neural networks, and .NET as a platform in general. You can find me on twitter as @darkicebeam and here you also have my email in case you want to reach out and talk about any of these topics. My colleague Carla will introduce herself a bit later.
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.
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.
ML: Uses mathematical algorithms that can teach itself to evolve while data changes.
Supervised Labeled data.
Non-supervised Pattern discovery using non-labeled datasets.
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.
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
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?
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
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